Download the PHP package graham-campbell/cloudflare-api without Composer
On this page you can find all versions of the php package graham-campbell/cloudflare-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download graham-campbell/cloudflare-api
More information about graham-campbell/cloudflare-api
Files in graham-campbell/cloudflare-api
Package cloudflare-api
Short Description CloudFlare API Is A CloudFlare API Client For Laravel 5
License MIT
Informations about the package cloudflare-api
Laravel CloudFlare API
Laravel CloudFlare API was created by, and is maintained by Graham Campbell, and is a CloudFlare API client for Laravel 5. It utilises Guzzle 5, and my Laravel Manager package. Feel free to check out the contribution guidelines.
WARNING
This package is no longer maintained.
Installation
PHP 5.4+ or HHVM 3.3+, and Composer are required.
To get the latest version of Laravel CloudFlare API, simply add the following line to the require block of your composer.json
file:
You'll then need to run composer install
or composer update
to download it and have the autoloader updated.
Once Laravel CloudFlare API is installed, you need to register the service provider. Open up config/app.php
and add the following to the providers
key.
'GrahamCampbell\CloudFlareAPI\CloudFlareAPIServiceProvider'
You can register the CloudFlareAPI facade in the aliases
key of your config/app.php
file if you like.
'CloudFlareAPI' => 'GrahamCampbell\CloudFlareAPI\Facades\CloudFlareAPI'
Configuration
Laravel CloudFlare API requires connection configuration.
To get started, you'll need to publish all vendor assets:
This will create a config/cloudflareapi.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
There are two config options:
Default Connection Name
This option ('default'
) is where you may specify which of the connections below you wish to use as your default connection for all work. Of course, you may use many connections at once using the manager class. The default value for this setting is 'main'
.
CloudFlare Connections
This option ('connections'
) is where each of the connections are setup for your application. Example configuration has been included, but you may add as many connections as you would like.
Usage
There is currently no usage documentation besides the API Documentation for Laravel CloudFlare API.
License
Laravel CloudFlare API is licensed under The MIT License (MIT).
All versions of cloudflare-api with dependencies
illuminate/contracts Version 5.0.*
illuminate/support Version 5.0.*
graham-campbell/manager Version ~2.0
guzzlehttp/guzzle Version ~5.0
guzzlehttp/guzzle-services Version 0.5.*
guzzlehttp/retry-subscriber Version ~2.0