Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neoighodaro/nimble

Fast PHP framework made with very loose optional components.
https://github.com/neoighodaro/nimble

framework php

Last synced: 3 months ago
JSON representation

Fast PHP framework made with very loose optional components.

Awesome Lists containing this project

README

        

Nimble is a super fast mini-framework for PHP built on top of optional loose components.




### Installation

Clone the repository

```shell
$ 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.

```shell
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.

### Running your application
You can easily get up and running. Using PHP's in-built php server. cd to your projects directory and run

```shell
$ php -S localhost:8234 -t public
```

Now you open [http://localhost:8234](http://localhost:8234) in your browser to see your application.

### Your first hello world.
Open your `routes.php` file, and add a new route

```php
$router->get('/greetings', function () {
return 'Hello world';
});
```

Visit [http://localhost:8234/greetings](http://localhost:8234/greetings). You're done.




Creator |
Contributors