Download the PHP package petersons/d2l-client without Composer
On this page you can find all versions of the php package petersons/d2l-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download petersons/d2l-client
More information about petersons/d2l-client
Files in petersons/d2l-client
Package d2l-client
Short Description Client implementation for connecting to Brightspace/D2L APIs.
License MIT
Informations about the package d2l-client
Petersons D2L API client
Status
This package is currently in active development.
Installation
- Require the package using Composer:
Features
- Provides a PHP HTTP client to communicate with D2L APIs
- Provides integration with Laravel
Requirements
- PHP 8.2 or greater
Usage example
Laravel integration
You may publish the configuration file using the vendor:publish Artisan command:
After setting up all the needed config env variables you can typehint
the \Petersons\D2L\Contracts\ClientInterface
interface via the constructor of your service and start using it.
Local development
Docker dependencies for local development:
- Docker Engine >= 19.03
- Docker Compose >= 1.25.5
-
Clone project
-
Build the Docker image
-
Install library dependencies
-
Running all tests with Xdebug debugging disabled
-
Running all tests with Xdebug debugging enabled
-
Running linter
- Clear Docker volumes
All versions of d2l-client with dependencies
ext-curl Version *
ext-simplexml Version *
illuminate/collections Version ^10.0 || ^11.0
illuminate/contracts Version ^10.0 || ^11.0
illuminate/support Version ^10.0 || ^11.0
nesbot/carbon Version ^2.72 || ^3.0
symfony/http-client Version ^6.4 || ^7.0