Download the PHP package kadena-php/laravel without Composer
On this page you can find all versions of the php package kadena-php/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kadena-php/laravel
More information about kadena-php/laravel
Files in kadena-php/laravel
Package laravel
Short Description Laravel Client for use with the Kadena Pact API
License MIT
Homepage https://github.com/kadena-php/laravel
Informations about the package laravel
Kadena Laravel Client
This package includes a simple-to-use client to communicate with the Pact API.
Note: This repository only contains the integration code of the Kadena PHP client for Laravel. If you want to use the Kadena PHP client in a framework-agnostic way, take a look at the kadena-php/client repository.
Installation
Via Composer
You can configure the Kadena API base URL by configuring your env
:
Optionally, you can also publish the config file:
Usage
For usage examples, see the kadena-php/client repository before starting to use the Laravel integration.
This package contains three convenience Facades. Their usage are largely similar to the classes documented in the client package:
Client Facade
Usage
Command Facade
Usage
To see all options, see the Command Factory documentation in the client repository.
Metadata Facade
Usage
To see all options, see the Metadata Factory documentation in the client repository.
When not specifying any options like the example above, the options set in the kadena.php
config will be used.
Config
An example of the default config:
Change log
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security-related issues, please send an email instead of using the issue tracker.
Credits
- Hergen Dillema
- All Contributors
License
MIT. Please see the license file for more information.