PHP code example of fas / example

1. Go to this page and download the library: Download fas/example 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/ */

    

fas / example example snippets


public/.htaccess         # standard htaccess for sending requests to index.php
public/index.php         # entrypoint for php application
src/ContainerFactory.php # di container setup
src/RouterFactory.php    # routes setup