Download the PHP package graham-campbell/cloudflare without Composer

On this page you can find all versions of the php package graham-campbell/cloudflare. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cloudflare

Laravel CloudFlare

Laravel CloudFlare was created by, and is maintained by Graham Campbell, and provides a simple CloudFlare module for Laravel 5. Feel free to check out the releases, contribution guidelines.

Laravel CloudFlare

Build Status Coverage Status Quality Score Latest Version

Installation

PHP 5.5+ or HHVM 3.6+, and Composer are required.

To get the latest version of Laravel CloudFlare, 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 is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.

Configuration

Laravel CloudFlare supports optional configuration.

To get started, you'll need to publish all vendor assets:

This will create a config/cloudflare.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 a few config options:

API Key

This option ('key') defines the api key to use to make calls to CloudFlare's API. The default value for this setting is ''.

Email

This option ('email') defines the email address to use to make calls to CloudFlare's API. The default value for this setting is ''.

Zone

This option ('zone') defines the zone to read analytics information for. The default value for this setting is ''.

Cache Driver

This option ('cache') defines the cache driver to be used. It may be the name of any driver set in config/cache.php. Setting it to null will use the driver you have set as default in config/cache.php. The default value for this setting is null.

Middleware

This option ('middlware') defines the middleware to be put in front of the endpoints provided by this package. A common use will be for your own authentication middleware. The default value for this setting is [].

Layout

This option ('layout') defines the layout to extend when building views. The default value for this setting is 'layouts.default'.

Usage

Laravel CloudFlare is designed to work with Bootstrap CMS. In order for it to work in any Laravel application, you must ensure that you know how to use my Laravel Core package as configuration and knowledge of the app:install and app:update commands is required.

Laravel CloudFlare will register two routes. 'cloudflare' (cloudflare.index) should be accessed to show the CloudFlare statistics page, and 'cloudflare/data' (cloudflare.data) is internally used by this package.

License

Laravel CloudFlare is licensed under The MIT License (MIT).


All versions of cloudflare with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
illuminate/contracts Version 5.0.*
illuminate/routing Version 5.0.*
illuminate/support Version 5.0.*
illuminate/view Version 5.0.*
lightgear/asset Version ~2.0
graham-campbell/core Version ~2.0
graham-campbell/cloudflare-api Version 0.7.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package graham-campbell/cloudflare contains the following files

Loading the files please wait ....