PHP Classes

PHP Deep Fry: Apply an effect to an image to make it look fried

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 98 All time: 9,789 This week: 310Up
Version License PHP version Categories
php-deep-fry 1.0.0MIT/X Consortium ...5PHP 5, Graphics


This class can be used to apply an effect to an image to make it look fried.

It takes the path of an image file as parameter and creates a new image based on that applying a visual effect that makes it look like as if it was fried.

The resulting image may be stored in another file or be served for download.

Innovation Award
PHP Programming Innovation award nominee
November 2019
Number 10
Frying is a visual effect that can be applied to an image to make it look as if it was burned with some kind of heat source.

This class can process an image and alter its appearance to make it look as the subjects on the image were fried.

Manuel Lemos
Picture of Miraz Mac
  Performance   Level  
Name: Miraz Mac <contact>
Classes: 13 packages by
Country: Bangladesh Bangladesh
Age: 29
All time rank: 201929 in Bangladesh Bangladesh
Week rank: 388 Up9 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 5x



require '../vendor/autoload.php';

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


PHP Deep Fryer

A Deep Fryer written in PHP to cook some smokin' hot memes!


composer require mirazmac/php-deep-fry


First of all you need to create an instance of the fryer. The fryer expects path to a valid image file. For detailed usage check usage folder.

require '../vendor/autoload.php';

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

// Fry
     // Extreme!
    // Lower quality results in better frying
    // Output to the browser



  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Files folder imageusage (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file Fryer.php Class Class source

  Files folder image Files  /  usage  
File Role Description
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Image file meme.jpg Icon Icon image

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,789
This week:310Up