{"id":22292035,"url":"https://github.com/aedart/athenaeum-support","last_synced_at":"2025-07-28T23:33:05.169Z","repository":{"id":56899571,"uuid":"234392358","full_name":"aedart/athenaeum-support","owner":"aedart","description":"[READ ONLY] Athenaeum Support package - see https://github.com/aedart/athenaeum","archived":false,"fork":false,"pushed_at":"2024-11-28T08:52:26.000Z","size":341,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-28T09:34:03.228Z","etag":null,"topics":["aware-of","helpers","properties","utils"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aedart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-01-16T19:11:11.000Z","updated_at":"2024-11-28T08:52:30.000Z","dependencies_parsed_at":"2023-02-12T01:47:46.653Z","dependency_job_id":"e1e51337-42a6-495a-bd63-b89fd3afa5c0","html_url":"https://github.com/aedart/athenaeum-support","commit_stats":{"total_commits":209,"total_committers":2,"mean_commits":104.5,"dds":"0.27751196172248804","last_synced_commit":"0e3585b54cb7bfd516c0ec9c2b80d142bc7bdd4f"},"previous_names":[],"tags_count":132,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aedart","download_url":"https://codeload.github.com/aedart/athenaeum-support/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227962331,"owners_count":17847936,"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":["aware-of","helpers","properties","utils"],"created_at":"2024-12-03T17:19:21.499Z","updated_at":"2024-12-03T17:19:22.871Z","avatar_url":"https://github.com/aedart.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Athenaeum Support\n\nOffers complementary components and helpers to [Laravel's Support package](https://packagist.org/packages/illuminate/support).\n\n## Laravel Aware-of Helpers\n\nTraits that offer [Getters and Setters](https://en.wikipedia.org/wiki/Mutator_method) helpers for some of Laravel's core packages. \n\nThese components allow you to manually set and retrieve a Laravel component, e.g. a configuration `Repository`.\nAdditionally, when no component instance has been specified, it will automatically default to whatever Laravel has bound in the [Service Container](https://laravel.com/docs/6.x/container).\n\nYou can think of these helpers as supplements, or alternatives to Laravel's native [Facades](https://laravel.com/docs/6.x/facades).\n\n```php\nuse \\Aedart\\Support\\Helpers\\Config\\ConfigTrait;\n\nclass MyApiService\n{\n    use ConfigTrait;    \n\n    public function __construct()\n    {\n        $config = $this-\u003egetConfig();\n\n        $url = $config-\u003eget('services.trucks-api.url');\n    \n        // ... remaining not shown ...\n    }\n}\n```\n\n## Aware-of Properties\n\nIn addition to the Laravel Aware-of Helpers, this package comes with an abundance of \"aware-of xyz\" helpers.\nThese are generated traits that offer getters and setter methods for various types properties.\nThey are mostly useful when creating DTOs.\n\n```php\nuse \\Aedart\\Support\\Properties\\Strings\\NameTrait;\nuse \\Aedart\\Support\\Properties\\Integers\\AgeTrait;\n\nclass Person\n{\n    use NameTrait;\n    use AgeTrait;\n}  \n```\n\n## Documentation\n\nPlease read the [official documentation](https://aedart.github.io/athenaeum/) for additional information.\n\n## Repository\n\nThe mono repository is located at [github.com/aedart/athenaeum](https://github.com/aedart/athenaeum)\n\n## Versioning\n\nThis package follows [Semantic Versioning 2.0.0](http://semver.org/)\n\n## License\n\n[BSD-3-Clause](http://spdx.org/licenses/BSD-3-Clause), Read the LICENSE file included in this package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faedart%2Fathenaeum-support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faedart%2Fathenaeum-support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faedart%2Fathenaeum-support/lists"}