PHPackages                             madebydavid/silex-skeleton-orm - 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. madebydavid/silex-skeleton-orm

ArchivedLibrary

madebydavid/silex-skeleton-orm
==============================

Skeleton Silex app with ORM and cli tool for generating model and schema

v2.0(11y ago)472PHP

Since Aug 27Pushed 10y ago2 watchersCompare

[ Source](https://github.com/madebydavid/SilexSkeletonORM)[ Packagist](https://packagist.org/packages/madebydavid/silex-skeleton-orm)[ RSS](/packages/madebydavid-silex-skeleton-orm/feed)WikiDiscussions master Synced 2mo ago

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

Silex Skeleton ORM [![Latest Stable Version](https://camo.githubusercontent.com/6a7022b42f76e3673acb8c6b1f48eda9b22cc391bf5892feb025acbd059b0a26/68747470733a2f2f706f7365722e707567782e6f72672f6d616465627964617669642f73696c65782d736b656c65746f6e2d6f726d2f762f737461626c652e737667)](https://packagist.org/packages/madebydavid/silex-skeleton-orm)
======================================================================================================================================================================================================================================================================================================================================================

[](#silex-skeleton-orm-)

A simple Silex skeleton project with Twig, Doctrine, ORM, Bootstrap, jQuery and other common components.
--------------------------------------------------------------------------------------------------------

[](#a-simple-silex-skeleton-project-with-twig-doctrine-orm-bootstrap-jquery-and-other-common-components)

To view the full list of dependancies, have a look at the [composer.json](composer.json) file.

Based on [Fabien Potencier's Silex Skeleton](https://github.com/silexphp/Silex-Skeleton), but with more up to date dependencies and a different structure.

### To install with composer

[](#to-install-with-composer)

#### 1. Install composer if you don't have it already:

[](#1-install-composer-if-you-dont-have-it-already)

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

#### 2. Grab this project as your base

[](#2-grab-this-project-as-your-base)

```
$ php composer.phar create-project madebydavid/silex-skeleton-orm silex-project
$ cd silex-project
```

#### 3. Configure the database in the [dev config file](config/dev.php):

[](#3-configure-the-database-in-the-dev-config-file)

```
$app['config'] = array(
    'db.options' => array(
        'driver'    => 'pdo_mysql',
        'dbname'    => 'skeleton-dev',
        'user'      => 'root',
        'password'  => ''
    )
);
```

#### 4. Create the database which you have just configured:

[](#4-create-the-database-which-you-have-just-configured)

```
$ mysqladmin -uroot create skeleton-dev
```

#### 5. Create your model

[](#5-create-your-model)

You can create your model with [Doctrine YAML documents](http://doctrine2.readthedocs.org/en/stable/reference/yaml-mapping.html) in the [config/doctrine/schema](config/doctrine/schema) directory, make a new file called Model.EntityName.dcm.yml for each entity:

```
#config/doctrine/schema/Model.Person.dcm.yml
Model\Person:
    type: entity
    table: person
    fields:
        id:
            type: integer
            id: true
            generator:
                strategy: AUTO
        name:
            type: string
            length: 255
        created:
            type: datetime
            columnDefinition: TIMESTAMP DEFAULT CURRENT_TIMESTAMP

```

#### 6. Generate the Entity classes from the YAML:

[](#6-generate-the-entity-classes-from-the-yaml)

```
$ ./console orm:generate-entities src/
```

#### 7. Create the schema:

[](#7-create-the-schema)

```
$ ./console orm:schema-tool:create
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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 ~6 days

Total

2

Last Release

4267d ago

Major Versions

v1.0 → v2.02014-09-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/f97c698cfea30693f50061c7dcba3c743e3785b1f3e454e117c0554e8d597bc1?d=identicon)[madebydavid](/maintainers/madebydavid)

---

Top Contributors

[![madebydavid](https://avatars.githubusercontent.com/u/5401249?v=4)](https://github.com/madebydavid "madebydavid (31 commits)")

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M648](/packages/sylius-sylius)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M309](/packages/easycorp-easyadmin-bundle)

PHPackages © 2026

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