1- # Routing
1+ [ ![ Build Status] ( https://app.travis-ci.com/Neuron-PHP/routing.svg?token=F8zCwpT7x7Res7J2N4vF&branch=master )] ( https://app.travis-ci.com/Neuron-PHP/routing )
2+ # Neuron-PHP Routing
23
3- The neuron router is a lightweight router/dispatcher is the vein of Ruby's Sinatra
4+ ## Overview
5+
6+ The neuron router is a lightweight router/dispatcher is the vein of Ruby's Sinatra
47or Python's Flask. It allows for a very quick method for creating an app
58using restful routes or to add them to an existing application.
69
@@ -11,21 +14,12 @@ using restful routes or to add them to an existing application.
1114
1215## Installation
1316
14- The best way to install Notion is via [ Composer] ( http://getcomposer.org )
15-
16- Our package is located [ here] ( https://packagist.org/packages/neuron-php/routing )
17-
18- Install Composer
19-
20- curl -sS https://getcomposer.org/installer | php
17+ Install php composer from https://getcomposer.org/
2118
22- Add the Routing Package
19+ Install the neuron routing component:
2320
24- php composer.phar require neuron-php/routing
21+ composer require neuron-php/routing
2522
26- Install Later Updates
27-
28- composer.phar update
2923
3024## .htaccess
3125This example .htaccess file shows how to get and pass the route
@@ -43,7 +37,7 @@ Here is an example of a fully functional application that processes
4337several routes including one with a variable.
4438
4539 <?php
46- require_once '../ vendor/autoload.php';
40+ require_once 'vendor/autoload.php';
4741
4842 Route::get( '/',
4943 function()
@@ -85,3 +79,7 @@ several routes including one with a variable.
8579
8680If present, the extra element is merged into the parameters array
8781before it is passed to the routes closure.
82+
83+ # More Information
84+
85+ You can read more about the Neuron components at [ neuronphp.com] ( http://neuronphp.com )
0 commit comments