PHPackages                             trismegiste/scaffolding - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. trismegiste/scaffolding

AbandonedSymfony-bundle[Testing &amp; Quality](/categories/testing)

trismegiste/scaffolding
=======================

Scaffolding for phpunit in symfony2

v1.0.0(11y ago)667PHPPHP &gt;=5.4CI failing

Since Sep 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Trismegiste/RADBundle)[ Packagist](https://packagist.org/packages/trismegiste/scaffolding)[ RSS](/packages/trismegiste-scaffolding/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

TrismegisteRADBundle
====================

[](#trismegisteradbundle)

[![https://travis-ci.org/Trismegiste/RADBundle.svg?branch=master](https://camo.githubusercontent.com/db8b6354b0833f9925b76b851532ccf75e0ada3c187a05b49af94c7ee2e6294d/68747470733a2f2f7472617669732d63692e6f72672f547269736d6567697374652f52414442756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Trismegiste/RADBundle)What
----

[](#what)

The purpose of this bundle is scaffolding :

- unit test skeletons for any class including a mockup generator
- minimal functional tests for controller

How
---

[](#how)

Unit test for a class named Demo in subdirectory Service

```
app/console test:generate:class MyBundle:Service/Demo
```

Testing the DemoController in MyBundle

```
app/console test:generate:routing MyBundle:Demo
```

Testing a set of routes of AcmeDemoBundle, filtered by a pattern

```
app/console test:generate:routing --bundle AcmeDemoBundle _demo
```

Who
---

[](#who)

- Coders in the early stage of a project just after creating model
- Coders in a advanced stage of a project just before refactoring if unit tests don't exists (bad)
- Scanning all routes of bundle to check security when unauthenticated user
- Checking if no HTTP/500

Where
-----

[](#where)

Include this bundle in your AppKernel like any other bundles.

Why
---

[](#why)

Because unit testing are mandatory. You can't live without it. But honestly the creation of an unit testing class for an entity is somewhat dull, specially when many mockups are involved. This is usually the same code, the same start... Unit tests are vital when you are in a team and/or when you need refactoring (and you always need refactoring, unless you can beat Spock on tridimensional chess).

Eventualy, the goal of the bundle is to earn time when you're starting test classes, every test class, but don't expect it'll code in your place. You'll have to fill the gap, move the namespace, delete some tests, add yours, extends some validations...

When
----

[](#when)

- You have just created your entity with strong assertions and you need to check if validations are OK now and will be OK in the future after any change in the code.
- Your are in a hurry and you need to refactor one or many bundles. Then, you discover that the sub-directory DirtyBundle/Tests/ is empty, you are doomed !

Then, you have 2 choices :

- refactoring without unit testing. This is like playing russian roulette with a machine gun
- use this bundle to rapidily generate some unit testing. Now you have only 2 or 3 bullets in your six shooter.

How much
--------

[](#how-much)

Don't abuse of this bundle. You should use this only once per entity. It does not make ANY sense to re-create unit testing every time you modifiy your class !

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4262d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64cc99ca21a090b2454784670e4ac49db17794d6861078eeceebdbe302365c3f?d=identicon)[trismegiste](/maintainers/trismegiste)

---

Top Contributors

[![Trismegiste](https://avatars.githubusercontent.com/u/1260026?v=4)](https://github.com/Trismegiste "Trismegiste (33 commits)")

---

Tags

phpunitsymfonyscaffolding

### Embed Badge

![Health badge](/badges/trismegiste-scaffolding/health.svg)

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

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[lchrusciel/api-test-case

Perfect PHPUnit TestCase for JSON/XML API TDD with Symfony.

4115.5M63](/packages/lchrusciel-api-test-case)[matthiasnoback/symfony-config-test

Library for testing user classes related to the Symfony Config Component

1679.8M395](/packages/matthiasnoback-symfony-config-test)[shopsys/http-smoke-testing

HTTP smoke test case for testing all configured routes in your Symfony project

68258.7k1](/packages/shopsys-http-smoke-testing)[ramunasd/symfony-container-mocks

Provides extended Symfony dependency injection container enabling service mocking.

2295.8k2](/packages/ramunasd-symfony-container-mocks)[lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

2244.3k13](/packages/lastzero-test-tools)

PHPackages © 2026

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