PHP code example of lawngnome / phpdbg-fake-request
1. Go to this page and download the library: Download lawngnome/phpdbg-fake-request 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/ */
lawngnome / phpdbg-fake-request example snippets
sh
./vendor/bin/fake-request GET / public/index.php
sh
./vendor/bin/fake-request GET / public/index.php -g 'page=2'
./vendor/bin/fake-request POST / public/index.php -p 'page=2'
sh
./vendor/bin/fake-request GET / public/index.php -H 'X-Foo: bar'