Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Admingenerator User Bundle Laravel Package

cedriclombardot/admingenerator-user-bundle

View on GitHub
Deep Wiki
Context7

Symfony2 Admin Generator User Bundle


KnpBundles Badge project status Latest Stable Version Total Downloads

This package is a part of the Symfony2 Admin Generator based on YAML configuration and Twig templating.

It will allow you to associate to the FOSUserBundle a base layout configured throw a config in the config.yml

Follow us on Twitter!

Don't miss any updates from Symfony2 Admin Generator! Join Twitter today and follow us!

How to setup

Installation via composer


go back to Table of contents

1. Download files

Add Admingenerator to your composer.json:

v1.0 branch for Twitter Bootstrap2 styles

"require": {
    "cedriclombardot/admingenerator-user-bundle": "~1.0"
},

v1.1 branch for Twitter Bootstrap3 styles

"require": {
    "cedriclombardot/admingenerator-user-bundle": "~1.1"
},

Then run php composer.phar update command.

Note: The branches reflect branches of AdmingeneratorGeneratorBundle.

Setup the FOSUserBundle

Follow the bundle documentation : https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/index.md

Enable the bundle in AppKernel

 $bundles = array(
    // ....
    new Admingenerator\UserBundle\AdmingeneratorUserBundle(),

Configure the base layout to use for the login form

In config.yml

admingenerator_user:
     login_template: AdmingeneratorGeneratorBundle::base_admin.html.twig

Use the twig extension in your projects :

{% extends_my_configured_layout 'admingenerator.user_login_template' %}

Will be the same as :

{% extends 'The value of the container paramater admingenerator.user_login_template' %}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware