PHP code example of mirazmac / php-deep-fry

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

    

mirazmac / php-deep-fry example snippets




$fryer = new MirazMac\DeepFry\Fryer('meme.jpg');

// Fry
$fryer->fry()
     // Extreme!
      ->moreDeepNibba()
    // Lower quality results in better frying
      ->quality(20)
    // Output to the browser
    ->output();
shell
composer