PHPackages                             rekalogika/direct-property-access - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rekalogika/direct-property-access

ActiveSymfony-bundle

rekalogika/direct-property-access
=================================

Simple implementation of PropertyAccessorInterface that reads and writes directly to the object's properties, bypassing getters and setters.

1.3.1(7mo ago)112.0k—10%[8 PRs](https://github.com/rekalogika/direct-property-access/pulls)1MITPHPCI passing

Since Sep 2Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/rekalogika/direct-property-access)[ Packagist](https://packagist.org/packages/rekalogika/direct-property-access)[ Docs](https://rekalogika.dev/direct-property-access)[ GitHub Sponsors](https://github.com/priyadi)[ RSS](/packages/rekalogika-direct-property-access/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (19)Used By (1)

rekalogika/direct-property-access
=================================

[](#rekalogikadirect-property-access)

Implementation of Symfony's `PropertyAccessorInterface` that reads and writes directly to the object's properties, bypassing getters and setters.

Synopsis
--------

[](#synopsis)

```
use Rekalogika\DirectPropertyAccess\DirectPropertyAccessor;

class Person
{
    private string $name = 'Jane';
}

$propertyAccessor = new DirectPropertyAccessor();

$name = $propertyAccessor->getValue($person, 'name'); // Jane
$propertyAccessor->setValue($person, 'name', 'John');
```

Documentation
-------------

[](#documentation)

[rekalogika.dev/direct-property-access](https://rekalogika.dev/direct-property-access)

Credits
-------

[](#credits)

This project took inspiration from the following projects.

- [Symfony Property Access](https://github.com/symfony/property-access)
- [kwn/reflection-property-access](https://github.com/kwn/reflection-property-access)
- [nelmio/alice](https://github.com/nelmio/alice/blob/master/src/PropertyAccess/ReflectionPropertyAccessor.php)

License
-------

[](#license)

MIT

Contributing
------------

[](#contributing)

Issues and pull requests should be filed in the GitHub repository [rekalogika/direct-property-access](https://github.com/rekalogika/direct-property-access).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance69

Regular maintenance activity

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~192 days

Total

9

Last Release

219d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/13d0eed333cf2f0d552e9a4d0ca1c6a8fc0be0506bbc5e7516f6985b17b86043?d=identicon)[priyadi](/maintainers/priyadi)

---

Top Contributors

[![priyadi](https://avatars.githubusercontent.com/u/1102197?v=4)](https://github.com/priyadi "priyadi (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

phppropertiesproperty-accessorsymfonysymfony-bundle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rekalogika-direct-property-access/health.svg)

```
[![Health](https://phpackages.com/badges/rekalogika-direct-property-access/health.svg)](https://phpackages.com/packages/rekalogika-direct-property-access)
```

###  Alternatives

[symfony/form

Allows to easily create, process and reuse HTML forms

2.8k152.1M2.8k](/packages/symfony-form)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k164.3M234](/packages/symfony-security-http)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[vich/uploader-bundle

Ease file uploads attached to entities

1.9k25.9M116](/packages/vich-uploader-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
