New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

webkod3r/laravel-swivel

Laravel wrapper for swivel component
1,755 3
Install
composer require webkod3r/laravel-swivel
Latest Version:v2.1.1
PHP:>=7.3
Laravel:6 · 7 · 8
Older releases:5
License:MIT
Last Updated:May 20, 2026
Links: GitHub  ·  Packagist
Maintainer: webkod3r

Laravel Swivel

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

Related Packages

kiendaotac/lumen-installer

Lumen application installer.

12 0
appzcoder/lumen-routes-list

Display the route list of Lumen

747,431 117
codeception/module-lumen

Codeception module for Lumen framework

167,947 0
mlntn/lumen-artisan-serve

artisan serve for Lumen projects

100,473 49
cosmicvelocity/lumen-helpers

Improves interoperability between Lumen and Laravel.

65,662 6

Version History

Version Released PHP Laravel License
v2.1.1 >=7.3 ^6.0|^7.0|^8.0 MIT
v2.1.0 >=7.3 ^6.0|^7.0|^8.0 MIT
v2.0.0 ^7.2 ^6.0|^7.0|^8.0 MIT
v1.1.0 ~5.6|~7.0.0 ~5.4 MIT
v1.0.1 ~5.6|~7.0.0 ~5.4 MIT