friendsofvictoire / connect-widget
Victoire Connect widget
Installs: 419
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- friendsofsymfony/user-bundle: ~2.0
- symfony/framework-bundle: ~2.3 | ~3.0 | ~4.0
- victoire/victoire: >=2.0.0|~3.0
This package is not auto-updated.
Last update: 2024-11-09 19:45:33 UTC
README
GET STARTED
Need to add a login form in a victoire cms website ?
First you need to have a valid Symfony Victoire edition. Then you just have to run the following composer command :
php composer.phar require friendsofvictoire/connect-widget
Declare your widget in your AppKernel:
new Victoire\Widget\ConnectBundle\VictoireWidgetConnectBundle(),
Add routes in app\config\routing.yml
victoire_widget_connect: resource: "@VictoireWidgetConnectBundle/Resources/config/routing.yml"
Widget Connect use some style and js, you can use Assetic Injector or include manually the assets.
Then you just need to have ROLE_VICTOIRE_DEVELOPER
and add this widget.
BASIC OPTIONS
redirect_url
: string - Redirect to this url after success login.
form_login
: boolean - Display or Hide the form login.