Download the PHP package rev22/compy without Composer

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

compy is a wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

Usage

You can use compy just like composer, except you modify the compy.yml, instead of the composer.json:

alice@acme$ bin/compy --version
Compy version 0.1.6
Composer version aa1c093

You should only run compy from the directory your compy.yml or composer.json are.

Your compy.yml

The YAML format is easier to read, easier to write and allows you to add comments, like in the following snippet: ` This is especially useful in large projects with complex dependencies.

(Automatic) Configuration

When run the first time, compy converts automatically any composer.json present. If you modify your composer.json, compy will automatically notice it when you invoke it, and convert it to compy.yml. compy backs up your compy.yml to compy.yml~compy~, before any change is made.

Installation

System-wide installation is not supported at the moment.

You can install compy in your project by copying files by hand, or through composer:

installing via composer

  1. require the package rev22/compy via composer

    composer require rev22/compy:dev-master
  2. now you can use compy from the 'vendor/bin/' directory:

    user> vendor/bin/compy --version

copying files by hand:

  1. copy the contents of the bin/ directory from this code archive to your symfony project's bin/ or app/ directory;
  2. add a dependency to composer/composer in your composer.json and run composer install
  3. make sure the composer tool is installed system-wide

License

compy is available under the terms of a MIT-style license. Please consult the file LICENSE for details.

History of the tool

The compy script was brought to you by Michele Bini. The package includes Oleg Stepura's convert-config tool, which was forked from Igor Wiedler's composer-yaml.


All versions of compy with dependencies

PHP Build Version
Package Version
Requires symfony/yaml Version >=2.0
symfony/console Version >=2.0
composer/composer Version dev-master
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 rev22/compy contains the following files

Loading the files please wait ....