2017 © Pedro Peláez
 

contao-bundle api-client-bundle

API Clients with Token Authentication for Contao

image

craffft/api-client-bundle

API Clients with Token Authentication for Contao

  • Monday, January 29, 2018
  • by Craffft
  • Repository
  • 2 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 20 % Grown

The README.md

Contao 4 API Client Bundle

The API Client Bundle adds a barcode and qrcode wizard to Contao, (*1)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*2)

$ composer require craffft/barqrcodewizard-bundle "dev-master"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*3)

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*4)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Craffft\ApiClientBundle\CraffftApiClientBundle(),
        );

        // ...
    }

    // ...
}

Usage

Extend your security.yml, (*5)

<?php
// app/config/security.yml

security:
    // ...

    providers:
        craffft.api_client.security.user_provider:
            id: craffft.api_client.security.user_provider

    // ...

    firewalls:
        api:
            pattern: ^/api
            stateless: true
            simple_preauth:
                authenticator: craffft.api_client.security.api_key_authenticator
            provider: craffft.api_client.security.user_provider

    // ...

The Versions

29/01 2018

dev-master

9999999-dev https://craffft.de

API Clients with Token Authentication for Contao

  Sources   Download

MIT

The Requires

 

The Development Requires

api client token contao

29/01 2018

1.1.0

1.1.0.0 https://craffft.de

API Clients with Token Authentication for Contao

  Sources   Download

MIT

The Requires

 

The Development Requires

api client token contao

02/07 2017

1.0.0

1.0.0.0

API Clients with Token Authentication for Contao

  Sources   Download

MIT

The Requires

 

api client token contao