Skip to content

toolpixx/UserBundleExtended

Repository files navigation

Please note: This is a very old project that has not been maintained since 2015!!!

UserBundleExtended

Build Status Code Quality

Build status and code quality is powered by Scrutinizer

What is UserBundleExtended?

UserBundleExtended is not a plugin for FOSUserBundle. It's an application that only will demonstrate how you can use FOSUserBundle-Method's and configuration. I have change many things for my needed privacy project for user and security. But many things is, what you search for on stackoverflow, too.

Now you can install this application for your sandbox. Play with it and you can see what you get, if you change configuration or methods.

I hope this application can answer your questions about FOSUB.

Checkout the video for visual demonstration at youtube

I have integrate the follow functions:

  • Avatar-Support

  • Locale-Support

  • Subuser-Support

  • Admin-Support for management all users of the application

  • Admin-Support with switch user

  • Small Dashboard to demonstrate how i can cache rss-feed.

  • Enquiry-Form with file upload and without database-entity. The entity is only for validations

  • Technical from FOSUB: Change forms, add event-listener, overwrite action-methods

  • and many other things.

Installation:

Very important note:

  • Please check if your parameter.yml has correct parameter for mysql-database and email. If not composer will ask for them.
  • Please checkout, that you create backup fro existing database.
#
# Clone the project from github
#
git clone git@github.com:toolpixx/UserBundleExtended.git
#
# Install all dependencies
#
sudo bin/composer.phar install
#
# Update your database-schema
#
sudo app/console doctrine:schema:update --force
#
# Install web-assets
#
sudo app/console assets:install
#
# Create upload-path for profile-pictures
# and copy the default-picture to the
# profile-pictures.
#
sudo bin/setup.sh
#
# Create admin-user
#
# user, email, password
#
sudo app/console fos:user:create admin demo@example.com 123456

#
# Add/promote role for admin-user
#
sudo app/console fos:user:promote admin ROLE_ADMIN
#
# Run internal php-server
#
sudo app/console server:run
#
# Look the port from step before and
# browse to this url.
#
http://127.0.0.1:PORT

Configuration?

Checkout the config_dev.yml, i have activated chromephp If you wan't use it, please comment it out.

chromephp

Checkout the config.yml, i have activated PhpStormOpener If you wan't use it, please comment ide out. PhpStormOpener

ide: "pstorm://%%f:%%l"

About

Add and change/overwrite some functions stuff for FOSUserBundle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •