{"id":18578326,"url":"https://github.com/astrotomic/laravel-unavatar","last_synced_at":"2025-08-08T02:42:33.702Z","repository":{"id":42367974,"uuid":"242217544","full_name":"Astrotomic/laravel-unavatar","owner":"Astrotomic","description":"This package provides a Laravel wrapper for unavatar.","archived":false,"fork":false,"pushed_at":"2024-06-25T14:15:32.000Z","size":64,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-30T14:22:11.217Z","etag":null,"topics":["avatar","clearbit","deviantart","facebook","gitthub","gravatar","hacktoberfest","instagram","laravel-unavatar","soundcloud","telegram","treeware","twitter","unavatar","youtube"],"latest_commit_sha":null,"homepage":"https://unavatar.now.sh/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Astrotomic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Gummibeer","SarahSibert"],"issuehunt":"astrotomic","custom":["https://forest.astrotomic.info"]}},"created_at":"2020-02-21T19:42:11.000Z","updated_at":"2025-03-21T14:51:25.000Z","dependencies_parsed_at":"2024-11-06T15:51:28.988Z","dependency_job_id":null,"html_url":"https://github.com/Astrotomic/laravel-unavatar","commit_stats":{"total_commits":66,"total_committers":6,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"0342422e97fb363e20510400dc7485c6a53f3a62"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Astrotomic/laravel-unavatar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-unavatar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-unavatar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-unavatar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-unavatar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Astrotomic","download_url":"https://codeload.github.com/Astrotomic/laravel-unavatar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Flaravel-unavatar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269355715,"owners_count":24403497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avatar","clearbit","deviantart","facebook","gitthub","gravatar","hacktoberfest","instagram","laravel-unavatar","soundcloud","telegram","treeware","twitter","unavatar","youtube"],"created_at":"2024-11-06T23:34:40.986Z","updated_at":"2025-08-08T02:42:33.651Z","avatar_url":"https://github.com/Astrotomic.png","language":"PHP","funding_links":["https://github.com/sponsors/Gummibeer","https://github.com/sponsors/SarahSibert","https://issuehunt.io/r/astrotomic","https://forest.astrotomic.info"],"categories":[],"sub_categories":[],"readme":"# Laravel Unavatar\n\n[![Latest Version](http://img.shields.io/packagist/v/astrotomic/laravel-unavatar.svg?label=Release\u0026style=for-the-badge)](https://packagist.org/packages/astrotomic/laravel-unavatar)\n[![MIT License](https://img.shields.io/github/license/Astrotomic/laravel-unavatar.svg?label=License\u0026color=blue\u0026style=for-the-badge)](https://github.com/Astrotomic/laravel-unavatar/blob/master/LICENSE)\n[![Offset Earth](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-green?style=for-the-badge)](https://plant.treeware.earth/Astrotomic/laravel-unavatar)\n[![Larabelles](https://img.shields.io/badge/Larabelles-%F0%9F%A6%84-lightpink?style=for-the-badge)](https://www.larabelles.com/)\n\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Astrotomic/laravel-unavatar/run-tests?style=flat-square\u0026logoColor=white\u0026logo=github\u0026label=Tests)](https://github.com/Astrotomic/laravel-unavatar/actions?query=workflow%3Arun-tests)\n[![StyleCI](https://styleci.io/repos/242217544/shield)](https://styleci.io/repos/242217544)\n[![Total Downloads](https://img.shields.io/packagist/dt/astrotomic/laravel-unavatar.svg?label=Downloads\u0026style=flat-square)](https://packagist.org/packages/astrotomic/laravel-unavatar)\n\nThis package provides a Laravel wrapper for [unavatar](https://unavatar.now.sh).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require astrotomic/laravel-unavatar\nphp artisan vendor:publish --provider=\"Astrotomic\\LaravelUnavatar\\UnavatarServiceProvider\" --tag=config\n```\n\n## Usage\n\nMost of the logic and possibilities is inherited from the [astrotomic/php-unavatar](https://github.com/Astrotomic/php-unavatar) base package.\nOn top this package adds some Laravel specific possibilities.\nThe `\\Astrotomic\\LaravelUnavatar\\Unavatar` class implements several interfaces:\n\n- `\\Illuminate\\Contracts\\Support\\Renderable`\n- `\\Illuminate\\Contracts\\Support\\Responsable`\n- `\\Illuminate\\Contracts\\Support\\Htmlable`\n- `\\Illuminate\\Contracts\\Support\\Jsonable`\n- `\\JsonSerializable`\n- `\\Illuminate\\Contracts\\Support\\Arrayable`\n\nSo you can use the use your `Unavatar` instances in your controllers as response but for sure also in your views.\nThe last three ones will use the [unavatar](https://unavatar.now.sh) JSON API - so they will start a HTTP request.\n\n### Blade Component\n\nThe package provides a blade component you can use in your views.\n\n```html\n\u003cx-unavatar::img :email=\"$user-\u003eemail\" :alt=\"$user-\u003ename\" /\u003e\n\n\u003cimg\n  src=\"https://unavatar.now.sh/gummibeer@astrotomic.info\"\n  alt=\"Gummibeer\"\n  loading=\"lazy\"\n/\u003e\n```\n\nYou can also publish the used view and customize it.\n\n### Testing\n\n```bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/Astrotomic/.github/blob/master/CONTRIBUTING.md) for details. You could also be interested in [CODE OF CONDUCT](https://github.com/Astrotomic/.github/blob/master/CODE_OF_CONDUCT.md).\n\n### Security\n\nIf you discover any security related issues, please check [SECURITY](https://github.com/Astrotomic/.github/blob/master/SECURITY.md) for steps to report it.\n\n## Credits\n\n- [Tom Witkowski](https://github.com/Gummibeer)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Treeware\n\nYou're free to use this package, but if it makes it to your production environment I would highly appreciate you buying the world a tree.\n\nIt’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to [plant trees](https://www.bbc.co.uk/news/science-environment-48870920). If you contribute to my forest you’ll be creating employment for local families and restoring wildlife habitats.\n\nYou can buy trees at [offset.earth/treeware](https://plant.treeware.earth/Astrotomic/laravel-unavatar)\n\nRead more about Treeware at [treeware.earth](https://treeware.earth)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrotomic%2Flaravel-unavatar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrotomic%2Flaravel-unavatar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrotomic%2Flaravel-unavatar/lists"}