-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Philipp
committed
Apr 2, 2019
1 parent
c2a388e
commit 8390d0e
Showing
9 changed files
with
38 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# Laravel Reportable | ||
# Laravel Report 📢 | ||
|
||
[![Build Status](https://img.shields.io/travis/faustbrian/Laravel-Reportable/master.svg?style=flat-square)](https://travis-ci.org/faustbrian/Laravel-Reportable) | ||
[![PHP from Packagist](https://img.shields.io/packagist/php-v/faustbrian/laravel-reportable.svg?style=flat-square)]() | ||
[![Latest Version](https://img.shields.io/github/release/faustbrian/Laravel-Reportable.svg?style=flat-square)](https://github.com/faustbrian/Laravel-Reportable/releases) | ||
[![License](https://img.shields.io/packagist/l/faustbrian/Laravel-Reportable.svg?style=flat-square)](https://packagist.org/packages/faustbrian/Laravel-Reportable) | ||
[![Build Status](https://img.shields.io/travis/pmochine/Laravel-Report/master.svg?style=flat-square)](https://travis-ci.org/pmochine/Laravel-Report) | ||
[![PHP from Packagist](https://img.shields.io/packagist/php-v/pmochine/laravel-report.svg?style=flat-square)]() | ||
[![Latest Version](https://img.shields.io/github/release/pmochine/Laravel-Report.svg?style=flat-square)](https://github.com/pmochine/Laravel-Report/releases) | ||
[![License](https://img.shields.io/packagist/l/pmochine/Laravel-Report.svg?style=flat-square)](https://packagist.org/packages/pmochine/Laravel-Report) | ||
|
||
## Installation | ||
|
||
Require this package, with [Composer](https://getcomposer.org/), in the root directory of your project. | ||
|
||
``` bash | ||
$ composer require faustbrian/laravel-reportable | ||
$ composer require pmochine/laravel-report | ||
``` | ||
|
||
To get started, you'll need to publish the vendor assets and migrate: | ||
|
||
``` | ||
php artisan vendor:publish --provider="BrianFaust\Reportable\ReportableServiceProvider" && php artisan migrate | ||
php artisan vendor:publish --provider="Pmochine\Report\ReportServiceProvider" && php artisan migrate | ||
``` | ||
|
||
## Usage | ||
|
@@ -27,7 +27,7 @@ php artisan vendor:publish --provider="BrianFaust\Reportable\ReportableServicePr | |
|
||
namespace App; | ||
|
||
use BrianFaust\Reportable\HasReports; | ||
use Pmochine\Report\HasReports; | ||
use Illuminate\Database\Eloquent\Model; | ||
|
||
class Post extends Model | ||
|
@@ -78,10 +78,13 @@ $ phpunit | |
|
||
## Security | ||
|
||
If you discover a security vulnerability within this package, please send an e-mail to hello@brianfaust.me. All security vulnerabilities will be promptly addressed. | ||
If you discover any security related issues, please don't email me. I'm afraid 😱. [email protected] | ||
|
||
## Credits | ||
|
||
Now comes the best part! 😍 | ||
This package is based on | ||
|
||
- [Brian Faust](https://github.com/faustbrian) | ||
- [All Contributors](../../contributors) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
{ | ||
"name": "faustbrian/laravel-reportable", | ||
"description": "reportable Polymorphic Eloquent Models for Laravel 5", | ||
"keywords": ["laravel", "framework", "Laravel-reportable", "Laravel Reportable", "Brian Faust", "faustbrian"], | ||
"name": "pmochine/laravel-report", | ||
"description": "Reportable Polymorphic Eloquent Models for Laravel 5", | ||
"keywords": ["laravel", "report", "Laravel-reportable", "Laravel Reportable", "Laravel-report", "Laravel Report", "feedback"], | ||
"license": "MIT", | ||
"authors": [{ | ||
"name": "Brian Faust", | ||
"email": "[email protected]", | ||
"homepage": "https://brianfaust.me" | ||
}], | ||
}, | ||
{ | ||
"name": "Philipp Mochine", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.1", | ||
"illuminate/support": "~5.4||~5.5||~5.6||~5.7||~5.8", | ||
|
@@ -20,12 +25,12 @@ | |
}, | ||
"autoload": { | ||
"psr-4": { | ||
"BrianFaust\\Reportable\\": "src/" | ||
"Pmochine\\Report\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"BrianFaust\\Tests\\Reportable\\": "tests" | ||
"Pmochine\\Tests\\Report\\": "tests" | ||
} | ||
}, | ||
"config": { | ||
|
@@ -38,7 +43,7 @@ | |
}, | ||
"laravel": { | ||
"providers": [ | ||
"BrianFaust\\Reportable\\ReportableServiceProvider" | ||
"Pmochine\\Report\\ReportServiceProvider" | ||
] | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/* | ||
* This file is part of Laravel Reportable. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters