PhileCMS

平面文件内容管理系统,具有可交换的解析器和模板引擎。「A flat file CMS with a swappable parser and template engine.」

Github stars Tracking Chart

PhileCMS

Software License
Packagist Version
Build Status
Code Quality
Code Coverage

A Markdown file-based CMS written in PHP.

Check out the starter video or read the wiki for in-depth documentation.

Why use PhileCMS?

Phile was forked from Pico when a few community members wanted to contribute more and increase the rate of development. Here is a small list of differences:

  • Object Oriented Design (classes)
  • Events system
  • Replacable core modules (plugins)
    • Parser (default: Markdown)
    • Template Engine (default: Twig)
    • Cache (default: phpFastCache)
    • Error handler (default: Whoops)
    • Meta parser (default: Phile parser)
    • Simple Data Persistence (default: Phile file-based)
  • Per-Plugin config.php files
  • Namespaced plugins so classes can have the same name
  • PSR-0, PSR-1/2, PSR-7/15

Quick Start

Requirements:

  • PHP 7.1.0+
  • a web-server

Download the release from https://philecms.github.io/, copy the files to your web-server and open the root directory in the browser.

Or use composer and run it locally:

composer create-project --no-dev phile-cms/phile;
cd Phile;
php -S localhost:8080;

On a fresh installation you will see a page with a setup instructions. Follow them. For detailed instructions please see the installation help.

Plugins

Phile can be extended with a wide variety of plugins.

Generally a plugin can always be installed manually: clone or download the plugin into plugins/{vendor}/{pluginName} folder. Example: phileRss would be installed into plugins/phile/rssFeed.

Many plugins also allow composer installation:

composer require phile/rss-feed

Always check the plugin readme for specialised installation instruction.

Getting Help

Gitter chat

You can read the wiki if you are looking for examples more development information.

If you find a bug please report it on the issues page, but remember to include a bunch of details and also what someone can do to re-create the issue.

Issues with plugins should be reported on the offending plugins homepage this goes for themes as well.

Contributing

Help make PhileCMS better by checking out the GitHub repository and submitting pull requests.
See developer guildlines for more information.

Main metrics

Overview
Name With OwnerPhileCMS/Phile
Primary LanguagePHP
Program languagePHP (Language Count: 5)
Platform
License:Other
所有者活动
Created At2013-10-25 16:08:01
Pushed At2023-04-24 22:46:00
Last Commit At2020-07-18 11:58:36
Release Count22
Last Release Name1.11.1 (Posted on )
First Release Name0.9 (Posted on )
用户参与
Stargazers Count254
Watchers Count23
Fork Count48
Commits Count699
Has Issues Enabled
Issues Count176
Issue Open Count8
Pull Requests Count139
Pull Requests Open Count4
Pull Requests Close Count38
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private