Skip to content

Gameye98/simpleimage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simpleimage

Auto generate images for fanspage

result images

Installation

OS X & Linux:

git clone https://github.com/BlackHoleSecurity/simpleimage.git
cd simpleimage
composer install

Windows:

git clone https://github.com/BlackHoleSecurity/simpleimage.git
cd simpleimage
composer install

Setup

Edit and config your api key at src/Unsplash.php or use default background instead src/assets

Use it on your project

require __DIR__.'/vendor/autoload.php';
use Bhsec\SimpleImage\Gambar;
use Bhsec\SimpleImage\Unsplash;
$draw = Gambar('Hello world', 'Dark', 'FSXE300.ttf'); // text, unsplash, font
$draw->getResult('result.png', image/png', 100); // outname, mime, quality

Meta

Cvar1984 – @E13371984gedzsarjuncomuniti@gmail.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/BlackHoleSecurity/simpleimage

Contributing

  1. Fork it (https://github.com/BlackHoleSecurity/simpleimage/)
  2. Add your changes (git add foo/bar)
  3. Commit your changes (git commit -m 'Add some fooBar')
  4. Push to the branch (git push comunity master)
  5. Create a new Pull Request

About

Images generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%