PHPackages                             dyon/flatstrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dyon/flatstrapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dyon/flatstrapper
=================

Flatstrap markup generator based on patricktalmadge/bootstrapper.

051PHP

Since Apr 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/dyon/flatstrapper)[ Packagist](https://packagist.org/packages/dyon/flatstrapper)[ RSS](/packages/dyon-flatstrapper/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Flatstrapper
============

[](#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.

Installation
------------

[](#installation)

Add the following to your `composer.json` file :

```
"dyon/flatstrapper": "dev-master"
```

Then register Flatstrapper's service provider with Laravel :

```
'Dyon\Flatstrapper\FlatstrapperServiceProvider',
```

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

```
'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
-----------------------------------

[](#using-the-included-flatstrap-assets)

As there is no **Asset** class in Laravel 4, Flatstrapper uses the famous [Basset](http://jasonlewis.me/code/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.

Once this is done, publish the package assets to your public folder.

```
php artisan asset:publish dyon/flatstrapper
```

And then add the following to your template view file to include the Flatstrap CSS and Javascript.

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

Documentation
-------------

[](#documentation)

- [Bootstrapper documentation](http://bootstrapper.aws.af.cm) (it's the same for Flatstrapper)
- [Flatstrap documentation](http://www.flatstrap.org/)
- [Flatstrap on Github](https://github.com/littlesparkvt/flatstrap)
- [Twitter Bootstrap documentation](http://twitter.github.com/bootstrap)
- [Twitter Bootstrap on Github](https://github.com/twitter/bootstrap)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35929?v=4)[Dani](/maintainers/dyon)[@dyon](https://github.com/dyon)

---

Top Contributors

[![silverknights](https://avatars.githubusercontent.com/u/8142866?v=4)](https://github.com/silverknights "silverknights (7 commits)")[![dyon](https://avatars.githubusercontent.com/u/35929?v=4)](https://github.com/dyon "dyon (1 commits)")

### Embed Badge

![Health badge](/badges/dyon-flatstrapper/health.svg)

```
[![Health](https://phpackages.com/badges/dyon-flatstrapper/health.svg)](https://phpackages.com/packages/dyon-flatstrapper)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
