{"id":20128959,"url":"https://github.com/intervention/zodiac","last_synced_at":"2026-02-28T08:53:49.198Z","repository":{"id":48773383,"uuid":"48918102","full_name":"Intervention/zodiac","owner":"Intervention","description":"PHP Zodiac Sign Calculator","archived":false,"fork":false,"pushed_at":"2025-03-31T13:50:29.000Z","size":159,"stargazers_count":52,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T10:03:56.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zodiac.intervention.io","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/Intervention.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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":["Intervention"],"ko_fi":"interventionphp","custom":"https://paypal.me/interventionio"}},"created_at":"2016-01-02T17:36:49.000Z","updated_at":"2025-03-31T13:50:33.000Z","dependencies_parsed_at":"2024-12-13T17:10:57.920Z","dependency_job_id":"c3882e81-33a5-4046-962d-afc50c1f683c","html_url":"https://github.com/Intervention/zodiac","commit_stats":{"total_commits":153,"total_committers":16,"mean_commits":9.5625,"dds":0.2222222222222222,"last_synced_commit":"16b57db5458fbcb636949b933c74df233c8d7ff5"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fzodiac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fzodiac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fzodiac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fzodiac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intervention","download_url":"https://codeload.github.com/Intervention/zodiac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654090,"owners_count":21140236,"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":[],"created_at":"2024-11-13T20:30:50.452Z","updated_at":"2026-02-28T08:53:49.160Z","avatar_url":"https://github.com/Intervention.png","language":"PHP","funding_links":["https://github.com/sponsors/Intervention","https://ko-fi.com/interventionphp","https://paypal.me/interventionio"],"categories":[],"sub_categories":[],"readme":"# Intervention Zodiac\n\n[![Latest Version](https://img.shields.io/packagist/v/intervention/zodiac.svg)](https://packagist.org/packages/intervention/zodiac)\n[![Tests](https://github.com/Intervention/zodiac/actions/workflows/build.yml/badge.svg)](https://github.com/Intervention/zodiac/actions/workflows/build.yml)\n[![Monthly Downloads](https://img.shields.io/packagist/dm/intervention/zodiac.svg)](https://packagist.org/packages/intervention/zodiac/stats)\n[![Support me on Ko-fi](https://raw.githubusercontent.com/Intervention/zodiac/main/.github/images/support.svg)](https://ko-fi.com/interventionphp)\n\nIntervention Zodiac is a calculator for zodiac signs to resolve the respective\nzodiac sign from various data types.\n\n## Installation\n\nYou can install this package with Composer.\n\nRequire the package via Composer:\n\n    $ composer require intervention/zodiac\n\nAlthough the library is **framework agnostic** it comes with a service provider\nfor the [Laravel Framework](https://www.laravel.com/). Which will be discovered\nautomatically and registers the calculator into your installation.\n\n## Documentation\n\nRead the full [documentation](https://zodiac.intervention.io) for this library.\n\n## Code Examples\n\n```php\nuse Intervention\\Zodiac\\Calculator;\nuse DateTime;\nuse Carbon\\Carbon;\n\n// get zodiac object from a date\n$zodiac = Calculator::zodiac('1980-09-15');\n\n// method takes mixed formats\n$zodiac = Calculator::zodiac('first day of June 2008');\n\n// create from DateTime object\n$zodiac = Calculator::zodiac(new DateTime('1977-03-15'));\n\n// get zodiac from a Carbon object\n$zodiac = Calculator::zodiac(Carbon::yesterday());\n\n// get zodiac from unix timestamp\n$zodiac = Calculator::zodiac(228268800);\n```\n\n```php\nuse Intervention\\Zodiac\\Calculator;\nuse DateTime;\nuse Carbon\\Carbon;\n\n// calculate zodiac sing\n$zodiac = Calculator::zodiac('1977-06-17');\n\n$name = $zodiac-\u003ename(); // 'gemini'\n$html = $zodiac-\u003ehtml(); // '♊︎'\n$localized = $zodiac-\u003elocalized('fr'); // Gémeaux\n$compatibility = $zodiac-\u003ecompatibility($zodiac); // .6\n```\n\n## Development \u0026 Testing\n\nWith this package comes a Docker image to build a test suite container. To build this container you have to have Docker installed on your system.\n\nYou can run all tests with the following command.\n\n```bash\ndocker-compose run --rm --build tests\n```\n\nRun the static analyzer on the code base.\n\n```bash\ndocker-compose run --rm --build analysis\n```\n\n## Authors\n\nThis library is developed and maintained by [Oliver Vogel](https://intervention.io)\n\nThanks to the community of [contributors](https://github.com/Intervention/zodiac/graphs/contributors) who have helped to improve this project.\n\n## License\n\nIntervention Zodiac is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintervention%2Fzodiac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintervention%2Fzodiac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintervention%2Fzodiac/lists"}