backBack to templates

Symfony Starter

Full example of Symfony usage in Wasmer

preview of Symfony Starter

Symfony Demo Application

The "Symfony Demo Application" is a reference application created to show how to develop applications following the Symfony Best Practices.

You can also learn about these practices in the official Symfony Book.

Installation

There are 3 different ways of installing this project depending on your needs:

Download Composer and use the composer binary installed on your computer to run these commands:

composer install
php bin/console asset-map:compile

Usage

There's no need to configure anything before running the application. There are 2 different ways of running this application depending on your needs:

Option 1. You can run this command to use the built-in PHP web server:

php -S localhost:8000 -t public/

Option 2. Use Wasmer.

wasmer run . --net

Then access the application in your browser at the given URL (https://localhost:8000 by default).

Tests

Execute this command to run tests:

./bin/phpunit
FrameworkSymfony
LanguagePHP
Powered by package

php/php

Browse all templates →