PHPackages                             fredjuvaux/silex-orm-skeleton - 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. [Database &amp; ORM](/categories/database)
4. /
5. fredjuvaux/silex-orm-skeleton

ActiveProject[Database &amp; ORM](/categories/database)

fredjuvaux/silex-orm-skeleton
=============================

A pre-configured skeleton for the Silex microframework with doctrine ORM and bootstrap config.

2.0.x-dev(11y ago)1596[2 issues](https://github.com/fredjuvaux/silex-orm-skeleton/issues)[1 PRs](https://github.com/fredjuvaux/silex-orm-skeleton/pulls)MITHTMLPHP &gt;=5.5.9

Since May 31Pushed 10y ago1 watchersCompare

[ Source](https://github.com/fredjuvaux/silex-orm-skeleton)[ Packagist](https://packagist.org/packages/fredjuvaux/silex-orm-skeleton)[ Docs](https://github.com/fredjuvaux/silex-orm-skeleton)[ RSS](/packages/fredjuvaux-silex-orm-skeleton/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (18)Versions (2)Used By (0)

silex-orm-skeleton
==================

[](#silex-orm-skeleton)

Silex skeleton with doctrine ORM, bootstrap and CRUD example.

For doctrine documentation see symfony and doctrine docs.

Install:

```
cd /path/to/your_project
git clone git@github.com:fredjuvaux/silex-orm-skeleton.git
```

Install composer:

```
curl -s https://getcomposer.org/installer | php
```

More information on Composer can be found on [getcomposer.org](http://getcomposer.org/).

And install your dependencies:

```
php composer.phar install
```

Set your database information in src/app.php:

```
$app->register(new DoctrineServiceProvider(), array(
    'db.options' => array(
        'driver'        => 'pdo_mysql',
        'host'          => 'localhost',
        'dbname'        => 'xxx',
        'user'          => 'xxx',
        'password'      => 'xxx',
    ),
));
```

Create database, then generate tables with CLI tool (for acme demo by example):

```
php bin/console orm:schema-tool:update --force
```

Commands available:

```
php bin/console --info
```

```
Available commands:
  help                             Displays help for a command
  list                             Lists commands
dbal
  dbal:import                      Import SQL file(s) directly to Database.
  dbal:reserved-words              Checks if the current database contains identifiers that are reserved.
  dbal:run-sql                     Executes arbitrary SQL directly from the command line.
orm
  orm:clear-cache:metadata         Clear all metadata cache of the various cache drivers.
  orm:clear-cache:query            Clear all query cache of the various cache drivers.
  orm:clear-cache:result           Clear result cache of the various cache drivers.
  orm:convert-d1-schema            Converts Doctrine 1.X schema into a Doctrine 2.X schema.
  orm:convert-mapping              Convert mapping information between supported formats.
  orm:ensure-production-settings   Verify that Doctrine is properly configured for a production environment.
  orm:generate-entities            Generate entity classes and method stubs from your mapping information.
  orm:generate-proxies             Generates proxy classes for entity classes.
  orm:generate-repositories        Generate repository classes from your mapping information.
  orm:info                         Show basic information about all mapped entities
  orm:run-dql                      Executes arbitrary DQL directly from the command line.
  orm:schema-tool:create           Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output.
  orm:schema-tool:drop             Drop the complete database schema of EntityManager Storage Connection or generate the corresponding SQL output.
  orm:schema-tool:update           Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata.
  orm:validate-schema              Validate that the mapping files.
```

Example:

```
php bin/console orm:generate-entities src
```

Acme CRUD demo routes:

```
/path/to/your_project/acme/
/path/to/your_project/acme/create
/path/to/your_project/acme/show/{id}
/path/to/your_project/acme/update/{id}
/path/to/your_project/acme/delete/{id}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

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

4042d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55bba782f6fed7bb8ebf839a6b516ae487f472b7fa9c2e8fc85e2fd03ba294e2?d=identicon)[fredjuvaux](/maintainers/fredjuvaux)

---

Top Contributors

[![fredjuvaux](https://avatars.githubusercontent.com/u/4604840?v=4)](https://github.com/fredjuvaux "fredjuvaux (20 commits)")

---

Tags

databaseormdoctrineproviderextensionbootstrapSkeletonsilex

### Embed Badge

![Health badge](/badges/fredjuvaux-silex-orm-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/fredjuvaux-silex-orm-skeleton/health.svg)](https://phpackages.com/packages/fredjuvaux-silex-orm-skeleton)
```

###  Alternatives

[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[sulu/sulu

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

1.3k1.4M196](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M514](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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