2017 © Pedro Peláez
 

symfony-bundle front-desk-bundle

Front Desk Symfony2 Bundle

image

openclassrooms/front-desk-bundle

Front Desk Symfony2 Bundle

  • Monday, November 20, 2017
  • by openclassrooms-admin
  • Repository
  • 15 Watchers
  • 0 Stars
  • 3,573 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

SensioLabsInsight Build Status Coverage Status, (*1)

The FrontDeskBundle offers integration of the FrontDesk Library. FrontDesk Library is a PHP5 library that provides FrontDesk functionality in your application. See FrontDesk for full details., (*2)

Installation

This bundle can be installed using composer:, (*3)

composer require openclassrooms/front-desk-bundle, (*4)

or by adding the package to the composer.json file directly:, (*5)

{
    "require": {
        "openclassrooms/front-desk-bundle": "*"
    }
}

After the package has been installed, add the bundle to the AppKernel.php file:, (*6)

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new OpenClassrooms\Bundle\FrontDeskBundle\OpenClassroomsFrontDeskBundle(),
    // ...
);

Configuration

# app/config/config.yml

openclassrooms_frontdesk:
    key:  %frontdesk.key%
    token: %frontdesk.token%

Usage

ENROLLMENT

$enrollmentService = $container->get('openclassrooms.frontdesk.service.enrollment');

Query Enrollment

$enrollmentService->query($field, $filter, $limit);

PACK

$packService = $container->get('openclassrooms.frontdesk.service.pack');

Create Pack

$packService->create(new PackStub());

Delete Pack by id

$packService->deletePack($packId); 

PERSON

$personService = $container->get('openclassrooms.frontdesk.service.person');

Post Person

$personService->create(new PersonStub());

Put Person

$personService->update(new PersonStub());

Get Person by id

$personService->find($personId);

Get All People

$personService->findAll($page);

Get person by query

$personService->search($query);

PLAN

Get Plan by Person id

$planService = $container->get('openclassrooms.frontdesk.service.plan');
$planService->getPlans($personId);

VISIT

Get Visits by person id

$visitService = $container->get('openclassrooms.frontdesk.service.visit');
$visitService->getVisits($personId, $from, $to);

Delete Visit by id

$visitService = $container->get('openclassrooms.frontdesk.service.visit');
$visitService->deleteVisit($visitId);

The Versions

20/11 2017

dev-master

9999999-dev

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

20/11 2017

v1.1.4

1.1.4.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

20/11 2017

v1.1.3

1.1.3.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

20/11 2017

dev-test_remove_frontdesk_name

dev-test_remove_frontdesk_name

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

23/10 2017

dev-test_mentoring_prod_data

dev-test_mentoring_prod_data

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

13/04 2017
09/01 2017

v1.1.1

1.1.1.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

09/01 2017

v1.1.2

1.1.2.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

21/12 2016

v1.1.0

1.1.0.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

19/12 2016

v1.0.6

1.0.6.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

08/12 2016

v1.0.5

1.0.5.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

21/11 2016

v1.0.4

1.0.4.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

15/11 2016

v1.0.3

1.0.3.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

27/10 2016

v1.0.2

1.0.2.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

19/10 2016

v1.0.1

1.0.1.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot

07/10 2016

v1.0.0

1.0.0.0

Front Desk Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by OpenClassrooms
by Killian Herbunot