承接 webkod3r/laravel-swivel 相关项目开发

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

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

webkod3r/laravel-swivel

最新稳定版本:v2.1.1

Composer 安装命令:

composer require webkod3r/laravel-swivel

包简介

Laravel wrapper for swivel component

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Zumba Swivel is a library that allows PHP applications to manage features to multiple users via buckets. It consists with 10 buckets, allowing the same code have up to 10 different behaviors.

This package is a bridge between Laravel/Lumen and Swivel. It provides a Facade, and Entity classes to be used in your Laravel application.

Structure

If you want to make a contribution, please make sure you follow Laravel package structure.

Install

Via Composer

$ composer require webkod3r/laravel-swivel

Rgister the new service provider in your application:

$app->register(LaravelSwivel\SwivelServiceProvider::class);

After installing the package you can copy the default configuration and replace it with your own. In order to do that copy the file inside vendor/webkod3r/laravel-swivel/config/swivel.php into your onw project.

Usage

Calling the app IoC and making your own instance

$swivel = app()->make('swivel');
$swivel->returnValue('CoolFeature', 'Active', 'No Active');

or, using the shipped Facade

use LaravelSwivel\Facades\Swivel;

Swivel::returnValue('CoolFeature', 'Active', 'No Active');

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please notify and open an issue.

License

The MIT License (MIT). Please see License File for more information.

Dcoker usage

docker run --rm -it --volume $(pwd):/var/www/html/ php:7.4-fpm-alpine /bin/ash
docker run --rm -it --volume $(pwd):/var/www/html/ php:8.0-fpm-alpine /bin/ash

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-11