{"id":20214294,"url":"https://github.com/masterminds/villain","last_synced_at":"2025-03-03T11:16:07.958Z","repository":{"id":66224441,"uuid":"1522791","full_name":"Masterminds/Villain","owner":"Masterminds","description":"A CMS to be feared","archived":false,"fork":false,"pushed_at":"2013-07-03T19:16:55.000Z","size":512,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T21:44:25.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Masterminds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-03-24T20:44:37.000Z","updated_at":"2024-11-18T09:52:47.000Z","dependencies_parsed_at":"2023-02-20T00:30:42.693Z","dependency_job_id":null,"html_url":"https://github.com/Masterminds/Villain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2FVillain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2FVillain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2FVillain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masterminds%2FVillain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Masterminds","download_url":"https://codeload.github.com/Masterminds/Villain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241652970,"owners_count":19997578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-14T06:15:05.637Z","updated_at":"2025-03-03T11:16:07.937Z","avatar_url":"https://github.com/Masterminds.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Villain: It's not a bad idea, it's a BAAAAD idea.\n\nVillain is a PHP Content Management Framework (CMF) developed to be feature rich, high performance, and easy to extend.\n\n## Quickstart\n\nTo fetch and install Villain, do the following:\n\n    $ git clone git://github.com/Masterminds/Villain.git\n    $ cd Villain\n    $ ./fort --config config/install.php install\n\nAt this point, `Villain/src` will contain your new website.\n\n## What Is Villain?\n\nVillain is a content management framework -- a tool designed to help PHP developers quickly build a \nCMS system individualized to their needs. It has been designed to be fast, scalable, and easy to\nextend.\n\n## Prerequisites\n\nVillain REQUIRES the following:\n\n- PHP 5.3+\n- PECL MongoDB driver (`pecl install mongodb`)\n- A recent version of MongoDB\n\nVillain SUGGESTS the following:\n\n- phing\n- PHPUnit\n- doxygen 1.7.3+\n- Apache 2+ with mod_php or another comparable webserver configuration\n\n## Building a CMS with Villain\n\nTo build a CMS from Villain, you probably want to do the following:\n\n* Install Villain\n* Install whatever Bundles you need\n* Beginning with `src/config/commands.php`, customize your site\n* Develop your own bundles (try `./fort @create-bundle FOO` to get started)\n* Test and deploy.\n\n## Key Concepts\n\n* Bundle: Roughly speaking, bundles are \"plugins\" or \"modules\" for \n  Villain. A bundle can provide commands, request implementations,\n  assets like CSS, images, and JavaScript, and supporting files.\n* Chain of Command: Villain maps a REQUEST to a CHAIN OF COMMANDS (and\n  then maps URLs to requests). When Villain receives a request, it\n  processes a series of commands in sequence. When you build\n  your CMS with Villain, you will build your own chains.\n* commands.php: The main configuration file for Villain. Among other things,\n  it maps requests to chains of commands.\n* fort: Fort is the command-line runner that Villain uses.\n* Fortissimo: Villain is built on the Fortissimo framework. Fortissimo\n  is a lightweight scalable PHP framework.\n* Storable/Storage: Villain uses a very lightweight intermediate layer to translate\n  objects into and out of MongoDB. The Storable system provides that \n  translation system. See src/core/Villain/Storage.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterminds%2Fvillain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasterminds%2Fvillain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterminds%2Fvillain/lists"}