https://github.com/ofcold/presentable
Decorate your objects using presenters. Primarily to keep presentation logic out of your models.
https://github.com/ofcold/presentable
Last synced: 3 months ago
JSON representation
Decorate your objects using presenters. Primarily to keep presentation logic out of your models.
- Host: GitHub
- URL: https://github.com/ofcold/presentable
- Owner: ofcold
- License: mit
- Created: 2018-05-02T14:15:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T15:32:43.000Z (almost 8 years ago)
- Last Synced: 2025-01-19T21:48:47.101Z (about 1 year ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Presentable
Decorate your objects using presenters. Primarily to keep presentation logic out of your models.
## Installation
### Composer
Add `ofcold/presentable` to the "require" section of your `composer.json` file.
```json
"ofcold/presentable": "^1.0"
```
Run `composer update` to get the latest version of the package.
### Manually
It's recommended that you use Composer, however you can download and install from this repository.