PHPackages                             dsmithhayes/abstractmodel - 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. dsmithhayes/abstractmodel

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

dsmithhayes/abstractmodel
=========================

A library for creating simple data models.

v0.0.1(9y ago)014BSD 3.0PHPPHP ^7.0

Since Mar 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/dsmithhayes/abstractmodel)[ Packagist](https://packagist.org/packages/dsmithhayes/abstractmodel)[ RSS](/packages/dsmithhayes-abstractmodel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

AbstractModel
=============

[](#abstractmodel)

The problem: writing `get` and `set` methods for specific properties can get tiresome, especially when there is no extra logic other than getting, and setting. `AbstractModel` solves this problem by letting you build a data model and automatically generating the mutators.

The `AbstractModel` class implements the PSR-11 Container interface.

Installation
------------

[](#installation)

```
$ composer require dsmithhayes/abstractmodel

```

Usage
-----

[](#usage)

```
