This package is abandoned and no longer maintained. No replacement package was suggested.

Start Flarum in the PHP developement server






Installs: 409

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 0

Open Issues: 0


0.1.0 2017-07-24 17:49 UTC

This package is auto-updated.

Last update: 2021-05-11 07:32:16 UTC


MIT license Latest Stable Version Total Downloads Donate Join our Discord server

Add the serve command to Flarum. This will allow you to start Flarum into the PHP development server via a simple command.

This package is made for developers, it should probably not be installed on production servers. Use at your own risks !


Use Bazaar or install manually:

composer require flagrow/serve


Enable the extension via the admin dashboard. You can then start the dev server from the Flarum root folder with:

php vendor/bin/flagrow serve

The command has the same options as the Laravel serve command:

php vendor/bin/flagrow serve --host= --port=4000

You can check the help via:

php vendor/bin/flagrow help serve

This extension uses the flagrow/console package to provide non-standard commands in Flarum. "Flagrow Console" is shown in the extension tab as well, but you don't have to enable it in order to use the serve command. See the Flagrow Console README to see what else is available if you enable it.

Standalone usage

If Flarum is not yet installed or you can't enable the extension, you can also use the router script directly:

php -S vendor/flagrow/serve/src/server.php

Support our work

We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon.


If you discover a security vulnerability within Serve, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed.

Please include as many details as possible. You can use php flarum info to get the PHP, Flarum and extension versions installed.


An extension by Flagrow, a project of Gravure.