Skip to content

Commit fed9b75

Browse files
committed
Add example of use to README.md
1 parent ab62f43 commit fed9b75

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README-ja.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@ $spec1 = new Specification1();
156156
$spec2 = $spec1->not();
157157
```
158158

159+
## 使用例
160+
161+
- [ngmy/php-specification-example](https://github.com/ngmy/php-specification-example)
162+
- このプロジェクトはPHP Specificationを使用して仕様パターンを実装するコード例です。
163+
ドメイン駆動設計のアプローチに従って書かれており、仕様とリポジトリーを組み合わせるコード例があります。
164+
ORMにはEloquentとDoctrineを使用しています。
165+
159166
## License
160167

161168
PHP Specificationは[MITライセンス](http://opensource.org/licenses/MIT)の下で提供されるオープンソースソフトウェアです。

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ $spec1 = new Specification1();
160160
$spec2 = $spec1->not();
161161
```
162162

163+
## Example of use
164+
165+
- [ngmy/php-specification-example](https://github.com/ngmy/php-specification-example)
166+
- This project is a code example of using the PHP Specification to implement a specification pattern.
167+
It is written following Domain-Driven Design approach and has a code example of combining a specification and a repository.
168+
It uses Eloquent and Doctrine for the ORM.
169+
163170
## License
164171

165172
PHP Specification is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

0 commit comments

Comments
 (0)