PHPackages                             virge/project - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. virge/project

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

virge/project
=============

v1.2.1(9y ago)0211PHP

Since Mar 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/siosphere/virge-project)[ Packagist](https://packagist.org/packages/virge/project)[ RSS](/packages/virge-project/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

Virge Project
=============

[](#virge-project)

Used to create a new empty Virge project, including most used virge libraries (virge/core, virge/db, virge/router, virge/orm)

Adding your code
----------------

[](#adding-your-code)

Simply add your namespace in the src/ directory, and add your Namespace to the bootstrap.php file.

Capsules
--------

[](#capsules)

Virge projects are split into Capsules, you register all capsules in the Reactor (app/Reactor.php). Each Capsule must be defined as follows:

```
namespace Siosphere\MyCapsule;

/**
 *
 */
class Capsule extends \Virge\Core\Capsule {
    public function registerCapsule() {

    }
}
```

Virge will automatically read all configuration files in the *config* directory of your capsule. This directory is where you will register new services, routes, and API calls.

Registering Services
--------------------

[](#registering-services)

Let's say we have the capsule src\\Siosphere\\MyCapsule, and we had a service Siosphere\\MyCapsule\\Service\\TestService. Create a file called *services.php*in the src\\Siosphere\\MyCapsule\\config\\ directory.

```
use Siosphere\MyCapsule\Service\TestService;
use Virge\Virge;

Virge::registerService("my_service_identifier", new TestService());
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~129 days

Total

4

Last Release

3379d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2582612?v=4)[Michael Kramer](/maintainers/siosphere)[@siosphere](https://github.com/siosphere)

---

Top Contributors

[![siosphere](https://avatars.githubusercontent.com/u/2582612?v=4)](https://github.com/siosphere "siosphere (11 commits)")

### Embed Badge

![Health badge](/badges/virge-project/health.svg)

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

###  Alternatives

[ether/tags

A tag manager for Craft 3

21200.9k1](/packages/ether-tags)[elgentos/category-tiling

Adds tiling display option to categories for showing sub-categories as tiles

2137.0k](/packages/elgentos-category-tiling)[facebook/facebook-for-magento

Facebook For Magento

852.0k](/packages/facebook-facebook-for-magento)

PHPackages © 2026

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