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.
- Open your terminal and navigate to the directory where you want to create your Fastfony project.
- 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.
- Go on Fastfony Github template link in order to create your own repository from the template.
- Clone the repository to your local machine using the command:
git clone https://github.com/your-username/your-repo-name.git
- Go in the new repo directory
cd your-repo-name
Start Fastfony
- Run
make start
(ortask start
if you have Taskfile) and follow instructions in console. - If you want use OAuth2 server run
make oauth2-server-init
(ortask oauth2-server-init
) - 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.