Download the PHP package gmail-logo/generator without Composer

On this page you can find all versions of the php package gmail-logo/generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package generator

GmailLogo

Library for dynamically creating user logos on PHP, based on Laravel. This lib may be used with another framework or event without, just change input class type from Laravel Model App\User to another. You event may not use models at all, simpty give the text that should be putted into the image.

See documentation here
Installation:



Usage:

Lib has two main classes: Generator.php and Painter.php. Painter is using methods of generators to generate custom images with color and text you like.

Also Painter contains first example of generating gmail logo: method typical(). Using this method you may just generate typical gmail logo. You just need to do so:

This will output with necessary image.

If you need to generate some custom images, you may create new class which will extend Painter and you code may look like this:

That is!!


Using this package you can do things like this:

This will create typical gmail logo for John Doe :D

This video will help you to understand how to use tha package: Watch the video

Examples of images which could be generated by this package:
John Doe
David K.
David K. Jenny
Mary


All versions of generator with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gmail-logo/generator contains the following files

Loading the files please wait ....