Download the PHP package mralston/bark-sdk without Composer
On this page you can find all versions of the php package mralston/bark-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mralston/bark-sdk
More information about mralston/bark-sdk
Files in mralston/bark-sdk
Package bark-sdk
Short Description PHP SDK for the Bark API.
License MIT
Homepage https://github.com/mralston/bark-sdk
Informations about the package bark-sdk
Bark SDK
This is PHP SDK for Bark. Bark is a world-leading services marketplace with over 5m customers in 8 countries around the world.
Visit the Bark website for more information.
Installation
You can install the package via composer:
Basic Usage
Fluent API
Many of the objects exposed by the API support method chaining.
Laravel
Configuration
In Laravel, you can publish the config file with:
This is the contents of the published config file:
Configure the environment variables with your client ID, secret.
Dependency Injection
In addition to the method chaining described in the fluent API section above, the Laravel integration takes care of authentication automatically. All you need to do is grab an instance of the client from the container and start using it.
You can use dependency injection to get a pre-authenticated instance of the client:
Alternatively, you can resolve an instance of the client from the container:
Facade
In true Laravel tradition, you can also use a facade (along with method chaining, of course!).
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Matt Ralston
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of bark-sdk with dependencies
ext-json Version *
guzzlehttp/guzzle Version >=6.0
nesbot/carbon Version ^2.0
ext-curl Version *