Skip to content

Commit

Permalink
Add example of use to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmy committed Jul 23, 2022
1 parent ab62f43 commit fed9b75
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@ $spec1 = new Specification1();
$spec2 = $spec1->not();
```

## 使用例

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

## License

PHP Specificationは[MITライセンス](http://opensource.org/licenses/MIT)の下で提供されるオープンソースソフトウェアです。
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ $spec1 = new Specification1();
$spec2 = $spec1->not();
```

## Example of use

- [ngmy/php-specification-example](https://github.com/ngmy/php-specification-example)
- This project is a code example of using the PHP Specification to implement a specification pattern.
It is written following Domain-Driven Design approach and has a code example of combining a specification and a repository.
It uses Eloquent and Doctrine for the ORM.

## License

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

0 comments on commit fed9b75

Please sign in to comment.