Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irazasyed/laravel-identicon
👤 Laravel Identicon Package
https://github.com/irazasyed/laravel-identicon
composer composer-packages gravatar identicon identicon-library laravel laravel-5-package laravel-6-package laravel-7-package laravel-8-package laravel-identicon laravel-package lumen package php
Last synced: 10 days ago
JSON representation
👤 Laravel Identicon Package
- Host: GitHub
- URL: https://github.com/irazasyed/laravel-identicon
- Owner: irazasyed
- License: mit
- Created: 2014-09-07T07:35:34.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T21:01:57.000Z (4 months ago)
- Last Synced: 2024-10-14T22:10:32.794Z (22 days ago)
- Topics: composer, composer-packages, gravatar, identicon, identicon-library, laravel, laravel-5-package, laravel-6-package, laravel-7-package, laravel-8-package, laravel-identicon, laravel-package, lumen, package, php
- Language: PHP
- Homepage: https://bit.ly/laravel-identicon
- Size: 44.9 KB
- Stars: 22
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Laravel-Identicon Package
=========================
[![Join PHP Chat][ico-phpchat]][link-phpchat]
[![Chat on Telegram][ico-telegram]][link-telegram]
[![Laravel Package][ico-laravel]][link-repo]
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Total Downloads][ico-downloads]][link-downloads]> Laravel [Identicon][link-identicon] Package - Extends Identicon Library and Adds Support for Seamless Usage with Laravel.
## Quick start
### Installation
```bash
$ composer require irazasyed/laravel-identicon
```## Usage
This Package adds Laravel Support to [Identicon][link-identicon] PHP Library. It simply extends the library as well as optimized for usage with Laravel. So all the methods listed [here][link-identicon] are available and will work seamlessly.
### Example Methods
Generate and Display an identicon image:
```php
Identicon::displayImage('foo');
```Generate and get the image data
```php
$imageData = Identicon::getImageData('bar');
```Generate and get the base 64 image uri ready for integrate into an HTML img tag. The below example is using blade templating
```
```...
And all the other remaining methods from the main library.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.
## Security
If you discover any security related issues, please email `syed at lukonet.com` instead of using the issue tracker.
## Credits
- [Syed][link-author]
- [All Contributors][link-contributors]## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Firazasyed%2Flaravel-identicon.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Firazasyed%2Flaravel-identicon?ref=badge_large)
[ico-phpchat]: https://img.shields.io/badge/Slack-PHP%20Chat-5c6aaa.svg?style=flat-square&logo=slack&labelColor=4A154B
[ico-telegram]: https://img.shields.io/badge/@PHPChatCo-2CA5E0.svg?style=flat-square&logo=telegram&label=Telegram
[ico-laravel]: https://img.shields.io/badge/Laravel-6~8-FF2D20.svg?style=flat-square&logo=laravel&labelColor=black&logoColor=white
[ico-version]: https://img.shields.io/packagist/v/irazasyed/laravel-identicon.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/irazasyed/laravel-identicon.svg?style=flat-square[link-phpchat]: https://phpchat.co/?ref=laravel-identicon
[link-telegram]: https://t.me/PHPChatCo
[link-repo]: https://github.com/irazasyed/laravel-identicon
[link-packagist]: https://packagist.org/packages/irazasyed/laravel-identicon
[link-downloads]: https://packagist.org/packages/irazasyed/laravel-identicon
[link-author]: https://github.com/irazasyed
[link-contributors]: ../../contributors
[link-identicon]: https://github.com/yzalis/Identicon