Skip to content
/ explore-symfony-2 Public template

This repository is to explore Different Symfony Components.

License

Notifications You must be signed in to change notification settings

gopibabus/explore-symfony-2

Repository files navigation

Symfony Concepts 2

Topics Explored

  • Doctrine Relationships
  • Symfony Security (Authentication & Authorization)
  • Symfony Forms
  • Symfony Mailer(Not Swift Mailer 🙅)
  • Uploading files in Symfony

How to Set up and run the Application

# Copy Config
# Feel free to update values in .env file as needed
cp ./.env.dist ./.env

DATABASE_URL="mysql://root:root@127.0.0.1:3306/symfony_concepts_2"

# Install php dependencies
composer update

# Create Database
php bin/console doctrine:database:create

# Migrate data to database
php bin/console doctrine:migrations:migrate

# Update Database with Dummy Data
php bin/console doctrine:fixtures:load

# Serve Application
symfony server:start