PHPackages                             eriktrapman/webcommand-bundle - 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. eriktrapman/webcommand-bundle

AbandonedArchivedSymfony-bundle[CLI &amp; Console](/categories/cli)

eriktrapman/webcommand-bundle
=============================

Enables you to run a Command from a browser when there's no SSH-access

034PHP

Since Mar 23Pushed 13y agoCompare

[ Source](https://github.com/ErikTrapman/WebCommandBundle)[ Packagist](https://packagist.org/packages/eriktrapman/webcommand-bundle)[ RSS](/packages/eriktrapman-webcommand-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

WebCommandBundle
================

[](#webcommandbundle)

The aim of this bundle is to ease managing a Symfony-application on a shared-hosting environment. In a shared-hosting environment there's not always the possibility to execute console-commands. This bundle allows to execute a console-command from a Controller and gives feedback in a flahs-message.

The bundle is not intended to make you run long cron-tasks from the Controller but to provide tools to update your database-schema, or install assets.

Example:

```
    /**
     * @Route("/", name="admin_index")
     * @Template("")
     */
    public function indexAction(\Symfony\Component\HttpFoundation\Request $request)
    {

        $form = $this->createForm('eriktrapman_commandselectortype');
        if ($request->getMethod() == 'POST') {
            $form->bind($request);
            if ($form->isValid()) {
                $event = new \ErikTrapman\Bundle\WebCommandBundle\Event\CommandRunEvent(
                    $form->get('command')->getData(),
                    $form->get('options')->getData());
                $this->get('event_dispatcher')->dispatch('eriktrapman.command.run', $event);
                return $this->redirect($this->generateUrl('admin_index'));
            }
        }
        return array('form' => $form->createView());
    }
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/40c5d546520aceb9e4f4b9bccaf4b630fc4a3ef0d53566b9c385fcb2aa3e149a?d=identicon)[ErikTrapman](/maintainers/ErikTrapman)

---

Top Contributors

[![ErikTrapman](https://avatars.githubusercontent.com/u/1147578?v=4)](https://github.com/ErikTrapman "ErikTrapman (5 commits)")

### Embed Badge

![Health badge](/badges/eriktrapman-webcommand-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/eriktrapman-webcommand-bundle/health.svg)](https://phpackages.com/packages/eriktrapman-webcommand-bundle)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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