scrawler / app
scrawler framework main app container
v2.1.4
2024-10-26 12:16 UTC
Requires
- phlak/config: ^8.0
- php-di/php-di: ^7.0
- scrawler/http: ^2.0
- scrawler/router: ^4.2
- vlucas/phpdotenv: ^5.6
Requires (Dev)
- pestphp/pest: ^3.2
- phpstan/phpstan: ^1.12
- rector/rector: ^1.2
README
Scrawler App
🔥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();