定制 covaleski/laravel-bootstrap-5 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

covaleski/laravel-bootstrap-5

最新稳定版本:v0.4.0

Composer 安装命令:

composer require covaleski/laravel-bootstrap-5

包简介

Bootstrap 5 components for Laravel.

README 文档

README

Bootstrap 5 Blade components for Laravel.

Installation

Install this package using the Composer package manager:

composer require covaleski/laravel-bootstrap-5

Usage

First, include CSS and JS assets to the view using the @bootstrap_css and @bootstrap_js directives:

<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        @bootstrap_css
        <title>Bootstrap demo</title>
    </head>
    <body>
        <h1>Hello, world!</h1>
        @bootstrap_js
    </body>
</html>

If you intend to preload Bootstrap's stylesheets, use the @bootstrap_css_preload directive. Place it somewhere before the @bootstrap_css directive.

After including assets to the view, add the components you want to your Blade templates:

<x-bs::alert primary>
    A simple primary alert—check it out!
</x-bs::alert>

See all available components in Components.

Icons

Use the @bootstrap_icons and the @bootstrap_icons_preload directives just like the CSS directives to add Bootstrap's icon library to your application.

Configuration

By default, Bootstrap assets are loaded via CDN. You can change it in the config/bootstrap.php configuration file.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固