Download the PHP package masokky/quotemaker without Composer
On this page you can find all versions of the php package masokky/quotemaker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download masokky/quotemaker
More information about masokky/quotemaker
Files in masokky/quotemaker
Download masokky/quotemaker
More information about masokky/quotemaker
Files in masokky/quotemaker
Vendor masokky
Package quotemaker
Short Description Simple library to create quote image
License MIT
Package quotemaker
Short Description Simple library to create quote image
License MIT
Please rate this library. Is it a good library?
Informations about the package quotemaker
QuoteMaker
QuoteMaker is simple library to create quote image
Example Result
Installation
composer require masokky/quotemaker
If you won't use composer, click here with the simple installation
Usage
Available Methods
setBackground($path)
$path
(string) - Location of background imagesetBackgroundFromUnsplash($client_id,$keyword)
You can search and use image from unsplash.com
Before use this function, you should create app to get "client_id" for accessing the API
Because there is a limit per hour for each "client_id", so you can add two or more "client_id" to increase the limit$client_id
(array) - The access key of unsplash app$keyword
(string) - Keyword to search an image, defaultrandom
quoteText($text)
$text
(string) - Set the quote text. Use\n
to add line breaksetQuoteFont($path)
$path
(string) - Set the custom quote font*setQuoteFontSize($size)
$size
(int) - Set the custom quote font size*watermarkText($text)
$text
(string) - Set the watermark text, defaultnull
setWatermarkFont($path)
$path
(string) - Set the custom watermark font*setWatermarkFontSize($size)
$size
(int) - Set the custom watermark font size*toScreen()
Output the result to the screen
toFile($file)
Save the result to image file
*Default see the example result
All versions of quotemaker with dependencies
PHP Build Version
Package Version
The package masokky/quotemaker contains the following files
Loading the files please wait ....