Download the PHP package gourmet/platform without Composer

On this page you can find all versions of the php package gourmet/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

Platform for CakePHP 3 Web Application

A skeleton to quickly cook some gourmet CakePHP web apps.

NOTE: Platform is in beta, still missing a couple more packages but ready to help you quickly get started with your CakePHP 3 application.

But Why?

Put simply, the official app skeleton is very basic (and rightfully so).

Platform, while replicating the official app skeleton as much as possible, distinguishes itself by a few structural changes, some pre-installed/configured libraries/plugins and some 'best practices'.

Pre-installed packages

PHP packages

Development dependencies

CSS/JS assets

Assets are installed using robloach/component-installer:

Get started

It is assumed that you have the following installed globally:

If (or once) you have them all installed, run:

This will create the app_name project folder and download all dependencies.

Configure

Platform's configuration is broken into 'scopes':

This makes configuration a little more organized (compared to a single file) and easily accessible using your IDE's fuzzy finder (try typing 'log' in the fuzzy finder, the first matching file should the log config file).

To reduce the # of requires, a build process should concatenate all these and use the resulting file in production. It has yet to be implemented.

Quick Tips

To enable debug mode without having to modify any file:

or use the DEBUG environment variable.

Provisioning

To keep things DRY and not re-invent the wheel, ansible-galaxy (the Ansible package manager) is used. To install the roles:

For more, read [Ansible's official documentation].

Local development

A Vagrantfile is included to make it easy to start a local VM using the Ansible provisioner. Modify it to suit your needs, but the defaults should be a good start in most cases. They assume:

The ansible provisioner is the preferred method but if you don't have it installed locally, no worries. A shell provisioner will install Ansible on the VM and run the playbook.

All you need to do is:

To manually run the playbook (after an initial vagrant up):

Sometimes, running the above command will trigger the following error:

In those cases, just make sure that your ~/.ssh/known_hosts

TODO

Versioning

Platform uses semantic versioning:

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards-compatible manner, and
  • PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

License

Copyright (c) 2015, Jad Bitar and licensed under The MIT License.


All versions of platform with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.11
cakephp/cakephp Version ~3.0
cakephp/migrations Version ~1.0
cakephp/plugin-installer Version *
gourmet/faker Version ~1.0
gourmet/robo Version dev-master
friendsofcake/bootstrap-ui Version *
friendsofcake/crud Version dev-cake3
josegonzalez/dotenv Version ~0.6
markstory/asset_compress Version ~3.0
mobiledetect/mobiledetectlib Version ~2.0
psr/log Version ~1.0
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 gourmet/platform contains the following files

Loading the files please wait ....