Search by

drive / scaleflex-api-connector

driveau

Wrapper for the Scaleflex API (https://developers.scaleflex.com/)

Package info

github.com/caradvice/scaleflex-api-connector

pkg:composer/drive/scaleflex-api-connector

Statistics

Installs: 1 613

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.2.0 2026-11-07 05:38 UTC

README

Scaleflex API Connector

Latest Stable Version PHP Version Downloads Tests codecov

Description:

The Scaleflex PHP API Connector is a powerful tool designed to seamlessly integrate your PHP applications with Filerobot, a comprehensive digital asset management platform offered by Scaleflex. With this connector, developers can effortlessly leverage Filerobot's robust features to manage, optimize, and deliver digital assets within their PHP projects.

Requirements:

  • PHP ^8.2
  • composer
  • Laravel (or illuminate/support and illuminate/config) 10.48+, 11, 12 or 13
  • Guzzle ^7.8.1 or ^8, PSR-7 ^2.6 or ^3

Usage:

  • Add package to your project
      composer require caradvice/scaleflex-api-connector
  • Copy configuration file to your project
      php artisan vendor:publish --provider="Drive\ScaleflexApiConnector\ScaleflexServiceProvider" --tag="config"`
  • Set required environment variable values
    • SCALEFLEX_CONTAINER_ID - Container ID (can be found in Scaleflex hub)
    • SCALEFLEX_API_KEY - API key for Scaleflex API
  • Optional environment variables
    • SCALEFLEX_CONNECT_TIMEOUT - seconds to wait for a connection (default 5, 0 disables)
    • SCALEFLEX_TIMEOUT - seconds to wait for the whole request, including uploads (default 30, 0 disables)

Endpoint Coverage:

Testing:

Test suite is available in the package. To run tests, execute the following command:

Feature Tests:
composer test
Code Coverage:
composer coverage