Download the PHP package mijo/gae-flow without Composer

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

php-gae-flow

Deploy and devserver for Google App Engine for PHP. This is not a general liberary, but an opinionated way of doing "things". Google App Engine have no good way of storing secrets out of the box. I have choosen to add environment variables to app.yaml at deploy-time. This would work both from your local machine and from a pipeline. The secrets I store in a normal propfile stored at users home-directory. This way it could be shared between applications which is deployed in the same Google App Engine project.

To have a consistent way between the production environment and the development environment we do the same with variables used during local development.

Needless to say, this approach will work best for soloprojects, or projects with few developers.

Environment variables

These are stored in standard INI files which has to be placed in the users home directory outside of the current project.

This way they can be shared between applications in the same project and is kept relatively secure outside the project. Not ideally, but at least you don't have to check in files in the project.

Scripts

This liberary contains two scripts, deploy and serve. They are configured with using the "extra" field of composer.json.a

Deploy (to Google App Engine)

This uses the gcloud command-line tool for deploying. This has to be on the PATH for this to work.

Configuration

In composer.json add the following to the extra data fields.

Serve (with the build in server)

This is just a simple wrapper around that the PHP built-in webserver. But it does call a router script which is configured to mimic the default behaviour when you deploy an application with Google App Engine. This does not read app.yaml to resolve static routes. But if you have a fairly simple setup that should not be a problem.

Configuration

In composer.json add the following to the extra data fields.

In the script section you could/should add the deploy-command.

If you want to run scripts before the deploy-script. For instance build an frontend, that can be done by passing an array of commands like this:

Tests

Test can be ran with composer test and the project is using phpunit as a testrunner.


All versions of gae-flow with dependencies

PHP Build Version
Package Version
Requires vlucas/phpdotenv Version *
symfony/yaml Version *
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 mijo/gae-flow contains the following files

Loading the files please wait ....