PHPackages                             v3knet/module - 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. v3knet/module

AbandonedArchivedProject

v3knet/module
=============

0.2.0(10y ago)01821PHPPHP &gt;=5.5

Since Aug 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/v3knet/module)[ Packagist](https://packagist.org/packages/v3knet/module)[ RSS](/packages/v3knet-module/feed)WikiDiscussions 0.1 Synced 1mo ago

READMEChangelogDependencies (26)Versions (6)Used By (1)

Modular Silex [![Build Status](https://camo.githubusercontent.com/c43be6610fdd2fe6a6bb2d4cf67116f76f6635a181300212e81de962edaeda1b/68747470733a2f2f7472617669732d63692e6f72672f61747068702f617473696c65782e7376673f6272616e63683d302e31)](https://travis-ci.org/atphp/atsilex)
==============================================================================================================================================================================================================================================================================

[](#modular-silex-)

Built-ins features
------------------

[](#built-ins-features)

1. Twig/Bootstrap/Google analytics/…

- Doctrine Cache, DBAL, ORM
- BernardPHP message queue
- SF2 Console (make your command as service, name it as `anything.command.the_name`, then run `php cli.php`, you see your command is auto registered)
- Module system, check `./modules/system` as example.
- Swagger UI

Usage
-----

[](#usage)

Require `atphp/atsilex` in your project's `composer.json` file:

```
{
  "name": "v3knet/website",
  "require": {
    "atphp/atsilex": "^0.1.0"
  },
  "scripts": {
    "post-install-cmd": [
      "atsilex\\module\\system\\commands\\InstallerScript::execute"
    ]
  },
  "extra": {
    "atsilex": {
      "%site_name%": "My Project",
      "%site_version%": "1.0-dev",
      "%site_url%": "http://www.vendor-name.com/",
      "%site_frontpage%": "hello",
      "%site_ga_code%": "UA-1234567-890",
      "%vendor_name%": "Vendor Name"
    }
  }
}
```

On composer install `atsilex` will setup default structure for for your application:

```
files/                   # Directory to store temporary files (cache, compiled templates, …)
config.default.php       # (*) Default
config.php               # The file that return configuration for application.
public/                  # Document root
      /index.php         # (*) Front controller
      /assets/modules/*  # Symlinks for modules's assets
                         # Don't edit (*), they will be overwritten in next composer install.

```

Write custom module
-------------------

[](#write-custom-module)

A module is basically a class which extends `atsilex\module\Module`. Each module can:

1. [Define custom services](https://github.com/atphp/atsilex/blob/0.1/modules/system/resources/docs/DI.md)

- [Define new routes](http://j.mp/1U9Xpwx)
- [Define new commands](http://j.mp/1WOXsSL)
- [Listen to system events](http://j.mp/1WOXutP)

Define a module is simple, you also need tell the application about your module — edit `config.php`, include your modules there:

```
return [
    // …
    'modules' => [
        'my_module' => 'MyModule',
        'system'    => 'atsilex\module\system\SystemModule', # Can't disable
    ],
    // …
];
```

Configure database connection
-----------------------------

[](#configure-database-connection)

Default database for application is a SQLite file, it's auto created in `files/app.db`when we run `php public/index.php orm:schema-tool:create` command.

To change default config for database connection, in `config.php`, add code similar to this:

```
# SQlite
# $db_options = ['driver' => 'pdo_sqlite',  'path' => '/alternative/path/to/app.db'];

# MySQL
$db_options = [
    'driver'    => 'pdo_mysql',
    'host'      => 'mysql_write.someplace.tld',
    'dbname'    => 'my_database',
    'user'      => 'my_username',
    'password'  => 'my_password',
    'charset'   => 'utf8mb4',
];

return [
 // …
 'db.options' => $db_options,
 // …
];
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.9% 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 ~10 days

Total

6

Last Release

3872d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7dec27604d3084152d8f60b6e42356591006052ec44da672b9539f107011d271?d=identicon)[andytruong](/maintainers/andytruong)

---

Top Contributors

[![and1truong](https://avatars.githubusercontent.com/u/41143?v=4)](https://github.com/and1truong "and1truong (132 commits)")[![andytruong](https://avatars.githubusercontent.com/u/181753561?v=4)](https://github.com/andytruong "andytruong (42 commits)")

### Embed Badge

![Health badge](/badges/v3knet-module/health.svg)

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

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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