Skip to content

Create simple but powerful web apps and APIs quickly, with minimum lines of code

License

Notifications You must be signed in to change notification settings

scrawler-labs/scrawler

Repository files navigation

Scrawler App

GitHub Workflow Status Codecov Scrutinizer Code Quality PHPStan Enabled Packagist Version Packagist License



🔥Create simple but powerful web apps and APIs quickly, with minumum lines of code🔥
🇮🇳 Made in India 🇮🇳

💻 Installation

You can install Scrawler App via Composer. If you don't have composer installed , you can download composer from here

composer require scrawler/app

or if you want to start with an mvc template

composer create-project scrawler/mvc <project-name>

✨ Basic usage

<?php

require __DIR__ . '/vendor/autoload.php';

app()->get('/', function () {
  return 'Hello World'
});

app()->run();

Auto Routing

<?php

require __DIR__ . '/vendor/autoload.php';

app()->autoRegister('/dir/of/controller','\\My\\Namespace')

app()->run();