symfony/property-access
Provides functions to read and write from/to an object or array using a simple string notation observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 4980
- days_rel: 11
- days_push: 11
- n_releases_24m: 32
Adoption not part of the score
2814 stars · 26 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony PHP component that reads and writes values from objects and arrays using simple string property-path notation (e.g. 'user[address][city]' or 'child.name'). It uses reflection and supports getters, issers, hassers, adders/removers, and magic methods.
Use cases
- read nested array values with string paths
- get and set object properties dynamically in php
- access object graph via dot notation
- write to nested arrays using index notation
- resolve property paths on objects with getters and setters
- safely traverse nullable property paths returning null
When to choose
- you need dynamic, string-based access to object or array data in PHP
- you are building forms, serializers, or validators that map data by property path
- you are already in the Symfony ecosystem
When to avoid
- you only need simple direct property access with no dynamic paths
- you work outside PHP or need typed/compiled property access
Facets
library · maturity stable
serialization developer-tools developer-tools web-development backend php property-access property-path reflection symfony-component object-graph array-access
6 sources
- readme: https://github.com/symfony/property-access · fetched 2026-08-28 · 6fa0c64ca843
- homepage: https://symfony.com/property-access · fetched 2026-08-29 · 89cf94aa7637
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/components/property_access.html · fetched 2026-08-29 · 10c77fc65343
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · 83b70dd163fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/property-access | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="symfony/property-access")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem