Download the PHP package mridang/pearify without Composer

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

Pearify — Like Browserify, For PEAR compliance

Pearify is a tool to rewrite PSR-0 and PSR-4 PHP class names to the PEAR naming conventions. Pearify is based on the excellent PHP class-rewriting project by Michael Tibben.

Requirements

Pearify requires PHP version 5.4 or greater.

Installation

The simplest way to get Pearify is via Packagist. Simply add mridang/pearify to your composer JSON's list of requirements and run composer install.

About

Pearify relies heavily on Composer and works only on Composer-based projects. Pearify uses the classmap generated by Composer to get a list of PHP classes to be renamed.

Pearify requires that you have dumped the optimised autoload classmap so it can include the array of file paths. You can generate the classmap by invoking

Running the aforementioned command, will generate a file called autoload_classmap.php in the vendor\composer directory. More information on the dump-autoload directive can be found at https://getcomposer.org/doc/03-cli.md#dump-autoload.

The classmap contains an exhaustive list of all the PHP classnames (including paths of dev dependencies) and the relative file paths. While this file contains classes from development dependencies as well, they are automatically excluded by Pearify.

Pearify reads your project's composer.json file to recursively deduce all the production dependencies of your project and only select classes from the classmap belonging to your project's production dependencies.

If you had a PHP class file called MyClass.php in the directory vendor/myname/myproject/

It would be renamed and copied over to a file name lib\MyName\MyProject\MyClass.php

The original file is left untouched and the new file is created (or overwritten) with all the use and namespace statements removed.

Gotchas

Pearify has quite a few shortcomings. If you'd like to see support for one of the following added to Composer, please create a pull-request.

Authors

Credits

License

Pearify is licensed under the MIT License - see the LICENSE file for details.


All versions of pearify with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^2.5 || ^3.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 mridang/pearify contains the following files

Loading the files please wait ....