Download the PHP package velocity-sports-labs/datacenter-laravel-sdk without Composer
On this page you can find all versions of the php package velocity-sports-labs/datacenter-laravel-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download velocity-sports-labs/datacenter-laravel-sdk
More information about velocity-sports-labs/datacenter-laravel-sdk
Files in velocity-sports-labs/datacenter-laravel-sdk
Package datacenter-laravel-sdk
Short Description VSL Data Center is a bridge for Laravel
License MIT
Informations about the package datacenter-laravel-sdk
Laravel VSL Data Center
Laravel VSL Data Center is a VSL Data Center PHP SDK bridge for Laravel.
Installation
This package requires PHP ^8.1 and supports Laravel 10 and above.
You can install the package via composer by running:
After the installation has completed, the package will automatically register itself. Run the following to publish the config file
This creates a config/vsl-datacenter.php
config file with contents like:
Do not worry about the api_base
and user_gent
keys, but it is advisable to set the user_agent
key. In your .env
file, you can set the VSL_DATA_CENTER_USER_AGENT
environment variable as below
Usage
Here you can see an example of just how simple this package is to use. After you enter your authentication details in the config file, it will just work:
The DataCenter facade is bound to the `` class behind the scenes. For more information on how to use the class, check out the docs at https://github.com/velocitysportslabs/datacenter-php-sdk,
Testing
Run the tests with:
Roadmap
Here are a list of outstanding tasks to do:
- [ ] add tests
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.
Credits
- Abdul Kudus Issah
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of datacenter-laravel-sdk with dependencies
velocity-sports-labs/datacenter-php-sdk Version ^1.0
guzzlehttp/guzzle Version ^7.2
guzzlehttp/psr7 Version ^2.6
illuminate/contracts Version ^10.0|^11.0
illuminate/support Version ^10.0|^11.0