1
0
mirror of https://github.com/dannyvankooten/AltoRouter.git synced 2025-02-16 18:24:36 +01:00

Merge pull request from koenpunt/examples

Added examples directory and moved index.php example
This commit is contained in:
niahoo osef 2014-03-08 16:34:47 +01:00
commit c3c166bd76
3 changed files with 1 additions and 1 deletions

@ -12,7 +12,7 @@ AltoRouter is a small but powerful routing class for PHP 5.3+, heavily inspired
2. Install AltoRouter using Composer or manually
2. Setup URL rewriting so that all requests are handled by **index.php**
3. Create an instance of AltoRouter, map your routes and match a request.
4. Have a look at the example `index.php` file for a better understanding on how to use AltoRouter(index.php).
4. Have a look at the basic example in the `examples` directory for a better understanding on how to use AltoRouter.
## Routing
```php