Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

poppa/PLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLib (Poppa PHP Library) [ARCHIVED - LEGACY CODE]

This is a set of classes and functions to make everyday PHP programming a little bit easier.

Usage

It's simple to use. Just include PLib.php and then import the functionality you want.

// Include PLib.php
require_once "path/to/PLib.php";

// Will include image.php
PLib\import ('image');

// Instantiate a new Image object
$img = new PLib\Image ('path/to/image.jpg');

// Makes a copy of the image, crops it around the center and turns it into
// grayscale
$img2 = $img->copy ('path/to/image-copy.jpg')->crop_center (300, 300)->grayscale ();

// Save the changes
$img2->save ();

There might be some more examples in the example directory.

About

Poppa PHP Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages