{"id":15088993,"url":"https://github.com/democrito88/demovel","last_synced_at":"2026-01-29T09:41:17.090Z","repository":{"id":252990309,"uuid":"841778583","full_name":"democrito88/demovel","owner":"democrito88","description":"Library that creates a structure of a simple PHP project on MVC achitecture.","archived":false,"fork":false,"pushed_at":"2024-08-28T02:29:19.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T14:50:22.417Z","etag":null,"topics":["composer","library","mvc-architecture","php","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/democrito88.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-13T03:02:46.000Z","updated_at":"2024-08-28T02:29:23.000Z","dependencies_parsed_at":"2024-08-13T21:30:56.840Z","dependency_job_id":"15a37403-4ffc-4d0b-9c8d-1557069f1248","html_url":"https://github.com/democrito88/demovel","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"cd5a2c01cb22314874534dd99818fd7ebd5d1b31"},"previous_names":["democrito88/demovel"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/democrito88/demovel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/democrito88%2Fdemovel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/democrito88%2Fdemovel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/democrito88%2Fdemovel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/democrito88%2Fdemovel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/democrito88","download_url":"https://codeload.github.com/democrito88/demovel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/democrito88%2Fdemovel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28874241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T07:35:32.468Z","status":"ssl_error","status_checked_at":"2026-01-29T07:33:31.463Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","library","mvc-architecture","php","symfony"],"created_at":"2024-09-25T08:38:34.101Z","updated_at":"2026-01-29T09:41:17.043Z","avatar_url":"https://github.com/democrito88.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demovel\n\n![Version](https://img.shields.io/badge/v0.1.0-fed000?style=for-the-badge)\n![License](https://img.shields.io/badge/MIT-0ac18e?style=for-the-badge)\n![PHP](https://img.shields.io/badge/php-%23777BB4.svg?style=for-the-badge\u0026logo=php\u0026logoColor=white)\n![Symfony](https://img.shields.io/badge/symfony-%23000000.svg?style=for-the-badge\u0026logo=symfony\u0026logoColor=white)\n![Composer](https://img.shields.io/badge/composer-%23ff6347.svg?style=for-the-badge)\n![Dependencies](https://img.shields.io/badge/dependencies-11-%23af0000.svg?style=for-the-badge)\n\nLibrary that create a structure of a simple PHP project on MVC achitecture. It uses Symfony libraries as dependencies such as Doctrine.\n\n### Usage\n\n#### Create a new project\n\nTo create a new project, install this package and run the command:\n\n```\ncomposer install\n./bin/console create:new \u003cmy-new-project\u003e\n\n```\n\nIt will create a project with the following structure:\n```\nroot-folder\n  ├──public\n  |  └──index.php\n  ├──src\n  |  ├──Provider\n  |  |  └──EntityServiceProvider.php\n  |  ├──Controller\n  |  |  ├──InterfaceController.php\n  |  |  ├──Controller.php\n  |  |  ├──UserController.php\n  |  |  └──TokenController.php\n  |  └──Entity\n  |     ├──Entity.php\n  |     ├──User.php\n  |     └──Token.php\n  ├──routes\n  |  ├──router.php\n  |  └──routes.php\n  ├──.env\n  └──.htaccess\n```\n\n#### Create migration basic structure\n\n```\n./bin/console attach:migration\n```\n\nThis command will create the basic structure for create and run migration classes as it follows:\n\n```\nroot-folder\n  └──database\n     └──migrations\n        ├──CreateTable.php\n        ├──CreateUsersTable.php\n        └──runMigrations.php\n```\nAll migration classes must extend CreateTable class and be mentioned in runMigrations.php script.\n\n#### Create seeding basic structure\n```\n./bin/console attach:seeding\n```\nThis command will create the basic structure for create and run seeding classes as it follows:\n\n```\nroot-folder\n  └──database\n     └──seed\n        ├──Seeder.php\n        ├──UsersSeeder.php\n        └──runSeeders.php\n```\nAll seedeing classes must extend Seeder class and be mentioned in runSeeders.php script.\n\n#### Create a mail class\n```\n./bin/console attach:mail\n```\n\nIt will create the Sender.php file inside a Email folder as it follows:\n```\nroot-folder\n  └──src\n     └──Email\n        └──Seeder.php\n```\nThis package uses [PHPMailer](https://github.com/PHPMailer/PHPMailer) to send an email.\n\n#### Create new Entity\n\n```\n.bin/console new:entity \u003cname\u003e\n```\n\nThis command will create a new Entity class in the ```src/Entity``` directory. You just need to pass the name parameter.\n\nThis projects uses [Dorctrine ORM annotations](https://www.doctrine-project.org/projects/doctrine-orm/en/3.2/reference/basic-mapping.html) in its Entities.\n\n#### Create new Controller\n\n```\n.bin/console new:controller \u003cname\u003e\n```\n\nThis command will create a new Controller class in the ```src/Controller``` directory. You just need to pass the name parameter.\n\n### Author\n[Demócrito d'Anunciação](https://github.com/democrito88)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemocrito88%2Fdemovel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemocrito88%2Fdemovel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemocrito88%2Fdemovel/lists"}