PHPackages                             democrito88/demovel - 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. [Framework](/categories/framework)
4. /
5. democrito88/demovel

ActiveLibrary[Framework](/categories/framework)

democrito88/demovel
===================

Library that create a structure of a simple PHP project on MVC achitecture.

00PHP

Since Aug 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/democrito88/demovel)[ Packagist](https://packagist.org/packages/democrito88/demovel)[ RSS](/packages/democrito88-demovel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Demovel
=======

[](#demovel)

[![Version](https://camo.githubusercontent.com/9317ae85a28006120c23af66a173e80bcbe56f5d598a63bb735e4b467186f9d9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76302e312e302d6665643030303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/9317ae85a28006120c23af66a173e80bcbe56f5d598a63bb735e4b467186f9d9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76302e312e302d6665643030303f7374796c653d666f722d7468652d6261646765)[![License](https://camo.githubusercontent.com/0b270698c9dd5d684ff8cfdf6ae7a91708bda5e31921310409c333810748a293/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d49542d3061633138653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/0b270698c9dd5d684ff8cfdf6ae7a91708bda5e31921310409c333810748a293/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d49542d3061633138653f7374796c653d666f722d7468652d6261646765)[![PHP](https://camo.githubusercontent.com/bbeaca4ecdd74d3fde840f711ebb8a5def2ff801187623f9bc365761b3b66f86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/bbeaca4ecdd74d3fde840f711ebb8a5def2ff801187623f9bc365761b3b66f86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)[![Symfony](https://camo.githubusercontent.com/75640a8af2eb1f88bec55acdbfd1052c4a4734b55418179bbbc411a4bd0374ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d2532333030303030302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d73796d666f6e79266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/75640a8af2eb1f88bec55acdbfd1052c4a4734b55418179bbbc411a4bd0374ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d2532333030303030302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d73796d666f6e79266c6f676f436f6c6f723d7768697465)[![Composer](https://camo.githubusercontent.com/791b12b4114232c0831ab9a3086286c6d5a06f93cf4903f99deacaf8c1348bce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6d706f7365722d2532336666363334372e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/791b12b4114232c0831ab9a3086286c6d5a06f93cf4903f99deacaf8c1348bce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6d706f7365722d2532336666363334372e7376673f7374796c653d666f722d7468652d6261646765)[![Dependencies](https://camo.githubusercontent.com/773a4ebf4f66bd50086374a931bac7590b15f54a413c4742153f700a5dd32f74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d31312d2532336166303030302e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/773a4ebf4f66bd50086374a931bac7590b15f54a413c4742153f700a5dd32f74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d31312d2532336166303030302e7376673f7374796c653d666f722d7468652d6261646765)

Library that create a structure of a simple PHP project on MVC achitecture. It uses Symfony libraries as dependencies such as Doctrine.

### Usage

[](#usage)

#### Create a new project

[](#create-a-new-project)

To create a new project, install this package and run the command:

```
composer install
./bin/console create:new

```

It will create a project with the following structure:

```
root-folder
  ├──public
  |  └──index.php
  ├──src
  |  ├──Provider
  |  |  └──EntityServiceProvider.php
  |  ├──Controller
  |  |  ├──InterfaceController.php
  |  |  ├──Controller.php
  |  |  ├──UserController.php
  |  |  └──TokenController.php
  |  └──Entity
  |     ├──Entity.php
  |     ├──User.php
  |     └──Token.php
  ├──routes
  |  ├──router.php
  |  └──routes.php
  ├──.env
  └──.htaccess

```

#### Create migration basic structure

[](#create-migration-basic-structure)

```
./bin/console attach:migration

```

This command will create the basic structure for create and run migration classes as it follows:

```
root-folder
  └──database
     └──migrations
        ├──CreateTable.php
        ├──CreateUsersTable.php
        └──runMigrations.php

```

All migration classes must extend CreateTable class and be mentioned in runMigrations.php script.

#### Create seeding basic structure

[](#create-seeding-basic-structure)

```
./bin/console attach:seeding

```

This command will create the basic structure for create and run seeding classes as it follows:

```
root-folder
  └──database
     └──seed
        ├──Seeder.php
        ├──UsersSeeder.php
        └──runSeeders.php

```

All seedeing classes must extend Seeder class and be mentioned in runSeeders.php script.

#### Create a mail class

[](#create-a-mail-class)

```
./bin/console attach:mail

```

It will create the Sender.php file inside a Email folder as it follows:

```
root-folder
  └──src
     └──Email
        └──Seeder.php

```

This package uses [PHPMailer](https://github.com/PHPMailer/PHPMailer) to send an email.

#### Create new Entity

[](#create-new-entity)

```
.bin/console new:entity

```

This command will create a new Entity class in the `src/Entity` directory. You just need to pass the name parameter.

This projects uses [Dorctrine ORM annotations](https://www.doctrine-project.org/projects/doctrine-orm/en/3.2/reference/basic-mapping.html) in its Entities.

#### Create new Controller

[](#create-new-controller)

```
.bin/console new:controller

```

This command will create a new Controller class in the `src/Controller` directory. You just need to pass the name parameter.

### Author

[](#author)

[Demócrito d'Anunciação](https://github.com/democrito88)

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/04b2af991abc9360e90b9dd3c0299df698d32c26e7b398e04b26732cc55fb01c?d=identicon)[democrito88](/maintainers/democrito88)

---

Top Contributors

[![democrito88](https://avatars.githubusercontent.com/u/14821897?v=4)](https://github.com/democrito88 "democrito88 (10 commits)")

---

Tags

composerlibrarymvc-architecturephpsymfony

### Embed Badge

![Health badge](/badges/democrito88-demovel/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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