Download the PHP package binafy/php-color-generator without Composer
On this page you can find all versions of the php package binafy/php-color-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download binafy/php-color-generator
More information about binafy/php-color-generator
Files in binafy/php-color-generator
Package php-color-generator
Short Description Generate colors with PHP
License MIT
Homepage https://github.com/binafy/php-color-generator
Informations about the package php-color-generator
PHP Color Generator

Introduction
The PHP Color Generator
is a versatile PHP package designed for easy and efficient color manipulation. Whether you're working with color schemes, themes, or UI designs, this package provides a set of utilities to convert, darken, lighten, and generate shades or tints of colors. It supports the conversion of hex to RGB and vice versa, allows for adjusting the lightness or darkness of colors, and can generate a series of tints or shades based on a base color. Ideal for designers and developers who need to programmatically handle color variations for dynamic interfaces or applications.
Requirements
Installation
You can install the package with Composer.
Usage
hexToRGB(string $hex): array
If you may convert hex to RGB, you need to use hexToRGB()
method:
rgbToHex(string $hex): string
If you may convert RGB to hex, you need to use rgbToHex()
method:
darken(array $rgb, float $percentage): array
If you may get darken rgb color, you can use darken()
method:
lighten(array $rgb, float $percentage): array
If you may get lighten rgb color, you can use lighten()
method:
generateShades(string $hex, int $times): array
If you want to generate shades from hex color, you can use generateShades()
method:
generateTints(string $hex, int $times): array
If you want to generate tints from hex color, you can use generateTints()
method:
generateDarkBrightColors(string $hex, int $times = 10): array
If you want to generate tints, shades from hex color, you can use generateDarkBrightColors()
method:
Security
If you discover any security-related issues, please email [email protected]
instead of using the issue tracker.
Changelog
The changelog can be found in the CHANGELOG.md
file of the GitHub repository. It lists the changes, bug fixes, and improvements made to each version of the Laravel User Monitoring package.
License
The MIT License (MIT). Please see License File for more information.
Star History
Conclusion
Congratulations! You have successfully installed and integrated the Laravel User Monitoring package into your Laravel application. By effectively logging and analyzing user activity, you can gain valuable insights that can help you improve your application's user experience and performance. If you have any questions or need further assistance, please refer to the documentation or seek help from the package's GitHub repository. Happy monitoring!
Donate
If this package is helpful for you, you can buy a coffee for me :) ❤️
- Iranian Gateway: https://daramet.com/milwad_khosravi
- Paypal Gateway: SOON
- MetaMask Address:
0xf208a562c5a93DEf8450b656c3dbc1d0a53BDE58