https://github.com/neoighodaro/nimble
Fast PHP framework made with very loose optional components.
https://github.com/neoighodaro/nimble
framework php
Last synced: 10 months ago
JSON representation
Fast PHP framework made with very loose optional components.
- Host: GitHub
- URL: https://github.com/neoighodaro/nimble
- Owner: neoighodaro
- License: mit
- Created: 2017-01-15T17:55:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T19:31:45.000Z (over 3 years ago)
- Last Synced: 2025-03-18T03:22:33.595Z (about 1 year ago)
- Topics: framework, php
- Language: PHP
- Homepage:
- Size: 85 KB
- Stars: 51
- Watchers: 5
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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 git@github.com: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.