2017 © Pedro Peláez
 

symfony-bundle user-bundle

Small wrapper for sonata user packages

image

wearejust/user-bundle

Small wrapper for sonata user packages

  • Wednesday, December 20, 2017
  • by ceesvanegmond
  • Repository
  • 3 Watchers
  • 0 Stars
  • 1,968 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 13 % Grown

The README.md

wearejust/user-bundle

This package is basically a small wrapper around Sonata User bundle, (*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 wearejust/user-bundle "~0.1"

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 Wearejust\UserBundle\WearejustUserBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Configure

// config.yml

fos_user:
    db_driver:      orm
    firewall_name:  main
    user_class:     'Wearejust\UserBundle\Entity\User'

    group:
        group_class: 'Wearejust\UserBundle\Entity\Group'
        group_manager: sonata.user.orm.group_manager

    service:
        user_manager: sonata.user.orm.user_manager

    from_email:
        address: "%mailer_user%"
        sender_name: "%mailer_user%"


sonata_user:
    class:
        user: 'Wearejust\UserBundle\Entity\User'
        group: 'Wearejust\UserBundle\Entity\Group'

    admin:
        user:
            class: Wearejust\UserBundle\Admin\UserAdmin
        group:
            class: Wearejust\UserBundle\Admin\GroupAdmin

    impersonating:
        route: sonata_admin_dashboard


The Versions

20/12 2017

1.x-dev

1.9999999.9999999.9999999-dev

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

20/12 2017

1.0.2

1.0.2.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

05/12 2017

1.0.1

1.0.1.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

05/12 2017

1.0

1.0.0.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

24/08 2017

0.5

0.5.0.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

22/08 2017

0.4

0.4.0.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

15/08 2017

dev-master

9999999-dev

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

09/08 2017

0.3

0.3.0.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

07/08 2017

0.2

0.2.0.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires

 

07/08 2017

0.1

0.1.0.0

Small wrapper for sonata user packages

  Sources   Download

MIT

The Requires