funivan / viewable
Make any object viewable
Installs: 10 910
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2022-02-01 12:44:56 UTC
README
Make any object viewable
Install
Via Composer
$ composer require funivan/viewable
Usage
class Email { use \Funivan\Viewable\Viewable; public function getBody(){ return $this->renderView('simple', array('name'=>'funivan')); } }
Testing
./vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.