PHPackages                             wdmg/butterfly.cms - 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. wdmg/butterfly.cms

ActiveProject[Framework](/categories/framework)

wdmg/butterfly.cms
==================

Butterfly.CMS

1.3.1(2y ago)186757[1 issues](https://github.com/wdmg/butterfly.cms/issues)MITPHPPHP &gt;=5.6.0

Since Jun 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/wdmg/butterfly.cms)[ Packagist](https://packagist.org/packages/wdmg/butterfly.cms)[ Docs](http://butterflycms.com)[ RSS](/packages/wdmg-butterflycms/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (60)Versions (25)Used By (0)

 [ ![Butterfly.CMS](./docs/images/logotype.png) ](https://butterflycms.com/)

Innovative Content Management System based on Yii2 framework. And it's all.

P/s^ A little patience...😉

[![Yii2](https://camo.githubusercontent.com/3f29058a9886ae3e9efc09df82d551051f8ea6c8da1176d9e8ca8a64be6f9b40/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72657175697265642d596969325f76322e302e34302d626c75652e737667)](https://packagist.org/packages/yiisoft/yii2)[![Downloads](https://camo.githubusercontent.com/966f5645a536a112e5a0440a68b55e4c6e572a672c965c67be6c90f967ddf3dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77646d672f627574746572666c792e636d732e737667)](https://packagist.org/packages/wdmg/butterfly.cms)[![Packagist Version](https://camo.githubusercontent.com/5a36e8f9e1d33cead32b15bea1092bc409ed1170788efae66b529bcea5661135/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77646d672f627574746572666c792e636d732e737667)](https://packagist.org/packages/wdmg/butterfly.cms)[![Progress](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)[![GitHub license](https://camo.githubusercontent.com/e3a2df9aeba27c654e5c613313e8e917f2162bdfa1befd453baa6d86fe3e7c30/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77646d672f627574746572666c792e636d732e737667)](https://github.com/wdmg/butterfly.cms/blob/master/LICENSE)

Requirements
============

[](#requirements)

- PHP 5.6 or higher
- Yii2 v.2.0.47 and newest
- [Yii2 Base](https://github.com/wdmg/yii2-base)
- [Yii2 Admin](https://github.com/wdmg/yii2-admin)
- [Yii2 Activity](https://github.com/wdmg/yii2-activity)
- [Yii2 Api](https://github.com/wdmg/yii2-api)
- [Yii2 Menu](https://github.com/wdmg/yii2-menu)
- [Yii2 Options](https://github.com/wdmg/yii2-options)
- [Yii2 Guard](https://github.com/wdmg/yii2-guard)
- [Yii2 Mailer](https://github.com/wdmg/yii2-mailer)
- [Yii2 Terminal](https://github.com/wdmg/yii2-terminal)
- [Yii2 Redirects](https://github.com/wdmg/yii2-redirects)
- [Yii2 Robots.txt](https://github.com/wdmg/yii2-robots)
- [Yii2 Stats](https://github.com/wdmg/yii2-stats)
- [Yii2 Forms](https://github.com/wdmg/yii2-forms)
- [Yii2 Services](https://github.com/wdmg/yii2-services)
- [Yii2 News](https://github.com/wdmg/yii2-news)
- [Yii2 Blog](https://github.com/wdmg/yii2-blog)
- [Yii2 Subscribers](https://github.com/wdmg/yii2-subscribers)
- [Yii2 Newsletters](https://github.com/wdmg/yii2-newsletters)
- [Yii2 Reviews](https://github.com/wdmg/yii2-reviews)\*
- [Yii2 Comments](https://github.com/wdmg/yii2-comments)
- [Yii2 Media](https://github.com/wdmg/yii2-media)
- [Yii2 Content](https://github.com/wdmg/yii2-content)
- [Yii2 Pages](https://github.com/wdmg/yii2-pages)
- [Yii2 Tasks](https://github.com/wdmg/yii2-tasks)
- [Yii2 Tickets](https://github.com/wdmg/yii2-tickets)
- [Yii2 Users](https://github.com/wdmg/yii2-users)
- [Yii2 Rbac](https://github.com/wdmg/yii2-rbac)
- [Yii2 Geo](https://github.com/wdmg/yii2-geo)
- [Yii2 Translations](https://github.com/wdmg/yii2-translations)
- [Yii2 Rss](https://github.com/wdmg/yii2-rss)
- [Yii2 Amp](https://github.com/wdmg/yii2-amp)
- [Yii2 Turbo](https://github.com/wdmg/yii2-turbo)
- [Yii2 Sitemap](https://github.com/wdmg/yii2-sitemap)
- [Yii2 Search](https://github.com/wdmg/yii2-search)
- [Yii2 Messages](https://github.com/wdmg/yii2-messages)\*
- [Yii2 Likes](https://github.com/wdmg/yii2-likes)\*
- [Yii2 Bookmarks](https://github.com/wdmg/yii2-bookmarks)\*
- [Yii2 Reposts](https://github.com/wdmg/yii2-reposts)\*
- [Yii2 Views](https://github.com/wdmg/yii2-views)
- [Yii2 Votes](https://github.com/wdmg/yii2-votes)\*

\* - actually in progress development

Installation
============

[](#installation)

To install the app, run the following command`s in the console:

```
$ composer create-project --prefer-dist wdmg/butterfly.cms example.com
$ cd example.com
$ php init

```

...or use automatic mode:

```
$ php init --env=development --overwrite=y --dbhost=localhost --dbtype=mysql --dbcharset=utf8 --dbname=example --tbprefix=btf_ --dbuser=root --dbpassword=root --create_db=y --migrations=y

```

Migrations
==========

[](#migrations)

After set of environment and configure db connection, run the following commands in the console for apply migrations:

```
$ php yii admin/init
$ php yii admin/options/init --choice=3
$ php yii admin/users/init --choice=3
$ php yii admin/rbac/init --choice=2

```

Demo
====

[](#demo)

You can also initialize the test site with demo data using the command:

```
$ php yii hello/demo

```

After apply all migrations you may login to dashboard:  with username `admin` and password `admin`.

Docker
======

[](#docker)

Run the script `docker/docker-init.sh` or use manual instruction:

\####Build containers:

```
    $ docker-compose -f docker/docker-compose.yml -p example build

```

\####Run containers:

```
    $ docker-compose -f docker/docker-compose.yml -p example up -d www db phpmyadmin

```

\####Stop services:

```
    $ docker-compose -f docker/docker-compose.yml -p example stop

```

Discussion
==========

[](#discussion)

For questions, complaints and suggestions follow to [Butterfly.CMS community](https://spectrum.chat/butterfly-cms?tab=posts)

Status and version \[ready to use\]
===================================

[](#status-and-version-ready-to-use)

- v.1.3.1 - Update dependencies
- v.1.3.0 - Update dependencies, copyrights.
- v.1.2.1 - Update dependencies.
- v.1.2.0 - Add Docker and update dependencies.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

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

Recently: every ~220 days

Total

24

Last Release

1045d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.2PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1635637?v=4)[Alexsander Vyshnyvetskyy](/maintainers/alex-wdmg)[@alex-wdmg](https://github.com/alex-wdmg)

---

Top Contributors

[![alex-wdmg](https://avatars.githubusercontent.com/u/1635637?v=4)](https://github.com/alex-wdmg "alex-wdmg (118 commits)")

---

Tags

cmsyii2Content management systembutterflybutterfly.cms

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/wdmg-butterflycms/health.svg)

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

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[yeesoft/yii2-yee-cms

Yee CMS Based on Yii 2 Advanced Project Template

1464.0k](/packages/yeesoft-yii2-yee-cms)[lowbase/yii2-cms

Yii 2 CMS

441.1k](/packages/lowbase-yii2-cms)

PHPackages © 2026

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