Download the PHP package andersundsehr/unleash without Composer

On this page you can find all versions of the php package andersundsehr/unleash. 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 unleash

EXT:unleash

TYPO3 extension to integrate the Unleash feature toggle service.

installation

composer require andersundsehr/unleash

Set configuration in the extension settings:

Configuration

Required are the appUrl and in most cases authorization (if you use the hosted unleash service)

Usage

TypoScript Condition

you can use the custom TypoScript condition unleash to check if a feature is enabled.

`

if you want to check A/B/n flags, you can use the unleashVariant condition.

`

Fluid ViewHelper

if you want to check if a feature is enabled in your Fluid templates, you can use the unleash:isEnabled ViewHelper.

`

if you want to check A/B/n flags, you can use the unleash:getVariant ViewHelper.

`

PHP

you can inject the Unleash service into your classes and use it like this:

The configuration and Context will already be set up for you.

for more detailed usage information, please refer to the Unleash PHP SDK Documentation

``

or you can use GeneralUtility to get the Unleash instance

``

CustomContext

with this extension you have the possiblity to constrain the feature toggles to specific users, or admins, or logged in users.
backend and frontend:

Extending with Events

you can extend the functionality of the Extension by using the following events.

UnleashBuilderBeforeBuildEvent

Event that is dispatched right before the UnleashBuilder is built (->build()).

``

UnleashCustomContextEvent

This event is dispatched when the Unleash context is created.
use this if you only want to overwrite or add customContext data
if you want to change anything else, use the UnleashContextCreatedEvent

``

UnleashContextCreatedEvent

Event that is dispatched right after the UnleashContext is created with all the default values.
Will be called multiple times, once per ->isEnabled or ->getVariant call.

``

with ♥️ from anders und sehr GmbH

If something did not work 😮
or you appreciate this Extension 🥰 let us know.

We are hiring https://www.andersundsehr.com/karriere/


All versions of unleash with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0 || ~8.4.0
typo3/cms-core Version ^11.5 || ^12.4 || ^13.4
typo3/cms-lowlevel Version ^11.5 || ^12.4 || ^13.4
unleash/client Version ^2.5
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 andersundsehr/unleash contains the following files

Loading the files please wait ....