Skip to content

Commit 7849065

Browse files
Merge pull request #26 from ARCANEDEV/update-laravel_7_support
Adding Laravel 7 support
2 parents d1a6564 + 8f20dba commit 7849065

File tree

8 files changed

+37
-35
lines changed

8 files changed

+37
-35
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2019 ARCANEDEV - Laravel Messenger
3+
Copyright (c) 2016-2020 ARCANEDEV - Laravel Messenger
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This Laravel Messenger will allow you to add a messaging system into your Larave
2222
* Easy setup & configuration.
2323
* Well documented & IDE Friendly.
2424
* Well tested with maximum code quality.
25-
* Laravel `5.1` to `6.x` are supported.
25+
* Laravel `5.1` to `7.x` are supported.
2626
* Made with :heart: & :coffee:.
2727

2828
## Table of contents
@@ -45,7 +45,7 @@ If you discover any security related issues, please email arcanedev.maroc@gmail.
4545
- [All Contributors][link-contributors]
4646
- [cmgmyr/laravel-messenger](https://github.com/cmgmyr/laravel-messenger)
4747

48-
[badge_laravel]: https://img.shields.io/badge/Laravel-5.1%20to%206.x-orange.svg?style=flat-square
48+
[badge_laravel]: https://img.shields.io/badge/Laravel-5.1%20to%207.x-orange.svg?style=flat-square
4949
[badge_license]: https://img.shields.io/packagist/l/arcanedev/laravel-messenger.svg?style=flat-square
5050
[badge_build]: https://img.shields.io/github/workflow/status/ARCANEDEV/LaravelMessenger/run-tests?style=flat-square
5151
[badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANEDEV/LaravelMessenger.svg?style=flat-square

_docs/0-Home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This Laravel Messenger will allow you to add a messaging system into your Larave
88
* Easy setup & configuration.
99
* Well documented & IDE Friendly.
1010
* Well tested with maximum code quality.
11-
* Laravel `5.1` to `6.x` are supported.
11+
* Laravel `5.1` to `7.x` are supported.
1212
* Made with :heart: & :coffee:.
1313

1414
## Table of contents

_docs/1-Installation-and-Setup.md

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,34 @@
1010

1111
| LaravelMessenger | Laravel |
1212
|:------------------------------------------------|:---------------------------------------------------------------------------------------|
13-
| ![LaravelMessenger v1.x][laravel_messenger_1_x] | ![Laravel v5.1][laravel_5_1] ![Laravel v5.2][laravel_5_2] ![Laravel v5.3][laravel_5_3] |
14-
| ![LaravelMessenger v2.x][laravel_messenger_2_x] | ![Laravel v5.4][laravel_5_4] |
15-
| ![LaravelMessenger v3.x][laravel_messenger_3_x] | ![Laravel v5.5][laravel_5_5] |
16-
| ![LaravelMessenger v4.x][laravel_messenger_4_x] | ![Laravel v5.6][laravel_5_6] |
17-
| ![LaravelMessenger v5.x][laravel_messenger_5_x] | ![Laravel v5.7][laravel_5_7] |
18-
| ![LaravelMessenger v6.x][laravel_messenger_6_x] | ![Laravel v5.8][laravel_5_8] |
13+
| ![LaravelMessenger v8.x][laravel_messenger_8_x] | ![Laravel v7.x][laravel_7_x] |
1914
| ![LaravelMessenger v7.x][laravel_messenger_7_x] | ![Laravel v6.x][laravel_6_x] |
15+
| ![LaravelMessenger v6.x][laravel_messenger_6_x] | ![Laravel v5.8][laravel_5_8] |
16+
| ![LaravelMessenger v5.x][laravel_messenger_5_x] | ![Laravel v5.7][laravel_5_7] |
17+
| ![LaravelMessenger v4.x][laravel_messenger_4_x] | ![Laravel v5.6][laravel_5_6] |
18+
| ![LaravelMessenger v3.x][laravel_messenger_3_x] | ![Laravel v5.5][laravel_5_5] |
19+
| ![LaravelMessenger v2.x][laravel_messenger_2_x] | ![Laravel v5.4][laravel_5_4] |
20+
| ![LaravelMessenger v1.x][laravel_messenger_1_x] | ![Laravel v5.1][laravel_5_1] ![Laravel v5.2][laravel_5_2] ![Laravel v5.3][laravel_5_3] |
2021

21-
[laravel_5_1]: https://img.shields.io/badge/v5.1-supported-brightgreen.svg?style=flat-square "Laravel v5.1"
22-
[laravel_5_2]: https://img.shields.io/badge/v5.2-supported-brightgreen.svg?style=flat-square "Laravel v5.2"
23-
[laravel_5_3]: https://img.shields.io/badge/v5.3-supported-brightgreen.svg?style=flat-square "Laravel v5.3"
24-
[laravel_5_4]: https://img.shields.io/badge/v5.4-supported-brightgreen.svg?style=flat-square "Laravel v5.4"
25-
[laravel_5_5]: https://img.shields.io/badge/v5.5-supported-brightgreen.svg?style=flat-square "Laravel v5.5"
26-
[laravel_5_6]: https://img.shields.io/badge/v5.6-supported-brightgreen.svg?style=flat-square "Laravel v5.6"
27-
[laravel_5_7]: https://img.shields.io/badge/v5.7-supported-brightgreen.svg?style=flat-square "Laravel v5.7"
28-
[laravel_5_8]: https://img.shields.io/badge/v5.8-supported-brightgreen.svg?style=flat-square "Laravel v5.8"
22+
[laravel_7_x]: https://img.shields.io/badge/v7.x-supported-brightgreen.svg?style=flat-square "Laravel v7.x"
2923
[laravel_6_x]: https://img.shields.io/badge/v6.x-supported-brightgreen.svg?style=flat-square "Laravel v6.x"
24+
[laravel_5_8]: https://img.shields.io/badge/v5.8-supported-brightgreen.svg?style=flat-square "Laravel v5.8"
25+
[laravel_5_7]: https://img.shields.io/badge/v5.7-supported-brightgreen.svg?style=flat-square "Laravel v5.7"
26+
[laravel_5_6]: https://img.shields.io/badge/v5.6-supported-brightgreen.svg?style=flat-square "Laravel v5.6"
27+
[laravel_5_5]: https://img.shields.io/badge/v5.5-supported-brightgreen.svg?style=flat-square "Laravel v5.5"
28+
[laravel_5_4]: https://img.shields.io/badge/v5.4-supported-brightgreen.svg?style=flat-square "Laravel v5.4"
29+
[laravel_5_3]: https://img.shields.io/badge/v5.3-supported-brightgreen.svg?style=flat-square "Laravel v5.3"
30+
[laravel_5_2]: https://img.shields.io/badge/v5.2-supported-brightgreen.svg?style=flat-square "Laravel v5.2"
31+
[laravel_5_1]: https://img.shields.io/badge/v5.1-supported-brightgreen.svg?style=flat-square "Laravel v5.1"
3032

31-
[laravel_messenger_1_x]: https://img.shields.io/badge/version-1.x-blue.svg?style=flat-square "LaravelMessenger v1.x"
32-
[laravel_messenger_2_x]: https://img.shields.io/badge/version-2.x-blue.svg?style=flat-square "LaravelMessenger v2.x"
33-
[laravel_messenger_3_x]: https://img.shields.io/badge/version-3.x-blue.svg?style=flat-square "LaravelMessenger v3.x"
34-
[laravel_messenger_4_x]: https://img.shields.io/badge/version-4.x-blue.svg?style=flat-square "LaravelMessenger v4.x"
35-
[laravel_messenger_5_x]: https://img.shields.io/badge/version-5.x-blue.svg?style=flat-square "LaravelMessenger v5.x"
36-
[laravel_messenger_6_x]: https://img.shields.io/badge/version-6.x-blue.svg?style=flat-square "LaravelMessenger v6.x"
33+
[laravel_messenger_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "LaravelMessenger v8.x"
3734
[laravel_messenger_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "LaravelMessenger v7.x"
35+
[laravel_messenger_6_x]: https://img.shields.io/badge/version-6.x-blue.svg?style=flat-square "LaravelMessenger v6.x"
36+
[laravel_messenger_5_x]: https://img.shields.io/badge/version-5.x-blue.svg?style=flat-square "LaravelMessenger v5.x"
37+
[laravel_messenger_4_x]: https://img.shields.io/badge/version-4.x-blue.svg?style=flat-square "LaravelMessenger v4.x"
38+
[laravel_messenger_3_x]: https://img.shields.io/badge/version-3.x-blue.svg?style=flat-square "LaravelMessenger v3.x"
39+
[laravel_messenger_2_x]: https://img.shields.io/badge/version-2.x-blue.svg?style=flat-square "LaravelMessenger v2.x"
40+
[laravel_messenger_1_x]: https://img.shields.io/badge/version-1.x-blue.svg?style=flat-square "LaravelMessenger v1.x"
3841

3942
## Composer
4043

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616
"type": "library",
1717
"license": "MIT",
1818
"require": {
19-
"php": ">=7.2.0",
20-
"arcanedev/support": "^5.1"
19+
"php": "^7.2.5",
20+
"arcanedev/support": "^7.1"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^4.6",
24-
"mockery/mockery": "^1.2",
25-
"phpunit/phpunit": "^8.0",
26-
"phpunit/phpcov": "^6.0"
23+
"orchestra/testbench": "^5.0",
24+
"mockery/mockery": "^1.3.1",
25+
"phpunit/phpunit": "^8.5"
2726
},
2827
"autoload": {
2928
"psr-4": {

src/Models/Model.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Arcanedev\LaravelMessenger\Models;
66

7-
use Arcanedev\Support\Database\Model as BaseModel;
7+
use Arcanedev\Support\Database\PrefixedModel;
88
use Illuminate\Database\Eloquent\SoftDeletes;
99

1010
/**
@@ -13,7 +13,7 @@
1313
* @package Arcanedev\LaravelMessenger\Bases
1414
* @author ARCANEDEV <[email protected]>
1515
*/
16-
abstract class Model extends BaseModel
16+
abstract class Model extends PrefixedModel
1717
{
1818
/* -----------------------------------------------------------------
1919
| Traits

tests/Stubs/Models/User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
namespace Arcanedev\LaravelMessenger\Tests\Stubs\Models;
66

77
use Arcanedev\LaravelMessenger\Traits\Messagable;
8-
use Arcanedev\Support\Database\Model;
8+
use Arcanedev\Support\Database\PrefixedModel;
99

1010
/**
1111
* Class User
1212
*
1313
* @package Arcanedev\LaravelMessenger\Tests\Models
1414
* @author ARCANEDEV <[email protected]>
1515
*/
16-
class User extends Model
16+
class User extends PrefixedModel
1717
{
1818
/* -----------------------------------------------------------------
1919
| Traits

tests/fixtures/migrations/2016_08_01_000000_create_users_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct()
3333
/**
3434
* Run the migrations.
3535
*/
36-
public function up()
36+
public function up(): void
3737
{
3838
$this->createSchema(function (Blueprint $table) {
3939
$table->increments('id');

0 commit comments

Comments
 (0)