PHP, Symfony, Laravel, and more to come

Here, you learn to code by coding.

PHP, Symfony and Laravel run in your browser. You write the code, the page reloads, then the tests tell you whether it works. Nothing to install, no videos to watch.

Try an exercise no account, promise

The first chapter of every track is free with an account.

MenuController.php index.html.twig
// Bruna wants a menu at the /menu address
#[Route('/menu', name: 'app_menu')]
public function index(): Response
{
    return $this->render('menu/index.html.twig', [
        'tavern'       => 'The Drunken Dragon Tavern',
        'dishOfTheDay' => 'Wild boar stew',
    ]);
}▌
localhost/menu The Drunken Dragon Tavern Dish of the day Wild boar stew House mead3 gp
Goals The menu is reachable The dish of the day is displayed Prices are in gold pieces 2 / 3 passed+ 100 XP

Code on the left, the page on the right. Change a line and the preview reloads. One click runs the tests.

You code from the first minute

Every concept is learned by writing it, in an editor with autocompletion, next to a preview that reacts to each line.

Everything runs in the tab

PHP, Symfony and Laravel run in the browser. There's no Docker and no environment to fix before you write the first line.

A project that grows

Each track follows the same project from the first chapter to the last. The code you write at the start is still used at the end.

How it works

An exercise, in four steps

  1. Read the instructions

    A concrete need, set by a character in the track: a menu, a booking, a staff roster.

  2. Write the code

    In an editor with autocompletion and syntax highlighting, on the files of a real project. The official documentation is one click away.

  3. Watch the preview

    Your page reloads with every change. Errors show up, and with an account, the mentor explains them (in French for now).

  4. Pass the goals

    Automated tests check each goal. Stuck? Step-by-step hints, never the solution up front.

The common thread

Every track tells the story of a project

In the Symfony track, Bruna has just taken over the Drunken Dragon Tavern and has never had a website. In the PHP track, Madame Lou, the village postwoman, wants to put the Saint-Glinglin gazette online. Every exercise starts from one of their requests.

The code from the first exercise is still used in the last chapter. You learn the way developers actually work, on a project that grows, gets reread and keeps evolving.

Tracks

The available tracks. More are coming.

New to PHP? Learn the basics of the language, objects, Composer's autoload and a router, without a framework, by putting a small village's gazette online.

6 chapters · 40 exercises · about 13 h €29.00 €19.00 incl. VAT, lifetime access Founder price, 100 seats left Buy First chapter free
  1. 01 Today's front page free · 7 ex. · ≈ 1 h 45 min
    VariableStringechoNumberConcatenation
  2. 02 The newsroom gets organized 9 ex. · ≈ 3 h 15 min
    ClassObjectConstructorNamed argumentsreadonly
  3. 03 Too many requires 4 ex. · ≈ 1 h 30 min
    require_once__DIR__Code organizationDebuggingError message
  4. 04 Composer takes over 4 ex. · ≈ 1 h
  5. 05 Every article gets its address 9 ex. · ≈ 3 h
    composer requireDependencyvendor/ComposerRouter
  6. 06 The Gazette is online 7 ex. · ≈ 3 h
    Template<?= ?>ob_start()extract()require

Comfortable with PHP and OOP? Learn Symfony by building, chapter after chapter, the website of the Drunken Dragon tavern.

12 chapters · 74 exercises · about 47 h €79.00 €49.00 incl. VAT, lifetime access Founder price, 99 seats left Buy First chapter free
  1. 01 First steps at the tavern free · 8 ex. · ≈ 3 h
  2. 02 The cellar and the pantry 6 ex. · ≈ 2 h 45 min
    EntityMappingDoctrineRepositoryDependency injection
  3. 03 The tavern's scrolls 6 ex. · ≈ 2 h 45 min
    FormsFormTypeEntityTypeCSRFValidator
  4. 04 The keys to the tavern 6 ex. · ≈ 3 h 30 min
    Firewallform_loginaccess_controlUserInterfaceEntity provider
  5. 05 Magic scrolls 6 ex. · ≈ 4 h 30 min
    JSON API$this->json()Serializer#[Groups]#[Groups] on a method
  6. 06 Never again! 6 ex. · ≈ 4 h
    WebTestCasecreateClient()submitFormAssertionsTest database
  7. 07 The messenger raven 6 ex. · ≈ 3 h 30 min
    MessengerMessage#[AsMessageHandler]MessageBusInterfaceTransport
  8. 08 Back to the cellar 6 ex. · ≈ 4 h 45 min
    Migrationsdoctrine:migrations:diffdoctrine:migrations:migrateup() and down()Data migration
  9. 09 The tavern's inner workings 6 ex. · ≈ 3 h 30 min
    Kernel eventskernel.request#[AsEventListener]RequestEventClockInterface
  10. 10 The life of a reservation 6 ex. · ≈ 4 h 30 min
    MailerMailerInterfaceEmailMAILER_DSNassertEmailCount
  11. 11 The boss's orders 6 ex. · ≈ 4 h
    Console command#[AsCommand]SymfonyStyle#[Option]Exit codes
  12. 12 The big night 6 ex. · ≈ 6 h 15 min
    ModelingEntities and relationsValidationMigrationsController and templates

Server-side Go, the Laravel way: routes, controllers, views, validation, middleware and a database, by writing the API of a bike courier cooperative. Free, in the browser, nothing to install.

4 chapters · 13 exercises · about 4 h 30 min First chapter free
  1. 01 First pedal strokes free · 4 ex. · ≈ 1 h 15 min
  2. 02 The round 4 ex. · ≈ 1 h 30 min
    StructJSON tagQuery stringfor rangeappend
  3. 03 Locking up the depot 2 ex. · ≈ 40 min
    Route groupPrefixAnonymous functionMiddlewareHTTP header
  4. 04 The logbook 3 ex. · ≈ 1 h
    Query builderSQLitedb tagError handlingInsert

In the works

  • Sécuriser une application Symfony Coming soon

    Vous avez fait le parcours Symfony ? Apprenez à sécuriser une application réelle en réparant, faille après faille, la boutique en ligne de la Brasserie Lacombe, piratée la veille de votre arrivée.

  • L'architecture hexagonale avec Symfony 8 Coming soon

    Vous connaissez Symfony ? Apprenez l'architecture hexagonale sans dogme, en sortant pas à pas le site de réservation des Canoës de la Brune de son contrôleur obèse : ports, adaptateurs, cas d'usage et tests à chaque pas.

  • Laravel pour les devs PHP Coming soon

    Vous maîtrisez PHP et la POO ? Apprenez Laravel en construisant, chapitre après chapitre, le site qui ramènera Plok, extraterrestre égaré, sur sa planète.

  • Symfony et l'IA Coming soon

    Vous connaissez Symfony ? Branchez un modèle d'IA dans une vraie application avec Symfony AI : agent, sortie structurée, outils, RAG et serveur MCP, en construisant l'assistant du service client du Comptoir.

  • Apprendre le TDD en PHP Coming soon

    Écrivez le test d'abord : rouge, vert, refacto. Apprenez le TDD avec PHP 8.5 et PHPUnit 12, des premiers tests aux doublures et au code hérité, en remplaçant le vieux tableur de paie d'une fruitière à comté.

  • Docker pour les devs PHP Coming soon

    Votre application PHP marche sur votre machine ? Apprenez Docker en l'embarquant, conteneur après conteneur, du premier docker run jusqu'à la mise en production, sur les quais de la criée de Port-Bigorneau.

  • Nuxt pour les devs Vue Coming soon

    Vous connaissez Vue ? Apprenez ce que Nuxt y ajoute (pages, rendu serveur, partie serveur) en passant sur Nuxt le site du refuge du Pic Tordu, à 2 350 mètres, où le réseau passe mal.

A summary sheet at the end of every chapter, as a web page and a PDF. At the end of the track, the full booklet: your own notes, written as you learned.

AI in its proper place

A mentor that gives hints, never the answer

A model that writes the solution teaches you nothing. Here, AI steps in only where a good mentor would, whatever the track. Hints are open to everyone; code review and explanations come with a signed-in account.

Step-by-step hints.A lead, then a direction, then a snippet. You decide how far to go.

A code review.Once the tests pass, a look at what could be more idiomatic.

Errors explained.An exception turned into its likely cause, without handing you the fix.

Who it's for

Whether you already code or not yet

Working developer

You're adding a string to your bow, with good practices from the start rather than in code review. Today PHP 8 and Symfony, soon Laravel, Nuxt and Docker.

Computer science student

You've covered the theory in class. What's missing is practice on a real project, the kind expected in an internship or an apprenticeship.

Team or school

You train several people and want to follow their progress: an invitation link, the tracks of your choice, a progress dashboard. Our offer for schools and companies.

Who's behind it

Arnaud is the developer behind Forelse

Built by Arnaud Pointet, a freelance developer (Forelse, Bordeaux), who writes every exercise the way he would have wanted to learn. The platform's engine is open source (AGPL): its code is public, to read or to run yourself.

My background and expertise

Ready to start?

The first chapter of every track is free. Create your account: your progress follows you.

Frequently asked questions

Does it really run in the browser?

Yes. The track's language and framework run in WebAssembly, in a browser tab. Nothing is sent to a server to run your code.

Which tracks?

Today: Learn PHP 8 from scratch, Symfony for PHP developers and Discover Goravel. The tracks are in French for now. In the works: Sécuriser une application Symfony, L'architecture hexagonale avec Symfony 8, Laravel pour les devs PHP, Symfony et l'IA, Apprendre le TDD en PHP, Docker pour les devs PHP and Nuxt pour les devs Vue.

How much does it cost?

The first chapter of every track is free: you just need an account. The full track is a one-time purchase, with the price shown including VAT, lifetime access and updates: no subscription. A school or a company can also open access for a whole group; contact us for a quote.

What happens if I get stuck on an exercise?

You ask for a hint, then a second, more precise one. With an account, the full solution is available, but it won't earn you the exercise's XP.

How is it different from video tutorials?

You don't watch anything: you write all the code yourself, on a project that grows exercise after exercise. The time you spend is practice time.

Is it up to date?

Each track targets the current versions (Symfony 8 and PHP 8.6 for the first one), and the exercises are checked automatically with every engine update.

Can I host it myself?

Yes, eventually: the engine is licensed under the AGPL and its code will be published at launch. The tracks are the paid content: that's what you buy.