Go! Aspect-Oriented Framework

Aspect-Oriented Programming in PHP.

Fork me on GitHub

Library Installation

Go! library can be installed with composer or manually with git submodules. Installation is quite easy.

Method 1: Download go-aop-php using composer

The simplest way to install Go! AOP library is through Composer. Just add the library to your composer.json:

1
2
3
4
5
{
    "require": {
        "lisachenko/go-aop-php": "*"
    }
}

Now ask the composer to download the library with its dependencies by running the command:

1
$ php composer.phar install

Composer will install the library to your project’s vendor/lisachenko/go-aop-php directory.

Method 2: Download with Git

Alternative way for installing the library is to use git submodules:

1
git submodule add https://github.com/lisachenko/go-aop-php vendor/lisachenko/go-aop-php

Dependencies should be also installed as submodules:

1
2
3
git submodule add https://github.com/Andrewsville/PHP-Token-Reflection vendor/andrewsville/php-token-reflection
git submodule add https://github.com/doctrine/common vendor/doctrine/common (use 2.3.x tags)
git submodule add https://github.com/jakubledl/dissect vendor/jakubledl/dissect

Comments