{"id":16897746,"url":"https://github.com/endroid/property-access","last_synced_at":"2025-09-11T21:44:59.607Z","repository":{"id":36725309,"uuid":"41031880","full_name":"endroid/property-access","owner":"endroid","description":"Combines Symfony Property Access and Expression Language","archived":false,"fork":false,"pushed_at":"2024-10-20T19:23:11.000Z","size":38,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T10:05:20.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://endroid.nl","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/endroid.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":"endroid"}},"created_at":"2015-08-19T12:13:16.000Z","updated_at":"2024-10-20T19:23:05.000Z","dependencies_parsed_at":"2023-11-07T10:25:10.456Z","dependency_job_id":"a752e2d3-23d3-4b76-b587-f06302c0d8aa","html_url":"https://github.com/endroid/property-access","commit_stats":{"total_commits":67,"total_committers":2,"mean_commits":33.5,"dds":0.05970149253731338,"last_synced_commit":"8d8715cbc6657698b20b84141f891e8baed336d5"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fproperty-access","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fproperty-access/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fproperty-access/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fproperty-access/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endroid","download_url":"https://codeload.github.com/endroid/property-access/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980808,"owners_count":21027803,"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-10-13T17:39:36.674Z","updated_at":"2025-04-11T13:51:57.078Z","avatar_url":"https://github.com/endroid.png","language":"PHP","funding_links":["https://github.com/sponsors/endroid"],"categories":[],"sub_categories":[],"readme":"# Property Access\n\n*By [endroid](https://endroid.nl/)*\n\n[![Latest Stable Version](http://img.shields.io/packagist/v/endroid/property-access.svg)](https://packagist.org/packages/endroid/property-access)\n[![Build Status](https://github.com/endroid/property-access/workflows/CI/badge.svg)](https://github.com/endroid/property-access/actions)\n[![Total Downloads](http://img.shields.io/packagist/dt/endroid/property-access.svg)](https://packagist.org/packages/endroid/property-access)\n[![Monthly Downloads](http://img.shields.io/packagist/dm/endroid/property-access.svg)](https://packagist.org/packages/endroid/property-access)\n[![License](http://img.shields.io/packagist/l/endroid/property-access.svg)](https://packagist.org/packages/endroid/property-access)\n\nExtends the Symfony property accessor with the ability to filter on objects\nusing the expression language component. An example of such a query would be\nband.member[address.street==\"Abbey Road\"].firstName. This functionality makes\nit easier to retrieve properties without the need for looping through values.\n\nGreat advantage of this approach is the possibility of specifying conditional\nmapping via configuration instead of code.\n\n## Installation\n\nUse [Composer](https://getcomposer.org/) to install the library.\n\n``` bash\n$ composer require endroid/property-access\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse Endroid\\PropertyAccess\\PropertyAccessor;\n\n$accessor = new PropertyAccessor();\n\n// Returns the first name of the first band member that lives on Abbey Road\n$firstName = $accessor-\u003egetValue($band, 'member[address.street=Abbey Road][0].firstName');\n```\n\n## Versioning\n\nVersion numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility\nbreaking changes will be kept to a minimum but be aware that these can occur.\nLock your dependencies for production and test your code when upgrading.\n\n## License\n\nThis bundle is under the MIT license. For the full copyright and license\ninformation please view the LICENSE file that was distributed with this source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fproperty-access","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendroid%2Fproperty-access","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fproperty-access/lists"}