Download the PHP package rtens/fido without Composer

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

fido Build Status

A simple composer plugin that simplifies installing packages without dependency management support (e.g. assets from URLs or git repositories).

Installation

Because of composer's plugin system, you need to install fido globally

composer global require "rtens/fido:~1.0"

(there is a pull request to fix that)

Usage

The requirement definitions go into the extra object using the ke fido-fetch. Here is an example with two packages.

This can be shortened in several steps. First, by leaving out the optional definitions.

To shorten it even more, the value of source can be used as package names.

Finally, these definitions can also be put into the require object (including versions for git repositories) by prefixing them with fido-fetch:.

Dev Mode

You can also specify packages for dev-mode only using the fetch-fido-dev and require-dev objects.

Documentation

For a complete documentation, check out fido's executable documentation

But.. why?

Convenience, mostly.

There are of course several ways to get bootstrap, jquery and their likes into your project without bundling them with it. You could use bower or npm for example or, if you don't like javascript, you can get the the excellent bower/npm composer plugin.

But some packages, like the qunit-phantomjs-runner, don't support any dependency management system. For these cases exists composer's package type repository (thanks Igor for pointing that out).

Now if you would like to have these packages in another directory than vendor, you can either symlink to them or use the composer-custom-directory-installer plugin which lets you decide where certain packages should be installed.

This is how the composer.json looks like with if you would require bootstrap and the qunit-phantomjs-runner with this approach:

And this is actually (more or less) what fido compiles to, simply with a shorter, simpler syntax.


All versions of fido with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
composer-plugin-api Version 1.0.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 rtens/fido contains the following files

Loading the files please wait ....