PHPackages                             cmsgears/template-community - 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. [Templating &amp; Views](/categories/templating)
4. /
5. cmsgears/template-community

ActiveProject[Templating &amp; Views](/categories/templating)

cmsgears/template-community
===========================

The community template for community module having default theme set to community.

1.0.0-alpha9(7y ago)11GPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Jan 21Pushed 4y ago4 watchersCompare

[ Source](https://github.com/cmsgears/template-community)[ Packagist](https://packagist.org/packages/cmsgears/template-community)[ Docs](https://www.cmsgears.org)[ RSS](/packages/cmsgears-template-community/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (48)Versions (7)Used By (0)

Project - CMSGears ()

Template - Community

License - GPLv3 ()

Description - The community template requires below listed modules, plugins, themes and widgets freely provided by CMSGears.

Modules
-------

[](#modules)

1. Core Module to manage site users, galleries, newsletters, roles and permissions.
2. Forms Module to accept forms in both ajax and regular way.
3. CMS Module to manage page, post, blocks, menus, sidebars and widgets.
4. Community Module to manage groups, group members, group messages, friends.

Plugins
-------

[](#plugins)

1. File Manager Plugin provide default component to accept uploaded files and File Uploader Widget to uploads files.
2. Social Meta Plugin provides options to customise pages and posts on facebook and twitter wall.

Widgets
-------

[](#widgets)

1. CLEditor Widget can be used to edit content using CLEditor WYSIWYG editor.
2. Block Widget can be used to form pages using Blocks.
3. Nav Widget can be used to form navigation menus.
4. Login Widget can be used to login or register on site using Ajax.
5. Gallery Widget can be used to show Image Galleries.
6. Newsletter Widget can be used to allow site users to register for news and updates from site.
7. Form Widget can be used to display forms stored in database using yii way.
8. Ajax Form Widget can be used to display forms stored in database. These can be submitted using Ajax.
9. Blog Widget can be used to show blog posts.

Themes
------

[](#themes)

1. Admin Theme provide layouts to manage Core, Forms and CMS modules. It also provide options to configure modules and plugins.
2. Community Theme for frontend. It provide layouts and views for Core, Forms and CMS modules.

Template Details
================

[](#template-details)

The Community Template is a group of directories and configuration files used to manage the backend and frontend applications.

It also provide DB configuration having required test data. The uploads directory is uploaded by default files required for demonstration purpose.

Template Demo
=============

[](#template-demo)

1. Frontend -  (, test#123)
2. Admin -  (, test#123)

Template Installation
=====================

[](#template-installation)

The Community Template can be installed via composer using the below mentioned command. To install composer, please refer to their official site .

We can install release and pre-release i.e. alpha, beta versions using composer as mentioned below.

```
// Release Versions

php composer.phar create-project --prefer-dist --stability=stable cmsgears/template-community cmgdemocommunity

or

composer create-project --prefer-dist --stability=stable cmsgears/template-community cmgdemocommunity

```

We can also use below mentioned commands to access the pre release code

```
// Pre-release Versions

php composer.phar create-project --prefer-dist --stability= cmsgears/template-community cmgdemocommunity

or

composer create-project --prefer-dist --stability= cmsgears/template-community cmgdemocommunity

```

We can also install the template for latest code by cloning Community Template for the pre-release branch i.e. alpha, beta. In this case, we need to install composer.json file to initialise vendor directory.

Server Details
==============

[](#server-details)

1. Apache - If we are using Apache web server, we need to run either of the above mentioned command under Apache web root directory. More details can be found at . The modules rewrite and headers must be enabled for apache.

Template Configuration - New
============================

[](#template-configuration---new)

1. Create the database, database user and update both the environments config - environments/dev/common/config/config-env.php, environments/prod/common/config/config-env.php. The default database and database user are cmgdemobasic.
2. To trigger real-time mails in production environment, remove the config param 'useFileTransport' from the environments/prod/common/config/config-env.php.
3. Install the DB using all-in-one-d.sql provided within the console/migrations directory. We might need to change database name if it's different than cmgdemobasic.
4. Run the php script init.php to initialize the application for the predefined environments. The script will ask to choose environemnt among prod or dev.
5. Update htaccess located under template root based on your web server needs. More details about live application settings can be found at .
6. Download the Admin, Mutisite and Blog Themes and place them under /themes/admin, /themes/community and /themes/blog directories respectively.
7. Now we can run the template using our preferred browser. Example links are as mentioned below.
8. Login to admin and update file upload url in case project name is different.
9. By default all the files uploaded by users will be stored in uploads directory.
```
Frontend - http://localhost/cmgdemocommunity/frontend/web
Admin - http://localhost/cmgdemocommunity/frontend/web

```

Template Configuration - Update
===============================

[](#template-configuration---update)

We can update the dependencies using composer.json file located at the root of template. Once done the standard composer command can be used to update dependencies.

Default Pages
=============

[](#default-pages)

The Blog Theme installed for Community Template provide views for default system pages as listed below.

Public Pages
------------

[](#public-pages)

1. Landing - Site index page.
2. Login - Login page allows users to login.
3. Register - Register page allows users to sign up.
4. Confirm Account - Users can confirm account by following the link sent to their email while submitting Register form.
5. Forgot Password - It can be used to generate password reset link.
6. Reset Password - Users can reset password by following the link sent to their email while submitting Forgot Password form.
7. Activate Account - User accounts added by site admin can be activated using this page.
8. Blog - The blog page shows most recent posts published on site.

Private Pages
-------------

[](#private-pages)

1. User Home - Page displayed on login.
2. User Profile - User profile page allows users to configure their profile details.
3. User Settings - Settings page allows users to configure settings icluding account, notifications, reminders.

CMS
---

[](#cms)

1. CMS Page - The published pages can be accessed by site url followed by page slug.
2. CMS Post - The published posts can be accessed by site url followed by post/(post slug).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

5

Last Release

2634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f3b7b2ca59d8b29d3f7a644fb4e5e9e82d398444875f06976574faccfea98537?d=identicon)[cmsgears](/maintainers/cmsgears)

---

Top Contributors

[![bhagwatchouhan](https://avatars.githubusercontent.com/u/3871877?v=4)](https://github.com/bhagwatchouhan "bhagwatchouhan (23 commits)")

---

Tags

templateyii2communitycmsgears

### Embed Badge

![Health badge](/badges/cmsgears-template-community/health.svg)

```
[![Health](https://phpackages.com/badges/cmsgears-template-community/health.svg)](https://phpackages.com/packages/cmsgears-template-community)
```

###  Alternatives

[yiister/yii2-adminlte

yii2-adminlte is a package for yii framework 2 that consists a very popular backend template AdminLTE (based on bootstrap 3).

2839.3k](/packages/yiister-yii2-adminlte)

PHPackages © 2026

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