sensorario / ruotino-di-scorta
v0.0.6
2023-07-20 22:08 UTC
Requires
- sensorario/ruotino: dev-main#baf5
README
Create the project
composer create-project sensorario/ruotino-di-scorta
Update config/routes.php
<?php return [ '/' => App\HomeController::class ];
Create the controller
<?php namespace App; class HomeController implements Command { public function get($c) { $c->setResponse([ 'It' => 'works!!', ]); } }
Run php built-in server
php -S localhost:8888 -t public
and then navigate into http://localhost:8888