PHPackages                             cajudev/getter-setter - 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. cajudev/getter-setter

ActiveLibrary

cajudev/getter-setter
=====================

Making php more readable and pleasant.

1.0.0(2y ago)07MITPHPPHP &gt;=8.1

Since Aug 15Pushed 2y agoCompare

[ Source](https://github.com/cajudev/getter-setter)[ Packagist](https://packagist.org/packages/cajudev/getter-setter)[ Docs](https://github.com/cajudev/getter-setter)[ RSS](/packages/cajudev-getter-setter/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Bem vindo ao Getter &amp; Setter
================================

[](#bem-vindo-ao-getter--setter)

[![](https://camo.githubusercontent.com/07b0c1748d557bc4206b87fa1ecc315829c546d88f46df67344456811f966c8c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63616a756465762f6765747465722d7365747465722e737667)](https://packagist.org/packages/cajudev/getter-setter)[![](https://camo.githubusercontent.com/c73ac12645e3ab80f28ece69a58a143c1de186adf16ba2317565f571d7c79f04/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616a756465762f6765747465722d7365747465722e737667)](https://packagist.org/packages/cajudev/getter-setter)[![](https://camo.githubusercontent.com/37797e3dd9d747287ff4839a7c90f0b2d045e2ee61f6c4a4d0d1790b1892480f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63616a756465762f6765747465722d7365747465722e737667)](https://raw.githubusercontent.com/cajudev/getter-setter/master/LICENSE)[![](https://camo.githubusercontent.com/eee6b20006a0702d6d995a0cd45ce96a529836d7b56f5cf1be18d9afb15a687d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f63616a756465762f6765747465722d7365747465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/cajudev/getter-setter)[![](https://camo.githubusercontent.com/5821021cdeb24e1458265429243158c8389c180666e5c6b6d6ffc55f3c109df1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f63616a756465762f6765747465722d7365747465722e737667)](https://github.com/cajudev/getter-setter/issues)[![](https://camo.githubusercontent.com/356dc3623d17d1149f109bc58b61af0ef07fe64e8d3006f90ec412f6cca1e070/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f63616a756465762f6765747465722d7365747465722e737667)](https://github.com/cajudev/getter-setter/graphs/contributors)

Aproveite código, melhore a legibilidade, defina seus próprios tipos e seus respectivos getters e setters.

Leia a documentação completa em:

Características
---------------

[](#características)

- Segue os padrões PSR-1, PSR-2 e PSR-4
- Testes unitários com PHPUnit

Instalação
----------

[](#instalação)

`composer require cajudev/getter-setter "^1"`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~861 days

Total

3

Last Release

741d ago

Major Versions

0.0.2 → 1.0.02024-05-02

PHP version history (2 changes)0.0.1PHP ^7.0

1.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/54964fe64b67c8498eaaab8ae3475267a64057957a423fd69f7b4f81e93a21ba?d=identicon)[cajudev](/maintainers/cajudev)

---

Top Contributors

[![lopesrichard](https://avatars.githubusercontent.com/u/42302993?v=4)](https://github.com/lopesrichard "lopesrichard (8 commits)")

---

Tags

phpcomposeraccessgettersetter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cajudev-getter-setter/health.svg)

```
[![Health](https://phpackages.com/badges/cajudev-getter-setter/health.svg)](https://phpackages.com/packages/cajudev-getter-setter)
```

###  Alternatives

[nunomaduro/patrol

An elegant command-line tool that keeps your PHP Project's dependencies in check

271127.8k3](/packages/nunomaduro-patrol)[antares/accessible

PHP library that allows you to define your class' getters, setters and constructor with docblock annotations.

123.9k1](/packages/antares-accessible)[camcima/php-geohash

Refactored GeoHash package

1074.0k](/packages/camcima-php-geohash)[usmanhalalit/get-set-go

Dynamic Setter-Getter for PHP 5.4+

1813.4k1](/packages/usmanhalalit-get-set-go)

PHPackages © 2026

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