03/10
2016
This package provides simple to use chainable HTML builder with easy integration into any platform or cms.
This package provides simple to use chainable HTML builder with easy integration into any platform or cms., (*2)
This is currently only compatible with Laravel 5.3 and php7., (*3)
```php+HTML {!! $karoway->text('header.title')->wrap('h1.title') !!} {!! $karoway->image('header.image')->alt('This is the hero image')->classes('image col-md-12') !!}, (*4)
## Installation To install just require the package through composer. `composer require netsells/chain-an-able dev-master` publish the config file that is required to run. `php artisan vendor:publish --provider='Netsells\Karoway\KarowayServiceProvider'` ## Settings These are the column names of the table that stores the attributes for the pages.
'database' => [ 'key_field' => 'key', 'value_field' => 'value', ],
These are the Model in which your Pages are stored and the relationship on that model which returns said page's attributes.
'models' => [ 'page' => [ 'model' => Page::class, 'relation' => 'properties', ] ] ```, (*5)