Giter Club home page Giter Club logo

symfony-starter's Introduction

Symfony Starter

A template for starting a new Symfony project. Runs inside a minimal Vagrant box, provisioned with Docker!

Requirements

  • Virtualbox >= v6.0
  • Vagrant >= v.2.2.6
  • mkcert

Usage

Simply click the green button above that says "Use this template", and you'll be prompted to create a new repository based on this one.

Once done, clone your newly created project and open up the Vagrantfile to modify the @hostname variable to a domain of your liking. Run vagrant up and your project should be available to hack on in a few minutes!

Running Composer and Symfony commands

Because our project lives inside a Docker container we can't just execute bin/console or composer like we normally would.

Instead, we have to invoke those commands like docker exec -it app bin/console cache:clear or docker exec -it app composer dumpautoload.

Typing all of this on a regular basis gets quite cumbersome, so we've provided some wrapper scripts to improve the developer experience. Running Symfony commands can be done by using sfc, short for "Symfony console", so for example: sfc cache:clear

Same for composer: composer invokes composer inside the app container.

symfony-starter's People

Contributors

kevinbungeneers avatar

Stargazers

Maarten Van Goubergen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.