Download the PHP package polifonic/symfony-robo without Composer

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

polifonic/symfony-robofile

A RoboFile for symfony apps.

This is the RoboFile that we use for building our own Symfony apps, and we are just making it available to the community. Obviouly it is geared to the way we do things (for example, we use Propel), but it is easy to extend, and hopefully at the very least it can serve as an example or inspiration for your own implementation.

The package also provides a custom SymfonyTask which is the equivalent of running php app/console on the command line. Note that this is not quite the same as the SymfonyCommand task provided by the original Robo package (which does not include the app kernel, for one thing, and therefore does not recognize the env option).

This package is totally independent of the polifonic app.

Installation

Add the package to your app's composer.json file. Depending on your needs, you may add it in the "require" section or the "require-dev" section.

Usage

Create a new RoboFile.php in the root directory of your app. The class should extend the Polifonic\Robo\RoboFile class provided by the package. You can use the tasks defined in the original RoboFile, override them or add new tasks as per your requirements.

Then run tasks just like any other robo task, by typing the following on the command line:

If you have also installed robo in your path, you can type:

Tasks provided

The package's RoboFile class provides the following tasks:

assets

The assets task will run the symfony assets:install command, using the --symlink option if the current OS is other than Windows.

build

The build task will perform the following taks:

build:all

The build task will perform the following taks:

git:sync-tags

The git:sync-tags will sync the local tags with the remote tags, removing any local tag not found on the remote.

os

Displays the current OS as one of the following:

This is used in the build task when running the assets:install command: if the OS is Windows, assets will be copied; otherwise, they will be symlinked.

phpunit

The phpunit task will run the phpunit tests via the following command:

release

The release task uses git-flow to create a new release, following the steps below. It assumes that git flow has been installed and initialized for this project.

It then uses capifony to deploy the new release. It assumes that capifony has been installed and setup for the app.

secret

The secret generates and displays a "secret" string for use in the symfony app framework configuration.

version:show

The version:show task will display the current version number. This is read from the Version::VERSION class constant (see below).

version:bump

The version:bump task will bump the build portion of the current version number.

Version numbers

When dealing with version numbers, the package makes the following assumptions:

If this is not suitable in your case, then you can overwrite the following methods in your RoboFile:

The SymfonyTask

The SymfonyTask runs any symfony command via php app/console and will therefore support any symfony command available on the command line. It assumes that the package is used inside the root directory of a symfony app.


All versions of symfony-robo with dependencies

PHP Build Version
Package Version
Requires codegyre/robo 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 polifonic/symfony-robo contains the following files

Loading the files please wait ....