Download the PHP package axelitus/design-patterns without Composer

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

Design Patterns for PHP

A framework agnostic PHP package that contains base classes to easily extend and implement some design patterns.

Package Information

Requirements

The requirements for this package to work are the following:

Standards

This package is intended to follow some standards for easy contributions and usage. Recently there has been an initiative to standardize the interoperation of frameworks, though I think this easily extends to most pieces of code everyone is building. The group behind all this is the PHP-FIG (Framework Interoperability Group), you should pay them a visit at their site.

There are already some standards marked as accepted (final): PSR-0, PSR-1, PSR-2 and PSR-3.

This package is intentend to be PSR-2 compliant.

Being PSR-2 compliant means this package can be easily installed by using guide for coding styles and the developers and contributors should enforce this for everyone's benefit.

Contents

All classes are referenced to the package namespace if not otherwise stated.

How to install

To install this package and use it in your app just follow these instructions (if you haven't read the documentation from Composer please do so before you continue):

  1. Download composer if you haven't already done so (use your preferred method). Example:

  2. Place a require statement inside your composer.json file replacing <version> with the desired version. Example:

  3. Run the composer installer to resolve dependencies and download the packages. Example:

  4. In order to use the packages you have to load the autoloader that was generated by composer. Example:

  5. Finally just use the package classes as needed:

All versions of design-patterns with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.9
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 axelitus/design-patterns contains the following files

Loading the files please wait ....