Skip to content

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:[email protected]: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