PHPackages                             flagrow/serve - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. flagrow/serve

AbandonedArchivedFlarum-extension[CLI &amp; Console](/categories/cli)

flagrow/serve
=============

Start Flarum in the PHP developement server

0.1.0(8y ago)34091mitPHP

Since Jul 24Pushed 8y ago2 watchersCompare

[ Source](https://github.com/flagrow/serve)[ Packagist](https://packagist.org/packages/flagrow/serve)[ RSS](/packages/flagrow-serve/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Serve by [![Flagrow logo](https://avatars0.githubusercontent.com/u/16413865?v=3&s=20)](https://avatars0.githubusercontent.com/u/16413865?v=3&s=20) [Flagrow](https://discuss.flarum.org/d/1832-flagrow-extension-developer-group), a project of [Gravure](https://gravure.io/)
==============================================================================================================================================================================================================================================================================

[](#serve-by--flagrow-a-project-of-gravure)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/flagrow/serve/blob/master/LICENSE.md) [![Latest Stable Version](https://camo.githubusercontent.com/f98a120caa0b3a9813738a52be03d147bae890f07ae0e80952386d440f1fb95a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6167726f772f73657276652e737667)](https://packagist.org/packages/flagrow/serve) [![Total Downloads](https://camo.githubusercontent.com/6618e3c12ae4d3b5da3f374c2e6fc09d4aa92de906134a735ac97186e62ddea8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6167726f772f73657276652e737667)](https://packagist.org/packages/flagrow/serve) [![Donate](https://camo.githubusercontent.com/03062e082acb09f5df3398a22aafb3ebc9558c3a9b8fddd5b96d658a34b002f6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617472656f6e2d737570706f72742d79656c6c6f772e737667)](https://www.patreon.com/flagrow) [![Join our Discord server](https://camo.githubusercontent.com/d73628b17bbfd9568a0c942585827f1391f81c21bd56e3cac269c6e2e746c469/68747470733a2f2f646973636f72646170702e636f6d2f6170692f6775696c64732f3234303438393130393034313331353834302f656d6265642e706e67)](https://flagrow.io/join-discord)

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 !**

Install
-------

[](#install)

Use [Bazaar](https://discuss.flarum.org/d/5151-flagrow-bazaar-the-extension-marketplace) or install manually:

```
composer require flagrow/serve

```

Usage
-----

[](#usage)

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=0.0.0.0 --port=4000

```

You can check the help via:

```
php vendor/bin/flagrow help serve

```

This extension uses the [flagrow/console](https://github.com/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](https://github.com/flagrow/console) to see what else is available if you enable it.

Standalone usage
----------------

[](#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 127.0.0.1:8000 vendor/flagrow/serve/src/server.php

```

Support our work
----------------

[](#support-our-work)

We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on [Patreon](https://www.patreon.com/flagrow).

Security
--------

[](#security)

If you discover a security vulnerability within Serve, please send an email to the Gravure team at . 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.

Links
-----

[](#links)

- [Flarum Discuss post](https://discuss.flarum.org/d/6373-flagrow-serve-start-flarum-in-the-php-development-server)
- [Source code on GitHub](https://github.com/flagrow/serve)
- [Report an issue](https://github.com/flagrow/serve/issues)
- [Download via Packagist](https://packagist.org/packages/flagrow/serve)

An extension by [Flagrow](https://flagrow.io/), a project of [Gravure](https://gravure.io/).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3216d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (6 commits)")[![luceos](https://avatars.githubusercontent.com/u/504687?v=4)](https://github.com/luceos "luceos (1 commits)")

---

Tags

consoleflagrowflagrow-consoleflarumflarum-extensionphp-serverconsoleserverextensionflarumflagrow

### Embed Badge

![Health badge](/badges/flagrow-serve/health.svg)

```
[![Health](https://phpackages.com/badges/flagrow-serve/health.svg)](https://phpackages.com/packages/flagrow-serve)
```

###  Alternatives

[samdark/yii2-webshell

A web shell that allows to run yii console commands and create your own commands.

22981.5k1](/packages/samdark-yii2-webshell)[fof/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)[fedemotta/yii2-cronjob

Yii2 extension to help in the creation of automated console scripts

2233.5k](/packages/fedemotta-yii2-cronjob)[fof/mason

Add custom fields to discussions

206.0k](/packages/fof-mason)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
