Download the PHP package rah/rah_autoload without Composer

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

h1. rah_autoload

"Download":https://github.com/gocom/rah_autoload/releases | "Packagist":https://packagist.org/packages/rah/rah_autoload | "Issues":https://github.com/gocom/rah_autoload/issues

This "Textpattern CMS":https://textpattern.com plugin automatically loads the autoload file generated by "Composer":https://getcomposer.org dependency manager. Fits well together with "textpattern/installer":https://packagist.org/packages/textpattern/installer and "textpattern/lock":https://packagist.org/packages/textpattern/installer to complete the Textpattern and Composer integration. Rah_autoload removes any need to manually import the autoload file, and allows plugins access their dependencies.

h2. Install

Using "Composer":https://getcomposer.org:

bc. $ composer require rah/rah_autoload

Or "download":https://github.com/gocom/rah_autoload/releases an installer package.

h2. Developer

h3. Using in your plugins

To use rah_autoload with your Composer distributed plugins, just add it as a dependency to your @composer.json@:

bc. { "require": { "rah/rah_autoload": "*" } }

And that's it. Rah_autoload gets installed with your plugin, the autoload file is loaded in Textpattern and you can access your dependencies.

h3. Invoking the autoloader

The plugin and autoloader is invoked automatically as long as the plugin is enabled, but the autoloader can be invoked manually too, once installed. Normally this isn't required, but if you want to make sure autoloader is initialized before you try to access your dependencies, you may invoke the plugin by our own in your plugin.

You will be able to invoke the autoloader like any other plugin using Textpattern's native plugin management functions such as @load_plugin()@ and @require_plugin()@. You don't need to do anything other than load the plugin.

bc. load_plugin('rah_autoload', true);

The above will initialize the autoloader as long as its installed, regardless of its type or status. The plugin and autoloader is initialized only once. Subsequent load and require statements don't have any impact or eat resources. This basically means you can safely "spam" the @load_plugin()@ when ever you need an autoloader or class maps generated by Composer.

h2. Changelog

h3. Version 0.3.2 - 2019/03/24

h3. Version 0.3.1 - 2014/03/28

h3. Version 0.3.0 - 2014/03/24

h3. Version 0.2.1 - 2013/05/20

h3. Version 0.2.0 - 2013/05/20

h3. Version 0.1.0 - 2013/05/08


All versions of rah_autoload with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
textpattern/lock Version >=4.4.1
textpattern/installer 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 rah/rah_autoload contains the following files

Loading the files please wait ....