Download the PHP package noobtrader/image-generator without Composer
On this page you can find all versions of the php package noobtrader/image-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download noobtrader/image-generator
More information about noobtrader/image-generator
Files in noobtrader/image-generator
Package image-generator
Short Description A image generator package for laravel application
License MIT
Informations about the package image-generator
ProfileImageGenerator
Introduction
The ProfileImageGenerator package is a Laravel package for generating customizable images. It provides configuration options for image dimensions, fonts, and more.
Supported Versions
- Laravel 10
- Laravel 11
Installation
Step 1: Install via Composer
Step 2: Publish Vendor Assets
Laravel 11
-
Add the service provider in
bootstrap/providers.php
: -
Run the vendor publish command:
- Select the Noobtrader\Imagegenerator\ImageGenerateServiceProvider (option
7
in the list).
Output:
- Select the Noobtrader\Imagegenerator\ImageGenerateServiceProvider (option
Laravel 10
-
Add the service provider in
config/app.php
underproviders
: -
Add the facade alias in
config/app.php
underaliases
: - Run the vendor publish command:
Configuration
After publishing the vendor assets, the default configuration file profile-imagegenerator.php
is created in the config
folder.
Default Configuration (config/profile-imagegenerator.php
):
Customizing Configuration via .env
You can override the configuration by adding the following variables to your .env
file:
Using Custom Fonts
- Download the desired font file (e.g.,
LobsterTwo-Regular.ttf
). - Place the font file in the
public/imagegenerator/fonts
directory. - Update the
.env
file:
Usage
Generate an image using the generateImage
method:
License
This package is licensed under MIT License.
GitHub Repository
You can find the GitHub repository for this package here.
All versions of image-generator with dependencies
illuminate/support Version ^10.0 || ^11.0
illuminate/filesystem Version 11.x-dev