mchampaneri/larauicomp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mchampaneri/larauicomp

Composer 安装命令:

composer require mchampaneri/larauicomp

包简介

Frequently used ui components that are dependant on the return from the database and have some kind of uniformity in the reprsentation. For example tables, list. By the way we are going to increase components as we find.

README 文档

README

Package is created to reduce the time to creating the ui componenets (like table) having same presentation with different attributes. It takes the data to put in the component and type of ui component and than renders the view according to the input

Supported components

At this moment only one components is Supported Table

Installation

First Get It Through The Composer

  composer require mchampaneri/larauicomp

Copy The ServiceProvider To config/app.php in providers array

   mchampaneri\larauicomp\UiCompServiceProvider::class

Copy The Facade To config/app.php in aliases array

   mchampaneri\timeslicer\UiCompServiceProvider::class

Second You have to publish the package

  php artisan vendor:publish
This command will publish all assets file need by the package at appropriate direcotries.

After This Three Steps are ready to use the larauicomp

Setup

At first you have to set the config file of larauicomp. Define the default css class for components otherwise it will take blank as default

In the second step you are ready to use this package where ever you want

Use

This is a library of views so you have to just include the view of component like this

$data = // Array of Data
@include('uicomp::table',['data'=>$data])

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: opensource
  • 更新时间: 2016-12-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固