Symfony4 does not provide FOSUserBundle like it was the case in versions 2 and 3. Currently, Symfony4 offers us security and authentication classes and methods, but all other logic is on us. This package provides you fully configured authentication system ready for future development (it could be used for websites with login or web apps behind the login). I have used all security classes and methods suggested from Symfony4 documentation. Mailing system is also configured as same as "best practices" for Symfony4 configuration. The code and templates are well organized and very flexible for upgrade. You can easy add new fields, change templates, change authentication settings, etc... Bootstrap 4 is included! After login, you will see "example bootstrap 4 template". This script is something like skeleton for web sites and web apps with authentication!
Create new account page
Activate account page/mail
Forgot password page/mail
Edit profile page
Change password page
Front end page (Bootstrap 4 template)
Linux server ( Ubuntu 16.04 LTS preferred )
1. unzip symfony4.zip in root of your web server (www, public_html, etc..) 2. if you unzipped it in www folder, enter in root of the project: - cd /var/www/symfony4/ 3. Set privileges: - sudo chown -R username:www-data . HIN :username is your server/system user - sudo chmod -R 775 . 4. Install npm: - sudo apt-get update - sudo apt-get install npm - composer update 5. Change database and smtp data: - sudo vim .env - change this line: DATABASE_URL=mysql://your_db_user:email@example.com:3306/symfony4 - change this line: MAILER_URL=gmail://your_gmail_user:your_gmail_password@localhost
MAILER_URL is set to use Gmail account(only for local env). You can set yours in order to make mails to work or you can set SMTP server(for live server) data too: - MAILER_URL=smtp://localhost:25?encryption=ssl&auth_mode=login&username=*****&password=****** 6. Link Apache2 configuration file: - sudo ln -s /var/www/symfony4/apache2.conf /etc/apache2/sites-available/your.domain.com.conf - sudo a2ensite your.domain.com.conf - sudo service apache2 restart 7. Create database, update schema, clear cache: - php bin/console doctrine:database:create - ./reload.sh
NOTICE (for local environment and built-in web server): - Gmail configuration for sending mails will work ONLY in dev environment! If you set the project in your local computer, open .env in the root of the project and change APP_ENV to "dev" (without quotes). - Start the APP from the root of your project with command: php bin/console server:run - Open your app on: http://127.0.0.1:8000 In this case, mails will work. If you put this project on the server with live domain, you need to set SMTP to send mails! - For production mode, you need to search in controllers and templates and replace value "http://127.0.0.1:8000" with your domain name! - For production mode, user apache configuration. For development mode, use built in server. - For production mode, check Symfony documentation in order to set right privileges under files and folders! For development mode, use privileges in step 3.
Future product updates
Quality checked by Codester
No transaction fees
Lowest price guarantee
A regular license allows an item to be used in one project for either personal or commercial use by you or on behalf of a client. The item cannot be offered for resale either on its own or as part of a project. Distribution of source files is not permitted.
An extended license allows an item to be used in unlimited projects for either personal or commercial use. The item cannot be offered for resale "as-is". It is allowed to distribute/sublicense the source files as part of a larger project.