netsells/chain-an-able

This package is abandoned and no longer maintained. No replacement package was suggested.

This package provides simple to use chainable HTML builder with easy integration into any platform or cms.

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/netsells/chain-an-able

dev-master 2016-10-03 21:14 UTC

This package is auto-updated.

Last update: 2026-02-08 11:02:28 UTC


README

Latest Version Build Status Quality Score Software License Total Downloads

This package provides simple to use chainable HTML builder with easy integration into any platform or cms.

Currently a Work in progress

This is currently only compatible with Laravel 5.3 and php7.

Usage

{!! $karoway->text('header.title')->wrap('h1.title') !!}
{!! $karoway->image('header.image')->alt('This is the hero image')->classes('image col-md-12') !!}

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',
    ]
]