Download the PHP package soapbox/laravel-rollout without Composer

On this page you can find all versions of the php package soapbox/laravel-rollout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-rollout

Laravel Rollout

A Laravel package for opensoft/rollout

Build Status Coverage Status Code Climate

Installation

Composer

Configuring the Service Provider

Package discovery will configure the service provider automatically.

Setting up Storage

Publish the Configuration

Setting up a Cache

If you intend to use cache to store the settings for rollout, be sure to enable the cache for your Laravel application. Note if you are using the cache, a cache clear during deployment will cause your rollout settings to be purged. If you require persistence for these settings use the option below.

Setting up Persistent Storage

This will allow you to have rollout settings be persisted even if you clear the application cache for every deployment.

Running the Migrations
Configuring your Environment

Implementing Interfaces

User

Your rollout users must implement the \Jaspaul\LaravelRollout\Contracts\User interface. Often this will be your main user object:

Group

Your rollout groups must implement the \Jaspaul\LaravelRollout\Contracts\Group interface.

and you should update your local laravel-rollout.php configuration to include the group in the groups array:

laravel-rollout.php

Commands

Add Group

php artisan rollout:add-group {feature} {group}

Swap {feature} with the name of the feature, and {group} with the name you defined in the group class.

Add User

php artisan rollout:add-user {feature} {user}

Swap {feature} with the name of the feature, and {user} with a unique identifier for the user in your system.

Create

php artisan rollout:create {feature}

Swap {feature} with the name of the feature you'd like to create a feature flag for.

Deactivate

php artisan rollout:deactivate {feature}

Swap {feature} with the name of the feature you'd like to deactivate globally. Note this will also reset the user allowlist.

Delete

php artisan rollout:delete {feature}

Swap {feature} with the name of the feature you'd like to permanently delete from rollout.

Everyone

php artisan rollout:everyone {feature}

Swap {feature} with the name of the feature you'd like to rollout to 100% of your user base.

List

php artisan rollout:list

Percentage

php artisan rollout:percentage {feature} {percentage}

Swap {feature} with the name of the feature you'd like to rollout, and {percentage} with the percentage of users to rollout the feature to.

Remove Group

php artisan rollout:remove-group {feature} {group}

Swap {feature} with the name of the feature, and {group} with the name you defined in the group class.

Remove User

php artisan rollout:remove-user {feature} {user}

Swap {feature} with the name of the feature, and {user} with a unique identifier for the user in your system to remove the feature from.


All versions of laravel-rollout with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
illuminate/cache Version ^6.0
illuminate/config Version ^6.0
illuminate/console Version ^6.0
illuminate/database Version ^6.0
illuminate/support Version ^6.0
opensoft/rollout Version 2.2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package soapbox/laravel-rollout contains the following files

Loading the files please wait ....