承接 simonmarcellinden/laravelmultiselect 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

simonmarcellinden/laravelmultiselect

Composer 安装命令:

composer require simonmarcellinden/laravelmultiselect

包简介

Multi Select Component with Vue

README 文档

README

Latest Version on Packagist Total Downloads Build Status

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require simonmarcellinden/laravelmultiselect

To install all required files run the follow command

$ php artisan multiSelect:install

Laravel <= 5.4

Once LaravelMultiSelect is installed you need to register the service provider with the application. Open up config/app.php and find the providers key.

Add the service provider to config/app.php

    SimonMarcelLinden\LaravelMultiSelect\LaravelMultiSelectServiceProvider::class,

Optionally include the Facade in config/app.php if you'd like.

    "LaravelMultiSelect" => "SimonMarcelLinden\LaravelMultiSelect\Facades\LaravelMultiSelect::class",

Publish the configurations

Run this on the command line from the root of your project:

$ no config needed

A configuration file will be publish to config/scriptloader.php.

Usage

Add the following code snippet to your view

<?php 
    <x-multiSelect :values="$labels" />
?>

Or use the following code snippet to pre selected labels

<?php 
   <x-multiSelect :values="$values" :preSelect="$preSelect" />
?>

And define in your controller the labels for displaying

<?php 

namespace App\Http\Controllers;

class HomeController extends Controller  {

    public function index() {
        // Defaults labels
        $labels = [
            ['key' => '34123' , 'label' => 'License'],
            ['key' => '34124' , 'label' => 'GitHub Stars'],
            ['key' => '34125' , 'label' => 'Npm Monthly Downloads'],
            ['key' => '34126' , 'label' => 'Full Test Coverage'],
            ['key' => '34127' , 'label' => 'No Dependencies'],
            ['key' => '34128' , 'label' => 'Lorem Ipsum'],
            ['key' => '34129' , 'label' => 'AllPCB'],
            ['key' => '34130' , 'label' => 'DevTools'],
            ['key' => '34131' , 'label' => '@Deprecated'],
            ['key' => '34132' , 'label' => 'VueJS'],
            ['key' => '34133' , 'label' => 'Laravel'],
        ];        
        
        return view('welcome', ['labels' => $labels]);
    }
}
?>

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email inof@snerve.de instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固