Download the PHP package getsidekicker/flagr-client without Composer

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

flagr-client

Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".

Installation & Usage

Requirements

PHP 7.4 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

API Endpoints

All URIs are relative to http://localhost/api/v1

Class Method HTTP request Description
ConstraintApi createConstraint POST /flags/{flagID}/segments/{segmentID}/constraints
ConstraintApi deleteConstraint DELETE /flags/{flagID}/segments/{segmentID}/constraints/{constraintID}
ConstraintApi findConstraints GET /flags/{flagID}/segments/{segmentID}/constraints
ConstraintApi putConstraint PUT /flags/{flagID}/segments/{segmentID}/constraints/{constraintID}
DistributionApi findDistributions GET /flags/{flagID}/segments/{segmentID}/distributions
DistributionApi putDistributions PUT /flags/{flagID}/segments/{segmentID}/distributions
EvaluationApi postEvaluation POST /evaluation
EvaluationApi postEvaluationBatch POST /evaluation/batch
ExportApi getExportEvalCacheJSON GET /export/eval_cache/json
ExportApi getExportSqlite GET /export/sqlite
FlagApi createFlag POST /flags
FlagApi deleteFlag DELETE /flags/{flagID}
FlagApi findFlags GET /flags
FlagApi getFlag GET /flags/{flagID}
FlagApi getFlagEntityTypes GET /flags/entity_types
FlagApi getFlagSnapshots GET /flags/{flagID}/snapshots
FlagApi putFlag PUT /flags/{flagID}
FlagApi restoreFlag PUT /flags/{flagID}/restore
FlagApi setFlagEnabled PUT /flags/{flagID}/enabled
HealthApi getHealth GET /health
SegmentApi createSegment POST /flags/{flagID}/segments
SegmentApi deleteSegment DELETE /flags/{flagID}/segments/{segmentID}
SegmentApi findSegments GET /flags/{flagID}/segments
SegmentApi putSegment PUT /flags/{flagID}/segments/{segmentID}
SegmentApi putSegmentsReorder PUT /flags/{flagID}/segments/reorder
TagApi createTag POST /flags/{flagID}/tags
TagApi deleteTag DELETE /flags/{flagID}/tags/{tagID}
TagApi findAllTags GET /tags
TagApi findTags GET /flags/{flagID}/tags
VariantApi createVariant POST /flags/{flagID}/variants
VariantApi deleteVariant DELETE /flags/{flagID}/variants/{variantID}
VariantApi findVariants GET /flags/{flagID}/variants
VariantApi putVariant PUT /flags/{flagID}/variants/{variantID}

Models

Authorization

All endpoints do not require authorization.


All versions of flagr-client with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2 || ^7.4
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 getsidekicker/flagr-client contains the following files

Loading the files please wait ....