定制 guszandy/laravel-tabler-bootstrap4 二次开发

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

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

guszandy/laravel-tabler-bootstrap4

Composer 安装命令:

composer require guszandy/laravel-tabler-bootstrap4

包简介

Laravel Package for integrating Tabler template and this package is Laravel Mix friendly.

README 文档

README

Laravel 5.8 and 6.0 Package for integrating Tabler template and this package is Laravel Mix friendly. Currently this package can be integrated easily only on fresh installation. For laravel >= 7.0, you can use develop branch.

Pre-Installation

Before install, you must create the authentication scaffolding manually

  • for Laravel 5.8
php artisan make:auth
  • for Laravel >= 6.0
    1. First install laravel/ui package from composer
      composer require laravel/ui
    2. And then, run code below
      php artisan ui vue --auth

Installation

composer require guszandy/laravel-tabler-bootstrap4

For laravel >= 7.0, use this:

composer require guszandy/laravel-tabler-bootstrap4:dev-develop

Run this code below to implement the template,

php artisan make:tabler

Let's see what we've installed. First, make sure that you've already ran php artisan migrate command, then do

php artisan serve

Viola! a Laravel site using Tabler is running right now.

Configuration and Views Customization

Config

To publish this package config to your app config, run this code below

php artisan vendor:publish --provider="GusZandy\Tabler\Providers\AppServiceProvider" --tag="config"

Views

To publish this package views so you can customize on your own, run this code below

php artisan vendor:publish --provider="GusZandy\Tabler\Providers\AppServiceProvider" --tag="views"

Next Step

First of all, you should understand how to use Laravel Mix and install latest laravel-mix.

Tabler need some package on npm. First you need to run

npm install

Install Tabler needed package from npm

npm install --save-dev bootstrap bootstrap-sass popper.js chart.js d3 font-awesome jquery-circle-progress jvectormap moment requirejs select2 select2-bootstrap-theme selectize sparkline tabler-ui tablesorter bootstrap-datepicker eonasdan-bootstrap-datetimepicker @ttskch/select2-bootstrap4-theme

Run Laravel Mix command

npm run development

or use production minimize output

npm run production

Then have a good look on these files

  • webpack.mix.js
  • resources/assets/js/tabler.js
  • resources/assets/sass/tabler.scss

Happy experimenting!

How to use components in this package

1. Panel

@component('tabler::components.panel', [ 'title' => 'Welcome' ])
  @slot('tools')
      <a href="#" class="card-options-collapse" data-toggle="card-collapse"><i
              class="fe fe-chevron-up"></i></a>
      <a href="#" class="card-options-remove" data-toggle="card-remove"><i class="fe fe-x"></i></a>
  @endslot
  You are logged in!
@endcomponent

2. Alert

@component('tabler::components.alert', [ 'type' => 'info' ])
  @slot('text')
     This is an alert component.
  @endslot
@endcomponent

3. Button

@component('tabler::components.button', [ 'type' => 'info', 'url' => 'www.google.com' ])
  @slot('text')
     This is a button component.
  @endslot
@endcomponent

4. Tabs

@component('tabler::components.tabs', [ 'nav_tabs' => 'info' ])
  @slot('tab_panes')
     This is a tab component.
  @endslot
@endcomponent

guszandy/laravel-tabler-bootstrap4 适用场景与选型建议

guszandy/laravel-tabler-bootstrap4 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 845 次下载、GitHub Stars 达 32, 最近一次更新时间为 2019 年 09 月 05 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「admin」 「package」 「composer」 「laravel」 「dashboard」 「bootstrap 4」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 guszandy/laravel-tabler-bootstrap4 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 guszandy/laravel-tabler-bootstrap4 我们能提供哪些服务?
定制开发 / 二次开发

基于 guszandy/laravel-tabler-bootstrap4 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 32
  • Watchers: 2
  • Forks: 6
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-05