Skip to content

This project is a Sandbox for start a Symfony 3 project quickly

Notifications You must be signed in to change notification settings

TheKassaK/symfony-3-sandbox

Repository files navigation

Symfony 3 Sandbox with FOSUserBundle

This project is a Sandbox for start a Symfony 3 project quickly

In this project you have :

  • FOSUserBundle pre-configured with a basic User class and all routes (/login, /register, /resetting)

  • All major FOSUserBundle templates are already overrode in app/Resources/FOSUserBundle/views

  • DoctrineFixturesBundle installed :

    • You can load the fixtures with php app/console doctrine:fixtures:load
    • You will get 2 accounts in your DB :
      • Login : admin, Password : admin with ROLE_ADMIN
      • Login : user, Password : user with ROLE_USER
  • An AdminController :

    • Prefixed with /admin in routing.yml
    • All routes require ROLE_ADMIN
    • A default admin_home view
  • An UserController:

    • Prefixed with /user in routing.yml
    • All routes require ROLE_USER or ROLE_ADMIN
    • A default user_home view
  • A default route /redirect-after-login in AppBundle:Controller:DefaultController

  • A default main.css in web/css

  • A starter template with Bootstrap 3 CSS|JS and jQuery

  • For quickly send emails, you can use MailGun for get :

    • mailer_host
    • mailer_user
    • mailer_password

    And configure them in parameters.yml

Ask me if you need help or if you need something else in the sandbox :)

About

This project is a Sandbox for start a Symfony 3 project quickly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published