Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patricktalmadge/bootstrapper
Laravel Twitter Bootstrap Bundle
https://github.com/patricktalmadge/bootstrapper
Last synced: 2 months ago
JSON representation
Laravel Twitter Bootstrap Bundle
- Host: GitHub
- URL: https://github.com/patricktalmadge/bootstrapper
- Owner: patricktalmadge
- Created: 2012-06-19T05:16:35.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T14:18:28.000Z (10 months ago)
- Last Synced: 2024-03-23T05:20:55.027Z (3 months ago)
- Language: PHP
- Size: 3.44 MB
- Stars: 560
- Watchers: 39
- Forks: 130
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Lists
- awesome-laravel - Bootstrapper - Set of classes to create Bootstrap 3 markup (Popular Packages)
- laravel-awesome - Bootstrapper - Set of classes to create Bootstrap 3 markup (Popular Packages)
- awesome-laravel - Bootstrapper - Set of classes to create Bootstrap 3 markup (Popular Packages)
- awesome-laravel - Bootstrapper - Set of classes to create Bootstrap 3 markup (Popular Packages)
- awesome-laravel - Bootstrapper - Set of classes to create Bootstrap 3 markup (Popular Packages)
- awesome-laravel - Bootstrapper - Set of classes to create Bootstrap 3 markup (Popular Packages)
- awesome-laravel-framework - Bootstrapper - Set of classes to create Bootstrap 3 markup (Popular Packages)
README
# Bootstrapper
Latest stable version: [![Latest Stable Version](https://poser.pugx.org/patricktalmadge/bootstrapper/v/stable.svg)](https://packagist.org/packages/patricktalmadge/bootstrapper)
Travis status : [![Build Status](https://travis-ci.org/patricktalmadge/bootstrapper.svg?branch=develop)](https://travis-ci.org/patricktalmadge/bootstrapper)
Current supported Bootstrap version: 3.2.0
Bootstrapper is a set of classes that allow you to quickly create Twitter
Bootstrap 3 style markup.## Installation
Add the following to your `composer.json` file :
```json
"require": {
"patricktalmadge/bootstrapper": "~5",
},
```or execute
```bash
composer require patricktalmadge/bootstrapper
```Then register Bootstrapper's service provider with Laravel:
```php
'Bootstrapper\BootstrapperServiceProvider',
```If you are using Laravel 5, then you should instead use the Laravel 5 service
provider.```php
'Bootstrapper\BootstrapperL5ServiceProvider',
```You can then (if you want to) add the following aliases to your `aliases`
array in your `config/app.php` file.```php
'Accordion' => 'Bootstrapper\Facades\Accordion',
'Alert' => 'Bootstrapper\Facades\Alert',
'Badge' => 'Bootstrapper\Facades\Badge',
'Breadcrumb' => 'Bootstrapper\Facades\Breadcrumb',
'Button' => 'Bootstrapper\Facades\Button',
'ButtonGroup' => 'Bootstrapper\Facades\ButtonGroup',
'Carousel' => 'Bootstrapper\Facades\Carousel',
'ControlGroup' => 'Bootstrapper\Facades\ControlGroup',
'DropdownButton' => 'Bootstrapper\Facades\DropdownButton',
'Form' => 'Bootstrapper\Facades\Form',
'Helpers' => 'Bootstrapper\Facades\Helpers',
'Icon' => 'Bootstrapper\Facades\Icon',
'InputGroup' => 'Bootstrapper\Facades\InputGroup',
'Image' => 'Bootstrapper\Facades\Image',
'Label' => 'Bootstrapper\Facades\Label',
'MediaObject' => 'Bootstrapper\Facades\MediaObject',
'Modal' => 'Bootstrapper\Facades\Modal',
'Navbar' => 'Bootstrapper\Facades\Navbar',
'Navigation' => 'Bootstrapper\Facades\Navigation',
'Panel' => 'Bootstrapper\Facades\Panel',
'ProgressBar' => 'Bootstrapper\Facades\ProgressBar',
'Tabbable' => 'Bootstrapper\Facades\Tabbable',
'Table' => 'Bootstrapper\Facades\Table',
'Thumbnail' => 'Bootstrapper\Facades\Thumbnail',
```## Including Bootstrap
Include the Bootstrap files just like any other css and js files! Download
Bootstrap and JQuery from the [Bootstrap site](http://getbootstrap.com),
place them in your public folder and then include them like so:```php
{{ HTML::style('path/to/bootstrap.css') }}
{{ HTML::script('path/to/jquery.js') }}
{{ HTML::script('path/to/bootstrap.js') }}
```Feel free to use a CDN, but bear in mind that you may get unexpected
functionality if the version you use isn't the version Bootstrapper currently
supports (but open an issue to let us know!).```html
```
If you want to get the latest Bootstrap that Bootstrapper supports,
then use the helper function:```php
Helpers::css()
Helpers::js()
```If you want to stick at a certain version then use
```
artisan config:publish patricktalmadge/bootstrapper
```And update your config file in app/config/packages.
We also have Twitter Bootstrap as a dependency, so you can grab the files from
your vendor directory.## Documentation
- [Bootstrapper documentation](http://bootstrapper.patrickrosemusic.co.uk/)
- [Twitter Bootstrap documentation](http://getbootstrap.com/)
- [Twitter Bootstrap on Github](https://github.com/twitter/bootstrap)## Contributing
Contributing is easy! Just fork the repo, make your changes then send a pull
request on GitHub. If your PR is languishing in the queue and nothing seems
to be happening, then send Patrick an
[email](mailto:[email protected]) or a
[tweet](http://twitter.com/DrugCrazed).