百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bootstrapper

> 编程语言
开源

Laravel Twitter Bootstrap 套件

554 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Laravel Twitter Bootstrap 套件

Bootstrapper

Latest stable version:

Travis status :

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.

…

Including Bootstrap

Include the Bootstrap files just like any other css and js files! Download Bootstrap and JQuery from the Bootstrap site, 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!).

xml

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
  • Twitter Bootstrap documentation
  • Twitter Bootstrap on Github

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 or a tweet.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言