{"id":16953782,"url":"https://github.com/mallardduck/laravel-humanoid","last_synced_at":"2025-04-11T21:33:13.978Z","repository":{"id":41886826,"uuid":"485131094","full_name":"mallardduck/laravel-HumanoID","owner":"mallardduck","description":"Use HumanoID in Laravel with Ease!","archived":false,"fork":false,"pushed_at":"2024-12-21T01:12:45.000Z","size":70,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T17:46:53.006Z","etag":null,"topics":["human-id","humanoid","int-to-string-uid","laravel","laravel-package","zoo-ids"],"latest_commit_sha":null,"homepage":"","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/mallardduck.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}},"created_at":"2022-04-24T20:20:00.000Z","updated_at":"2024-12-21T01:12:49.000Z","dependencies_parsed_at":"2024-12-20T23:19:15.278Z","dependency_job_id":"498378c2-6205-4a41-a3e6-995a96ad4027","html_url":"https://github.com/mallardduck/laravel-HumanoID","commit_stats":{"total_commits":42,"total_committers":4,"mean_commits":10.5,"dds":0.2857142857142857,"last_synced_commit":"07966476937ba99d7b43b6c323a9a1b6585a6143"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Flaravel-HumanoID","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Flaravel-HumanoID/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Flaravel-HumanoID/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Flaravel-HumanoID/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mallardduck","download_url":"https://codeload.github.com/mallardduck/laravel-HumanoID/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483434,"owners_count":21111446,"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","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":["human-id","humanoid","int-to-string-uid","laravel","laravel-package","zoo-ids"],"created_at":"2024-10-13T22:07:55.545Z","updated_at":"2025-04-11T21:33:13.950Z","avatar_url":"https://github.com/mallardduck.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Use [HumanoID](https://github.com/RobThree/HumanoID) in Laravel with Ease!\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/mallardduck/laravel-humanoid.svg?style=flat-square)](https://packagist.org/packages/mallardduck/laravel-humanoid)\n[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/mallardduck/laravel-humanoid/run-tests?label=tests)](https://github.com/mallardduck/laravel-humanoid/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/mallardduck/laravel-humanoid/Check%20\u0026%20fix%20styling?label=code%20style)](https://github.com/mallardduck/laravel-humanoid/actions?query=workflow%3A\"Check+%26+fix+styling\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/mallardduck/laravel-humanoid.svg?style=flat-square)](https://packagist.org/packages/mallardduck/laravel-humanoid)\n\nThis package allows you to configure a [HumanoID](https://github.com/RobThree/HumanoID) generator once and use it anywhere in your Laravel application.\nOnce you've configured your site/apps [HumanoID](https://github.com/RobThree/HumanoID) generator it's as easy as:\n\n\u003e Generates a HumanoID via your preconfigured for (int) 42\n```php\nHumanoID::create(42); // Using a facade (alias) to access the singleton.\napp(\\RobThree\\HumanoID\\HumanoID::class)-\u003ecreate(42); // Or, get it via the app container.\napp(\\MallardDuck\\LaravelHumanoID\\Facades\\HumanoID::class)-\u003ecreate(42); // Or, get it via the app container.\n```\n\n\n## A message to Russian 🇷🇺 people\n\nIf you currently live in Russia, please read [this message](./ToRussianPeople.md).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require mallardduck/laravel-humanoid\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"laravel-humanoid-config\"\n```\n\nThis is the contents of the published config file:\n\n```php\nreturn [\n    'defaultGeneratorConfig' =\u003e (class_exists('\\App\\HumanoID\\MyAppConfig')) ? \\App\\HumanoID\\MyAppConfig::class : \\MallardDuck\\LaravelHumanoID\\DefaultGeneratorConfig::class,\n    'wordSetsBasePath' =\u003e env('APP_HUMANOID_BASE', resource_path('humanoid/')),\n];\n```\n\n\n## Usage\n\n1. Publish the necessary vendor files,\n2. Publish the config files (optional),\n\n```php\n$humanoID = new HumanoID::create(42);\necho $humanoID; // 'Haumea-Pinwheel'\n```\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [Dan Pock](https://github.com/MallardDuck)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmallardduck%2Flaravel-humanoid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmallardduck%2Flaravel-humanoid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmallardduck%2Flaravel-humanoid/lists"}