mirazmac/php-deep-fry

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

v1.0 2018-11-06 09:58 UTC

This package is auto-updated.

Last update: 2024-11-06 23:32:17 UTC


README

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