Skip to content

dekalee/cdn77-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dekalee CDN77 Bundle

Scrutinizer Code Quality Latest Stable Version Total Downloads License

This symfony bundle wraps the usage of the library Cdn77

Installation

Use composer to install this bundle :

    composer require dekalee/cdn77-bundle

Activate it in the AppKernel.php file:

    new Dekalee\Cdn77Bundle\DekaleeCdn77Bundle(),

Configuration

In the config.yml file, you should set at least :

    dekalee_cdn77:
        login: %dekalee_cnd77_login%
        password: %dekalee_cnd77_password%

If you want to override the api urls used, you can do it for each of them :

    dekalee_cdn77:
        list: Your url
        create: Your url
        purge: Your url
        purge_all: Your url
        resource_log: Your url
        delete_resource: Your url

Usage

To use a query in your project, you can call (from a ContainerAwareInterface class) :

    $this->container->get('dekalee_cdn77.query.purge_all')->execute();

Each action will have it's own service.

Debug

In order to see some usefull debug information in the symfony profiler, you can install the eightpoints/guzzle-bundle.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages