cleaniquecoders / laravel-review
Request for Review with Laravel Review
Requires
- php: >=7.1
- cleaniquecoders/blueprint-macro: ^2.2
- illuminate/support: ^5.5|^5.6|^5.7
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: 3.5.*|3.6.*|3.6.*
- phpunit/phpunit: ^6.5|^7.0
This package is auto-updated.
Last update: 2020-09-30 02:05:44 UTC
README
About Your Package
We always want to review something in order to get approval to proceed.
This package enabled developers to write their own logic to handle:
- Request for review
- Have multiple review approval / rejection
- Enable developers to design the workflow of the review
- on approved review from reviewer A, proceed review to B and C
- on rejected review from reviewer A, return back to requestor
- Enabled audit trail
- Each review will have stage number - review #1, #2, #3, etc.
- Enable optional review
- Default Policy
- Owner can update
- If review is not locked
- If review is not send yet for review
- Reviewer can update
- If current review status under review mode
- If current logged in user is the reviewer of the review
- Owner can update
Installation
- In order to install
cleaniquecoders/laravel-review
in your Laravel project, just run the composer require command from your terminal:
$ composer require cleaniquecoders/laravel-review
- Then in your
config/app.php
add the following to the providers array:
CleaniqueCoders\LaravelReview\LaravelReviewServiceProvider::class,
- In the same
config/app.php
add the following to the aliases array:
'LaravelReview' => CleaniqueCoders\LaravelReview\LaravelReviewFacade::class,
Usage
Test
To run the test, type vendor/bin/phpunit
in your terminal.
To have codes coverage, please ensure to install PHP XDebug then run the following command:
$ vendor/bin/phpunit -v --coverage-text --colors=never --stderr
Contributing
Thank you for considering contributing to the cleaniquecoders/laravel-review
!
Bug Reports
To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.
However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.
Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.
Coding Style
cleaniquecoders/laravel-review
follows the PSR-2 coding standard and the PSR-4 autoloading standard.
You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in .php_cs
.
License
This package is open-sourced software licensed under the MIT license.