Skip to Content
For DevelopersInstall and start Fastfony

Install and start Fastfony

Create new project

With Composer

You can create a new Fastfony project using Composer. We recommend creating a new development project on a local development machine and follow the Go to production instructions to deploy it on a production server.

With this method, no Git repository is created by default. You can initialize a Git repository later if needed.

  1. Open your terminal and navigate to the directory where you want to create your Fastfony project.
  2. Run the following command to create a new Fastfony project:
composer create-project fastfony/fastfony your-project-name

Replace your-project-name with the desired name for your project directory. 3. Navigate to the newly created project directory:

cd your-project-name

or with Github template

We recommend creating a new development project on a local development machine and follow the Go to production instructions to deploy it on a production server.

  1. Go on Fastfony Github template link   in order to create your own repository from the template.
  2. Clone the repository to your local machine using the command:
git clone https://github.com/your-username/your-repo-name.git
  1. Go in the new repo directory cd your-repo-name

Start Fastfony

  1. Run make start (or task start if you have Taskfile) and follow instructions in console.
  2. If you want use OAuth2 server run make oauth2-server-init (or task oauth2-server-init)
  3. Enjoy!

By default, Fastfony is available if you use Symfony local proxy  at https://fastfony.wip/  or https://localhost:9876  if not.

You can change the hostname or the port by modifying the .symfony.local.yaml file.

Last updated on