PHPackages                             frozensheep/synthesize - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. frozensheep/synthesize

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

frozensheep/synthesize
======================

Synthesizer trait to auto generate getter and setter access for objects.

1.0(10y ago)0129.9k↓57.6%2[1 issues](https://github.com/frozensheep/synthesize/issues)4MITPHPPHP &gt;=5.4

Since Nov 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/frozensheep/synthesize)[ Packagist](https://packagist.org/packages/frozensheep/synthesize)[ Docs](https://github.com/frozensheep/synthesize)[ RSS](/packages/frozensheep-synthesize/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (4)Used By (4)

Synthesize
==========

[](#synthesize)

Synthesizer trait to auto generate getter and setter access for objects.

[![Latest Stable Version](https://camo.githubusercontent.com/eba6f73e5b86132009984e873bb28b2ce1113fe92b52d044c31d90ce0b5b8f0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726f7a656e73686565702f73796e74686573697a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/frozensheep/synthesize)[![Build Status](https://camo.githubusercontent.com/5ec74320096ac3b2f313a957d6c769d4401a971f5d46627afd88e06bd4a45ef5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f66726f7a656e73686565702f73796e74686573697a652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/frozensheep/synthesize)[![Coverage Status](https://camo.githubusercontent.com/398d2dff985944ed5782d84cc3b4af9c3a0bcc8f28e39709145a294dba9cab31/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f66726f7a656e73686565702f73796e74686573697a652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/frozensheep/synthesize?branch=master)[![MIT License](https://camo.githubusercontent.com/7f7d4af24d01bfd69a960c6dd48cc67d0fd8bf4ebbc033c64d3ae3aa5a0b10f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f66726f7a656e73686565702f73796e74686573697a652e7376673f7374796c653d666c61742d737175617265)](https://github.com/frozensheep/synthesize/blob/master/LICENSE)[![PHP 5.4](https://camo.githubusercontent.com/8803a0773b8d2314396d7922be4ed9475bb4cfe61e0395156558c047eb7e256e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e342d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![PHP 5.5](https://camo.githubusercontent.com/126268109b06bc3e1085f341e74e3d6406bc18adbdd48bad6359fff93d190579/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e352d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![PHP 5.6](https://camo.githubusercontent.com/1e72d9121445f411d632f2607a74e0c6f63b4a8900a310c7a1dd5a1ee8b55352/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e362d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![PHP 7](https://camo.githubusercontent.com/939c95529a45a89e9db2058d29fd65219d3d702df7379ba3acfdb303f88b5c06/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)

Install
-------

[](#install)

To install with Composer:

```
composer require frozensheep/synthesize
```

Usage
-----

[](#usage)

```
use Frozensheep\Synthesize\Synthesizer;

class Transaction {

	use Synthesizer;

	protected $arrSynthesize = array(
		'amount' => array('type' => 'float'),
		'description' => array('type' => 'string', 'default' => 'Super cool product.')
	};
}

$objTransaction = new Transaction();

$objTransaction->amount = 19.95;
$objTransaction->description = '4x Large Bowls';
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~14 days

Total

3

Last Release

3862d ago

Major Versions

0.2 → 1.02015-12-07

PHP version history (2 changes)0.1PHP &gt;=5.3.0

1.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca7fe3db7d43dc3573728bf0a76aa34a86a7f666a332f74fd3761374bf2609f6?d=identicon)[jacobwyke](/maintainers/jacobwyke)

---

Tags

synthesizersynthesize

### Embed Badge

![Health badge](/badges/frozensheep-synthesize/health.svg)

```
[![Health](https://phpackages.com/badges/frozensheep-synthesize/health.svg)](https://phpackages.com/packages/frozensheep-synthesize)
```

###  Alternatives

[open-feature/sdk

PHP implementation of the OpenFeature SDK

42781.1k19](/packages/open-feature-sdk)[sylius/refund-plugin

Plugin provides basic refunds functionality for Sylius application.

701.8M20](/packages/sylius-refund-plugin)[seboettg/citeproc-php

Full-featured CSL processor (https://citationstyles.org)

771.4M34](/packages/seboettg-citeproc-php)[timeweb/phpstan-enum

Enum class reflection extension for PHPStan

443.4M27](/packages/timeweb-phpstan-enum)[php-unit-conversion/php-unit-conversion

A fully PSR-4 compatible PHP library for converting between standard units of measure.

691.2M2](/packages/php-unit-conversion-php-unit-conversion)[panlatent/cron-expression-descriptor

Converts cron expressions into human readable descriptions.

21681.7k7](/packages/panlatent-cron-expression-descriptor)

PHPackages © 2026

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