Download the PHP package fei/filer-package without Composer
On this page you can find all versions of the php package fei/filer-package. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fei/filer-package
More information about fei/filer-package
Files in fei/filer-package
Package filer-package
Short Description Filer client package integration for Objective PHP applications
License GPL-3.0
Informations about the package filer-package
Filer Package
This package provide Filer Client integration for Objective PHP applications.
Installation
Filer Package needs PHP 7.0 or up to run correctly.
You will have to integrate it to your Objective PHP project with composer require fei/filer-package
.
Integration
As shown below, the Filer Package must be plugged in the application initialization method. The Filer Package create a Filer Client service that will be consumed by the application's middlewares.
The name of the service will be filer.client
. If you want to rename it, you can plug the package like this:
Application configuration
`` Create a file in your configuration directory and put your Filer configuration as below:
In the previous example you need to set these configurations:
FilerEndpoint
: represent the URL where the API can be contacted in order to send and retrieve the files- `FilerTransportOptions : represents the options for the transport of the request if you want to set specific options
- `FilerAsyncTransport : if this config is set, the client will try to use the async transport instead of the BasicTransport
Please check out filer-client
documentation for more information about how to use this client.
All versions of filer-package with dependencies
objective-php/application Version ^1.0
fei/filer-client Version ~3.0
squizlabs/php_codesniffer Version *