scrawler framework main app container

v2.1.4 2024-10-26 12:16 UTC

README

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();