PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Miraz Mac   PHP Deep Fry   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Deep Fry
Apply an effect to an image to make it look fried
Author: By
Last change:
Date: 4 years ago
Size: 637 bytes
 

Contents

Class file image Download

PHP Deep Fryer

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

Installation

composer require mirazmac/php-deep-fry

Usage

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
$fryer->fry()
     // Extreme!
      ->moreDeepNibba()
    // Lower quality results in better frying
      ->quality(20)
    // Output to the browser
    ->output();

Result

![](https://i.postimg.cc/x15MrtZY/preview.jpg)