aperdia/aperdiaui
最新稳定版本:3.2.2
Composer 安装命令:
composer require aperdia/aperdiaui
包简介
UI Basis for Laravel 5.5
关键字:
README 文档
README
This package includes UI modules of Bulma for a Laravel 5.5 project.
Configuration
Then you can add theses aliases in your app/config/app.php:
'Alert' => 'Aperdia\AperdiaUI\Alert',
'Breadcrumb' => 'Aperdia\AperdiaUI\Breadcrumb',
'Form' => 'Aperdia\AperdiaUI\Form'
'Aperdia\\AperdiaUI\\Provider\\AperdiaUIServiceProvider'
Alerts
You can display alerts with Alert class, you can choose design from Bootstrap or from your personal css.
Displays a alert box with class "alert-success".
Alert::success("Youpi !")
Displays a error box with close button
Alert::error("Youpi !")->close()
Breadcrumbs
You can display a simple breadcrumb.
Breadcrumb::create()->add("Home", "/")->add("News", "/news")->add("My News")
Dropdowns
You can display dropdowns with Dropdown class.
Dropdown::create("Admin")
->addText("Header 1")
->addLink("Link 1", "/edit")
->addLink("Link 2", "/delete")
->addDivider()
->addLink("Link 4", "/delete")
Form
### Input for group form
Input with type text, url, email...
Form::inputGroup($type_input, $name_input, $title, $value, $errors_from_Laravel, $attributes, $help)
Input with translation
Form::inputMultiLanguageGroup($languages, $type_input, $name_input, $title, $value, $errors_from_Laravel, $attributes, $help)
Select
Form::selectGroup($name_input, $title, $list, $value, $errors_from_Laravel, $attributes, $help)
Textarea
Form::textareaGroup($name_textarea, $title, $value, $errors_from_Laravel, $attributes, $help)
Textarea with translation
Form::textareaMultiLanguageGroup($languages, $name_textarea, $title, $value, $errors_from_Laravel, $attributes, $help)
Checkbox
Form:::checkboxGroup($name_checkbox, $title, $value, $input, $errors_from_Laravel, $attributes, $help)
Input radio
Form::radioGroup($name_radio, $title, $choices, $value, $errors_from_Laravel, $attributes, $help)
Submit
Form::submitGroup($options, $attributes)
统计信息
- 总下载量: 4.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-24