PHPackages                             claroline/dev-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. [Admin Panels](/categories/admin)
4. /
5. claroline/dev-bundle

ActiveLibrary[Admin Panels](/categories/admin)

claroline/dev-bundle
====================

068826PHP

Since Apr 7Pushed 10y ago15 watchersCompare

[ Source](https://github.com/claroline/DevBundle)[ Packagist](https://packagist.org/packages/claroline/dev-bundle)[ RSS](/packages/claroline-dev-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (6)

DevBundle
=========

[](#devbundle)

WARNING
-------

[](#warning)

**DEVELOPMENT HAS MOVED TO [claroline/Distribution](http://github.com/claroline/Distribution). THIS REPOSITORY IS NO LONGER MAINTAINED.**

Bundle gathering tools, libraries and commands useful for Claroline development.

Tools and libraries
-------------------

[](#tools-and-libraries)

### [PHPUnit](https://phpunit.de/)

[](#phpunit)

Unit testing framework.

### [PHP-CS-Fixer](http://cs.sensiolabs.org/)

[](#php-cs-fixer)

Detects and fixes coding standard violations. The configuration included in this bundle relies on PSR-\* and Symfony coding standards (see \[\] ()).

### [vfsStream](http://vfs.bovigo.org/)

[](#vfsstream)

Creates a virtual filesystem (useful for mocking the real one in unit tests).

### [Travis CI](http://travis-ci.org)

[](#travis-ci)

Offers a continuous integration service for building and testing projects hosted at github.

This bundle provides a few scripts and resources for setting up a working environment for Claroline bundles on travis. Basically, the procedure described below will reproduce a minimal app structure, with a test database and all the dependencies required by your bundle.

Here are the steps to getting started:

1. Activate travis for your bundle's github repository (just follow the instructions at ).
2. Make sure you have a *phpunit.xml* file located in the root directory of your bundle. If you don't, you can copy the \[default config file\] () provided by this bundle.
3. Include this bundle in the dev dependencies of your bundle:

    ```
    "require-dev": {
        "claroline/dev-bundle": "dev-master"
    }
    ```
4. Place this [.travis.yml](https://github.com/claroline/DevBundle/tree/master/Resources/travis/.travis.yml)in the root directory of your bundle.
5. Commit and push/PR, and you should see a travis build starting.

Commands
--------

[](#commands)

### claroline:debug:service OWNER SERVICE\_NAME METHOD\_NAME PARAMETERS \[-a\]

[](#clarolinedebugservice-owner-service_name-method_name-parameters--a)

This command fires a method of a service. It's allows you to see your logs in real time and is especially convenient for debugging doctrine with the -a parameter (doctrine flushes are shown).

- OWNER: the username of the user starting the action (it's injected into the symfony2 token storage service).
- SERVICE\_NAME: the service you want to execute.
- METHOD\_NAME: The method you want to fire.
- PARAMETERS: The list of parameters your function needs. It currently support only 'simple' type (ie: string, int, boolean). If the parameter is an entity, you can pass its id and the object will be retrieved.
- \[-a\]: Show the doctrine logs.

`php app/console claroline:debug:service root claroline.manager.workspace_manager createWorkspaceFromModel 2 1 lh lh -a -vvv`

### claroline:debug:translation LANGUAGE \[--domain=\] \[--main\_lang=\] \[--fqcn=\] \[-f\]

[](#clarolinedebugtranslation-language---domain---main_lang---fqcn--f)

This command will allow you to reorder translations and adding the missing keys of foreign languages files. It will show you missing translations in the console (those where the translation keys are equals to the translations).

- LOCALE : The language you want to check.
- \[--domain=\]: the translation domain (default: platform)
- \[--main\_lang\]= : the language file containing all translations (default: fr)
- \[--fqcn\]= : The bundle you want to check the translations (default: ClarolineCoreBundle)
- \[-f\]: Update the translation file (reorder and inject the missing keys).

`php app/console claroline:debug:translation en --domain=forum --main_lang=fr --fqcn=ClarolineForumBundle -f`

### claroline:tool \[tool \[bundle\]\]

[](#clarolinetool-tool-bundle)

Launches one of the available tool scripts (located in *./Resources/scripts/tools*) for a given bundle.

This command can be used interactively (e.g. to see the list of available tools) :

`php app/console claroline:tool`

**Available tools:**

- *cs*: applies PHP-CS-fixer to the bundle
- *cs-dry*: applies PHP-CS-fixer diff (no changes, just preview) to the bundle

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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://avatars.githubusercontent.com/u/897720?v=4)[Claroline](/maintainers/claroline)[@claroline](https://github.com/claroline)

---

Top Contributors

[![stefk](https://avatars.githubusercontent.com/u/880921?v=4)](https://github.com/stefk "stefk (35 commits)")[![ngodfraind](https://avatars.githubusercontent.com/u/1397430?v=4)](https://github.com/ngodfraind "ngodfraind (9 commits)")[![LaurentGruber](https://avatars.githubusercontent.com/u/5804394?v=4)](https://github.com/LaurentGruber "LaurentGruber (1 commits)")

### Embed Badge

![Health badge](/badges/claroline-dev-bundle/health.svg)

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

PHPackages © 2026

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