2017 © Pedro Peláez
 

library flatstrapper

Flatstrap markup generator based on patricktalmadge/bootstrapper.

image

dyon/flatstrapper

Flatstrap markup generator based on patricktalmadge/bootstrapper.

  • Friday, April 17, 2015
  • by dyon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Flatstrapper

Flatstrapper is a set of classes that allow you to quickly create Flatstrap style markup. It is based on @patricktalmadge's Bootstrapper package for Twitter Bootstrap., (*1)

Installation

Add the following to your composer.json file :, (*2)

"dyon/flatstrapper": "dev-master"

Then register Flatstrapper's service provider with Laravel :, (*3)

'Dyon\Flatstrapper\FlatstrapperServiceProvider',

You can then (if you want to) add the following aliases to your aliases array in your config/app.php file., (*4)

'Alert'          => 'Dyon\\Flatstrapper\\Alert',
'Badge'          => 'Dyon\\Flatstrapper\\Badge',
'Breadcrumb'     => 'Dyon\\Flatstrapper\\Breadcrumb',
'Button'         => 'Dyon\\Flatstrapper\\Button',
'ButtonGroup'    => 'Dyon\\Flatstrapper\\ButtonGroup',
'ButtonToolbar'  => 'Dyon\\Flatstrapper\\ButtonToolbar',
'Carousel'       => 'Dyon\\Flatstrapper\\Carousel',
'DropdownButton' => 'Dyon\\Flatstrapper\\DropdownButton',
'Form'           => 'Dyon\\Flatstrapper\\Form',
'Helpers'        => 'Dyon\\Flatstrapper\\Helpers',
'Icon'           => 'Dyon\\Flatstrapper\\Icon',
'Image'          => 'Dyon\\Flatstrapper\\Image',
'Label'          => 'Dyon\\Flatstrapper\\Label',
'MediaObject'    => 'Dyon\\Flatstrapper\\MediaObject',
'Navbar'         => 'Dyon\\Flatstrapper\\Navbar',
'Navigation'     => 'Dyon\\Flatstrapper\\Navigation',
'Paginator'      => 'Dyon\\Flatstrapper\\Paginator',
'Progress'       => 'Dyon\\Flatstrapper\\Progress',
'Tabbable'       => 'Dyon\\Flatstrapper\\Tabbable',
'Table'          => 'Dyon\\Flatstrapper\\Table',
'Thumbnail'      => 'Dyon\\Flatstrapper\\Thumbnail',
'Typeahead'      => 'Dyon\\Flatstrapper\\Typeahead',
'Typography'     => 'Dyon\\Flatstrapper\\Typography',

Using the included Flatstrap assets

As there is no Asset class in Laravel 4, Flatstrapper uses the famous Basset package to manage its assets. In order to use the Flatstrap version included with Flatstrapper, you first need to add Basset's Service Provider and facade to your app file. For this refer to Basset's installation instructions., (*5)

Once this is done, publish the package assets to your public folder., (*6)

php artisan asset:publish dyon/flatstrapper

And then add the following to your template view file to include the Flatstrap CSS and Javascript., (*7)

{{ Basset::show('flatstrapper.css') }}
{{ Basset::show('flatstrapper.js') }}

Documentation

The Versions

17/04 2015

dev-master

9999999-dev

Flatstrap markup generator based on patricktalmadge/bootstrapper.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Daniel Hurtado

laravel bootstrap flatstrap