Download the PHP package mlebkowski/crane without Composer

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

Crane

Bootstrap your local environment using docker containers & git

Setup

  1. Create your config according to the schema. You can find detailed descriptions there
  2. Push your schema to a git repository, for instance:

Initialize a project

  1. Install crane on your local machine using composer.

    $ composer global require 'mlebkowski/crane:dev-master'

    The binary will be put in

  2. Add project configuration:

     $ crane project:init [email protected]:vendor/crane-project
  3. Edit the to set up the /

Build images

This is only required once per target. Docker images will be built from Dockerfiles.

$ crane image:build vendor/project-name --verbose

If something changes or goes wrong, you may want to use the flag.

Start the project

Launch all containers.

$ crane project:start vendor/project-name --verbose

Use if something is wrong or images have changed. The main image is always restarted regardless.

Bootstrap the application

You may want to bootstrap your app in some way (init the database, setup permissions, etc). Crane is application agnostic, so it does not have any build in mechanism. Id does however provide a command. It will SSH into the running container (if port is exposed inside) using the file as a private key.

To run a bootstrapping command on the main container, for example:

$ crane project:command vendor/project-name 'phing -verbose -f /home/main-image-name/build.xml install'  --verbose

Permissions

Make sure you have agent forwarding setup for target host. All SSH commands are using the flag.

Editing files

You may want to edit the application source files. To do this push to any branch at . There is a hook there that resets the working copy to the pushed commit.

You might as well use , but there are cache’ing and performance issues. YMMV.


All versions of crane with dependencies

PHP Build Version
Package Version
Requires silex/silex Version ~1.0
symfony/yaml Version *
igorw/config-service-provider Version ~1.0
symfony/config Version ~2.3
cilex/console-service-provider Version ~1.0
symfony/finder Version ~2.0
justinrainbow/json-schema Version ~1.3
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 mlebkowski/crane contains the following files

Loading the files please wait ...