Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Nov 5, 2014
1 parent 5c0b23f commit b4bab49
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 49 deletions.
42 changes: 18 additions & 24 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,38 +177,32 @@ AOP Alliance
------------
このメソッドインターセプターのAPIは[AOP Alliance](http://aopalliance.sourceforge.net/doc/org/aopalliance/intercept/MethodInterceptor.html)の部分実装です。

Testing Ray.Aop
===============

Ray.Aopをインストールしてユニットテストするためには以下のようにします。

```
$ composer create-project ray/aop:~2.0@dev Ray.Aop
$ cd Ray.Aop
$ phpunit
$ php docs/demo/01-implicit-bind/implicit-bind.php
$ php docs/demo/02-multiple-interceptors/main.php
$ php docs/demo/03-benchmark/main.php
$ php docs/demo/04-annotation/main.php
$ php docs/demo/05-my-matcher/main.php
```

Requirement
-------------
Requirements
------------

* PHP 5.5+
* hhvm
* PHP 5.4+
* hhvm

Installation
============
------------

### Installing via Composer
The recommended way to install Ray.Aop is through [Composer](https://github.com/composer/composer).

```bash
# Add Ray.Aop as a dependency
composer require ray/aop ~2.0@dev
$ composer require ray/aop ~2.0@dev
```

Testing Ray.Aop
===============

```
$ composer create-project ray/aop:~2.0@dev Ray.Aop
$ cd Ray.Aop
$ phpunit
$ php docs/demo/run.php
```

AOPを統合したGuiceスタイルのDIフレームワーク[Ray.Di](https://github.com/koriym/Ray.Di)でもRay.Aopを利用する事ができます
DIとAOPを統合したDIフレームワーク[Ray.Di](https://github.com/koriym/Ray.Di)もご覧ください

* The most part of this documentation is taken from [Guice/AOP](https://github.com/google/guice/wiki/AOP)
43 changes: 18 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,39 +179,32 @@ AOP Alliance
------------
The method interceptor API implemented by Ray.Aop is a part of a public specification called [AOP Alliance](http://aopalliance.sourceforge.net/doc/org/aopalliance/intercept/MethodInterceptor.html).

Testing Ray.Aop
===============

Here's how to install Ray.Aop from source to run the unit tests and sample:

```
$ composer create-project ray/aop:~2.0@dev Ray.Aop
$ cd Ray.Aop
$ phpunit
$ php docs/demo/01-implicit-bind.php
$ php docs/demo/02-matcher-bind.php
$ php docs/demo/03-annotation-bind.php
$ php docs/demo/04-my-matcher.php
```

Requirement
-------------
Requirements
------------

* PHP 5.4+
* hhvm
* PHP 5.4+
* hhvm

Installation
============
------------

### Installing via Composer
The recommended way to install Ray.Aop is through [Composer](https://github.com/composer/composer).

The recommended way to install Ray.Aop is through [Composer](http://getcomposer.org) and the recommended way to use Ray.Aop is thorouh [Ray.Di](https://github.com/koriym/Ray.Di).
Ray.Di is a Guice style annotation-driven dependency injection framework. It integrates Ray.Aop AOP functionality.
```bash

# Add Ray.Aop as a dependency
composer require ray/aop ~2.0@dev
$ composer require ray/aop ~2.0@dev
```

Testing Ray.Aop
---------------

Here's how to install Ray.Aop from source and run the unit tests and demos.

```bash
$ composer create-project ray/aop:~2.0@dev Ray.Aop
$ cd Ray.Aop
$ phpunit
$ php docs/demo/run.php
```

* This documentation for the most part is taken from [Guice/AOP](https://github.com/google/guice/wiki/AOP).

0 comments on commit b4bab49

Please sign in to comment.