Download the PHP package mbvienasbaitas/strapi-laravel-client without Composer
On this page you can find all versions of the php package mbvienasbaitas/strapi-laravel-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mbvienasbaitas/strapi-laravel-client
More information about mbvienasbaitas/strapi-laravel-client
Files in mbvienasbaitas/strapi-laravel-client
Package strapi-laravel-client
Short Description Strapi Client wrapper for Laravel.
License MIT
Informations about the package strapi-laravel-client
Strapi Laravel Client library
Laravel package to enable easier Strapi client management provided by mbvienasbaitas/strapi-php-client package.
Installation
To get started, simply require the project using Composer.
You will also need to install packages that "provide" psr/http-client-implementation and psr/http-factory-implementation. which is required by mbvienasbaitas/strapi-php-client
Usage
Default client configuration
Default client can be configured via environment. Here is a list of available configuration options.
| Environment variable | Description |
|---|---|
| STRAPI_CLIENT | Default client configuration to be used. Defaults to default |
| STRAPI_ENDPOINT | Endpoint url, eg.: https://localhost:1337 |
| STRAPI_TOKEN | Bearer token used for authentication. |
Default client using facade
Default client using injection
Custom client using facade
Custom client using injection
Using custom client and request factory interfaces
Custom client and request factory resolved implementations could be bound using built in resolver functionality.
Place snippets shown below in your ApplicationServiceProvider.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Edvinas Kručas
- All Contributors
Alternatives
License
The MIT License (MIT). Please see License File for more information.
All versions of strapi-laravel-client with dependencies
mbvienasbaitas/strapi-php-client Version ^v1.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0