Download the PHP package husail/delorean-sdk without Composer
On this page you can find all versions of the php package husail/delorean-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download husail/delorean-sdk
More information about husail/delorean-sdk
Files in husail/delorean-sdk
Package delorean-sdk
Short Description DeLorean PHP SDK
License MIT
Homepage https://github.com/husail/delorean-sdk
Informations about the package delorean-sdk
DELOREAN PHP SDK
The DELOREAN PHP SDK allows integration with the DeLorean API in any PHP project. It also provides Facades and a Service Provider for enhanced Laravel integration.
📦 Installation
🔧 Usage Example
For Non-Laravel PHP Projects:
Basic Usage:
With Logging:
For Laravel:
-
Publish the configuration:
-
Add environment variables in your
.envfile: -
Use the Facade to interact with the API:
-
Configure Logging
When
DELOREAN_LOG_ENABLEDis set totrue, the SDK logs request and response details via Laravel's default logging channel. By default, logs output compact JSON. If you want the JSON output to be more readable (pretty-printed), setDELOREAN_LOG_FORMATTER_EXPANDEDtotrue.
🤝 Contributing
We welcome contributions! Feel free to submit issues or pull requests to help improve the SDK.
📜 License
Licensed under the MIT License.
All versions of delorean-sdk with dependencies
ext-json Version *
cuyz/valinor Version ^1.14
php-http/client-common Version ^2.7
php-http/discovery Version ^1.19
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.0|^2.0
psr/log Version ^1.0|^2.0|^3.0