PHP code example of phpneeds / phpneeds

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

    

phpneeds / phpneeds example snippets


rewrite "^/assets/images/(.*)-w=([0-9]{1,4})-h=([0-9]{1,4})-q=([0-9]{1,4})-c=([0-1]{1,4}).jpg$" /assets/images/image.php?f=$1&w=$2&h=$3&q=$4&c=$5;