PHP code example of serjoscha87 / php-request-mapper

1. Go to this page and download the library: Download serjoscha87/php-request-mapper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

serjoscha87 / php-request-mapper example snippets


index.php
pages
- test.php
- home.php
- 404.php
- foobar (dir)
  - foobar.php
  - abc.php
  - detail.php