PHP code example of bookingbat / application

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

    

bookingbat / application example snippets

`
php --server=localhost:8000 --docroot="public" &
echo ' phpinfo();' > public/phpinfo.php
#find the php.ini path and load xdebug like you normally do
ps aux | grep php
# (find the PID of the webserver & kill it, then restart it)