PHPackages                             gzero/platform - 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. gzero/platform

ActiveProject[Framework](/categories/framework)

gzero/platform
==============

GZERO CMS Platform.

v3.0.2(7y ago)7871[1 PRs](https://github.com/GrupaZero/platform/pulls)MITPHPPHP &gt;=7.1.0

Since Jan 2Pushed 4y ago11 watchersCompare

[ Source](https://github.com/GrupaZero/platform)[ Packagist](https://packagist.org/packages/gzero/platform)[ RSS](/packages/gzero-platform/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (24)Used By (0)

GZERO CMS PLATFORM [![Build Status](https://camo.githubusercontent.com/41acda253a64e6e11182f11a4099b8fe32d7ceb760c109f374e87f176249acc8/68747470733a2f2f7472617669732d63692e6f72672f47727570615a65726f2f706c6174666f726d2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/GrupaZero/platform) [![Coverage Status](https://camo.githubusercontent.com/019ccc635e85c58829b8b0867b58fdcd3f007279b321229023299aadde23cc60/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f47727570615a65726f2f706c6174666f726d2f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/GrupaZero/platform?branch=master)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#gzero-cms-platform--)

GZERO CMS PLATFORM it's a base to build custom application on GZERO CMS

**The project uses [Docker](https://www.docker.com/what-docker) containers to package entire application with all of its dependencies into a standardized unit.**

**The project uses [Ansible](https://www.ansible.com/how-ansible-works) automation engine to deploy entire application.**

Installation
------------

[](#installation)

Use composer to create new project:

```
composer create-project --prefer-dist gzero/platform platform

```

##### Directories permissions

[](#directories-permissions)

Set permissions to storage &amp; bootstrap cache:

```
chmod 777 -R storage/
chmod 777 -R bootstrap/cache/
chmod 777 -R uploads/
chmod 777 -R public/

```

*\[optional\]*

If you have www-data group in your system you can consider adding you to it. This will allow you to write to files created by php due to umask 002 set in dev mode.

```
sudo usermod -a -G www-data user

```

##### Generate application key

[](#generate-application-key)

```
./develop artisan key:genarate

```

##### Environment Configuration.

[](#environment-configuration)

Environment configuration is stored in .env file (copied from .env.example during create-project stage).

##### Setting the local domains

[](#setting-the-local-domains)

For proper communication with the API is required to modify the hosts file in your OS. In Ubuntu hosts file should looks like the following:

```
# /etc/hosts
127.0.0.1 localhost
...
127.0.0.1 dev.gzero.pl
127.0.0.1 api.dev.gzero.pl
...

```

##### Install and run Docker Engine:

[](#install-and-run-docker-engine)

Docker Engine is supported on Linux, Cloud, Windows, and OS X. Installation instructions are available on [Docker documentation page](https://docs.docker.com/engine/installation/)

##### Build Docker container for platform

[](#build-docker-container-for-platform)

After Installing Docker Engine you need to start docker containers, go to project directory and run:

- Start Docker containers

```
./develop up -d

```

This will run all application containers (give some time to ssl certs to generate)

```
Starting platform_db_1
Starting platform_redis_1
Starting platform_db_tests_1
Starting platform_web_1

```

- Create database schema and required data

```
./develop artisan migrate

```

- You can also seed database with example data using this command

```
./develop artisan db:seed --class='Gzero\\Cms\\CMSSeeder'

```

- You may want to publish vendor assets as well

```
./develop artisan vendor:publish --tag=public --force

```

- Done

#### Stopping Docker

[](#stopping-docker)

If you want to stop docker containers just run:

```
./develop stop

```

This will stop all running application containers

```
Stopping platform_web_1 ... done
Stopping platform_db_tests_1 ... done
Stopping platform_redis_1 ... done
Stopping platform_db_1 ... done

```

To remove stopped containers run:

```
./develop rm

```

#### Viewing docker logs

[](#viewing-docker-logs)

If you want to view logs from docker you can run:

```
./develop logs web

```

#### Updating Docker container for platform

[](#updating-docker-container-for-platform)

To check for changes in Docker containers for platform u can occasionally run

```
./develop pull

```

Testing
-------

[](#testing)

To run tests use:

```
./develop test
./develop test-debug # it runs xdebug
./develop test-frontend # it runs frontend tests using AVA framework
./develop test-acceptance # it runs acceptance tests using local Google Chrome
./develop test-profile # it runs xdebug profiler and saves output in storage dir

```

Working on frontend
-------------------

[](#working-on-frontend)

Install required npm modules:

```
./develop npm install

```

To run webpack:

```
./develop npm run dev

```

or

```
./develop npm run watch

```

Testing on frontend
-------------------

[](#testing-on-frontend)

To run only ava tests:

```
./develop npm test

```

or

```
./develop npm run test:watch

```

To run only eslint:

```
./develop npm lint

```

or

```
./develop npm run lint:watch

```

Updating composer dependencies
------------------------------

[](#updating-composer-dependencies)

You can run composer directly from docker:

```
./develop composer update

```

Continuous Integration
----------------------

[](#continuous-integration)

We're providing some boilerplate configs for travis &amp; gitlab-ci so that you can modify them to match your requirements.

Deployment
----------

[](#deployment)

We're using Ansible as automation tool. We include some example playbooks.

Some example usages:

```
ansible-playbook -i staging provision.yml

```

```
ansible-playbook -i staging deploy-stack.yml \
 -e "APP_ENV='$(cat example.env)'"
 -e DOMAIN=docker-test.example.com \
 -e LETSENCRYPT_EMAIL=office@example.com \
 -e DB_NAME=gzero_cms \
 -e DB_USER=gzero_cms \
 -e DB_PASSWORD=test \
 -e GITLAB_REPO=example/project

```

```
ansible-playbook -i staging deploy-app.yml \
 -e TAG=0.0.5 \
 -e GITLAB_REPO=example/project \
 -e "APP_ENV='$(cat example.env)'"

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

20

Last Release

2862d ago

Major Versions

v0.3.2 → v1.0.02017-03-27

v1.0.3 → v2.0.02017-04-29

v2.0.1 → v3.0.0-alpha12018-01-04

### Community

Maintainers

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

---

Top Contributors

[![AdrianSkierniewski](https://avatars.githubusercontent.com/u/2774458?v=4)](https://github.com/AdrianSkierniewski "AdrianSkierniewski (183 commits)")[![PSkierniewski](https://avatars.githubusercontent.com/u/6221292?v=4)](https://github.com/PSkierniewski "PSkierniewski (126 commits)")[![MateuszUrbanowicz](https://avatars.githubusercontent.com/u/10204693?v=4)](https://github.com/MateuszUrbanowicz "MateuszUrbanowicz (70 commits)")[![michalstrzelecki](https://avatars.githubusercontent.com/u/3853055?v=4)](https://github.com/michalstrzelecki "michalstrzelecki (14 commits)")[![KnysakPatryk](https://avatars.githubusercontent.com/u/4018931?v=4)](https://github.com/KnysakPatryk "KnysakPatryk (11 commits)")[![Scherebart](https://avatars.githubusercontent.com/u/109100931?v=4)](https://github.com/Scherebart "Scherebart (11 commits)")

---

Tags

ansiblecmscomposerdockerframeworklaravelvuejsframeworklaravelcmsdockeransible

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gzero-platform/health.svg)

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

###  Alternatives

[microweber/microweber

New generation CMS with drag and drop

3.4k13.8k1](/packages/microweber-microweber)[bpocallaghan/laravel-admin-starter

The Laravel Framework.

3511.4k](/packages/bpocallaghan-laravel-admin-starter)

PHPackages © 2026

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