Download the PHP package gzero/platform without Composer

On this page you can find all versions of the php package gzero/platform. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package platform

GZERO CMS PLATFORM Build Status Coverage Status

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

The project uses Docker containers to package entire application with all of its dependencies into a standardized unit.

The project uses Ansible automation engine to deploy entire application.

Installation

Use composer to create new project:

Directories permissions

Set permissions to storage & bootstrap cache:

[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.

Generate application key
Environment Configuration.

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

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:

Install and run Docker Engine:

Docker Engine is supported on Linux, Cloud, Windows, and OS X. Installation instructions are available on Docker documentation page

Build Docker container for platform

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

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

Stopping Docker

If you want to stop docker containers just run:

This will stop all running application containers

To remove stopped containers run:

Viewing docker logs

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

Updating Docker container for platform

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

Testing

To run tests use:

Working on frontend

Install required npm modules:

To run webpack:

or

Testing on frontend

To run only ava tests:

or

To run only eslint:

or

Updating composer dependencies

You can run composer directly from docker:

Continuous Integration

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

Deployment

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

Some example usages:


All versions of platform with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
fideloper/proxy Version ~3.3
fzaninotto/faker Version ~1.4
gzero/admin Version ^3.0.0
gzero/cms Version ^3.0.0
laravel/horizon Version ^1.1
predis/predis Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gzero/platform contains the following files

Loading the files please wait ....