Nimble is a super fast mini-framework for PHP built on top of optional loose components.
Clone the repository
$ git clone [email protected]:neoighodaro/nimble.git
CD into your projects directory and run composer install
if you don't have composer installed, install it.
php composer install
Start building. Some of the components are Illuminate components, each of them have a readme file in their directory on how to use the component or a link to the authors documentation.
You can easily get up and running. Using PHP's in-built php server. cd to your projects directory and run
$ php -S localhost:8234 -t public
Now you open http://localhost:8234 in your browser to see your application.
Open your routes.php
file, and add a new route
$router->get('/greetings', function () {
return 'Hello world';
});
Visit http://localhost:8234/greetings. You're done.