Download the PHP package vasildakov/speedy without Composer

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

Speedy API Client

An easy to use PHP client for Speedy REST API

build Scrutinizer Code Quality Code Coverage Build Status Packagist License Packagist Dependency Version Packagist Downloads

Speedy client is a PSR-7 and PSR-18 compliant HTTP client that implements Speedy communication protocol. It has clean and consistent API, is fully unit tested and even comes with an example application to get you started.

Features

This library is compliant with PSR-7: HTTP message interfaces, PSR-17: HTTP Factories and PSR-18: HTTP Client

Installation

Using Composer:

Usage

The Configuration

Let's presume that you are using PHP dotenv to load environment variables from a file named .env. In this case, you need to add the following variables:

The next step is to create a new Configuration instance like in the example bellow:

Configuring Speedy Client

The final step is to configure the Speedy client. The client can be configured with any PSR-18 HTTP Client and PSR-17 HTTP Factory:

Example with Guzzle and Laminas Diactoros

Example with Symfony HTTP Client and Nyholm HTTP Factory

Making a Request

Once you have configured the client, you can proceed to make your first request. By default, each method returns the data in JSON, which can then be utilized as a simple PHP array or deserialized into the PHP model.

Processing the Response

The client API always returns the raw JSON response received from the endpoint. The JSON can be used as it is, decoded into a PHP associative array, or deserialized into a model object.

Deserialization can be achieved in two different ways: 1) by using the serializer, or 2) by decorating the original Speedy client with the SpeedyModelDecorator.

Using serializer:

Instead of calling the serializer every time, you can enhance the original Speedy client by decorating it with the SpeedyModelDecorator. This enhancement makes the responses more convenient, predictable and easy to use.

Using the model

Documentation

TBC

License

Code released under the MIT license

Speedy REST API examples

Speedy Web API Integration


All versions of speedy with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
ext-xsl Version *
beberlei/assert Version ^3.3
doctrine/cache Version ^1.13
doctrine/collections Version ^2.1
fig/http-message-util Version ^1.1
guzzlehttp/guzzle Version ^7.7
guzzlehttp/psr7 Version ^2.5
jms/serializer Version ^3.25
laminas/laminas-diactoros Version ^3.0
laminas/laminas-hydrator Version ^4.14
laminas/laminas-serializer Version ^2.14
php-http/curl-client Version ^2.3
php-http/discovery Version ^1.14
php-http/message Version ^1.13
vlucas/phpdotenv Version ^5.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 vasildakov/speedy contains the following files

Loading the files please wait ....