This commit is contained in:
2025-08-21 18:41:11 +07:00
parent beaf55f00b
commit c841250933

View File

@@ -12,7 +12,7 @@ Execute: `composer require mirzaev/minimal`
## Usage ## Usage
*index.php* *index.php*
```php ```php
// Initializing core // Initializing the core
$core = new core(namespace: __NAMESPACE__); $core = new core(namespace: __NAMESPACE__);
// Initializing routes // Initializing routes
@@ -25,7 +25,7 @@ $core->router
->write('/$categories', new route('categories', 'read'), 'GET') // Collector (since 0.3.0) ->write('/$categories', new route('categories', 'read'), 'GET') // Collector (since 0.3.0)
; ;
// Handling request // Handling the request
$core->start(); $core->start();
``` ```