Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/neoighodaro/nimble
- Owner: neoighodaro
- License: mit
- Created: 2017-01-15T17:55:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T19:31:45.000Z (about 2 years ago)
- Last Synced: 2024-10-13T12:27:38.140Z (4 months ago)
- Topics: framework, php
- Language: PHP
- Homepage:
- Size: 85 KB
- Stars: 52
- Watchers: 6
- 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 [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.