Skip to content

Commit

Permalink
Adding Laravel 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dextromethorphanum committed Aug 4, 2023
1 parent dee8adf commit 7f9f67e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This Laravel Notes will allow you to add a notes system into your Laravel projec
* Easy setup & configuration.
* Well documented & IDE Friendly.
* Well tested with maximum code quality.
* Laravel `5.1` to `9.x` are supported.
* Laravel `5.1` to `10.x` are supported.
* Made with :heart: & :coffee:.

## Table of contents
Expand All @@ -42,7 +42,7 @@ If you discover any security related issues, please email arcanedev.maroc@gmail.
- [ARCANEDEV][link-author]
- [All Contributors][link-contributors]

[badge_laravel]: https://img.shields.io/badge/For%20Laravel-5.1%20to%209.x-orange.svg?style=flat-square
[badge_laravel]: https://img.shields.io/badge/For%20Laravel-5.1%20to%2010.x-orange.svg?style=flat-square
[badge_license]: https://img.shields.io/packagist/l/arcanedev/laravel-notes.svg?style=flat-square
[badge_build]: https://img.shields.io/github/workflow/status/ARCANEDEV/LaravelNotes/run-tests?style=flat-square
[badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANEDEV/LaravelNotes.svg?style=flat-square
Expand Down
30 changes: 16 additions & 14 deletions _docs/1-Installation-and-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@

## Version Compatibility

| Laravel | Laravel Notes |
|:-----------------------------|:-----------------------------------------|
| ![Laravel v9.x][laravel_9_x] | ![Laravel Notes v9.x][laravel_notes_9_x] |
| ![Laravel v8.x][laravel_8_x] | ![Laravel Notes v8.x][laravel_notes_8_x] |
| ![Laravel v7.x][laravel_7_x] | ![Laravel Notes v7.x][laravel_notes_7_x] |
| ![Laravel v6.x][laravel_6_x] | ![Laravel Notes v6.x][laravel_notes_6_x] |
| ![Laravel v5.8][laravel_5_8] | ![Laravel Notes v5.x][laravel_notes_5_x] |
| ![Laravel v5.7][laravel_5_7] | ![Laravel Notes v4.x][laravel_notes_4_x] |
| ![Laravel v5.6][laravel_5_6] | ![Laravel Notes v3.x][laravel_notes_3_x] |
| ![Laravel v5.5][laravel_5_5] | ![Laravel Notes v2.x][laravel_notes_2_x] |
| ![Laravel v5.4][laravel_5_4] | ![Laravel Notes v1.x][laravel_notes_1_x] |
| ![Laravel v5.3][laravel_5_3] | ![Laravel Notes v0.x][laravel_notes_0_x] |
| ![Laravel v5.2][laravel_5_2] | ![Laravel Notes v0.x][laravel_notes_0_x] |
| ![Laravel v5.1][laravel_5_1] | ![Laravel Notes v0.x][laravel_notes_0_x] |
| Laravel | Laravel Notes |
|:-------------------------------|:-------------------------------------------|
| ![Laravel v10.x][laravel_10_x] | ![Laravel Notes v10.x][laravel_notes_10_x] |
| ![Laravel v9.x][laravel_9_x] | ![Laravel Notes v9.x][laravel_notes_9_x] |
| ![Laravel v8.x][laravel_8_x] | ![Laravel Notes v8.x][laravel_notes_8_x] |
| ![Laravel v7.x][laravel_7_x] | ![Laravel Notes v7.x][laravel_notes_7_x] |
| ![Laravel v6.x][laravel_6_x] | ![Laravel Notes v6.x][laravel_notes_6_x] |
| ![Laravel v5.8][laravel_5_8] | ![Laravel Notes v5.x][laravel_notes_5_x] |
| ![Laravel v5.7][laravel_5_7] | ![Laravel Notes v4.x][laravel_notes_4_x] |
| ![Laravel v5.6][laravel_5_6] | ![Laravel Notes v3.x][laravel_notes_3_x] |
| ![Laravel v5.5][laravel_5_5] | ![Laravel Notes v2.x][laravel_notes_2_x] |
| ![Laravel v5.4][laravel_5_4] | ![Laravel Notes v1.x][laravel_notes_1_x] |
| ![Laravel v5.3][laravel_5_3] | ![Laravel Notes v0.x][laravel_notes_0_x] |
| ![Laravel v5.2][laravel_5_2] | ![Laravel Notes v0.x][laravel_notes_0_x] |
| ![Laravel v5.1][laravel_5_1] | ![Laravel Notes v0.x][laravel_notes_0_x] |

[laravel_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "Laravel v9.x"
[laravel_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "Laravel v8.x"
Expand All @@ -36,6 +37,7 @@
[laravel_5_2]: https://img.shields.io/badge/version-5.2-blue.svg?style=flat-square "Laravel v5.2"
[laravel_5_1]: https://img.shields.io/badge/version-5.1-blue.svg?style=flat-square "Laravel v5.1"

[laravel_notes_10_x]: https://img.shields.io/badge/version-10.x-blue.svg?style=flat-square "LaravelNotes v10.x"
[laravel_notes_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "LaravelNotes v9.x"
[laravel_notes_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "LaravelNotes v8.x"
[laravel_notes_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "LaravelNotes v7.x"
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"type": "library",
"license": "MIT",
"require": {
"php": "^8.0",
"arcanedev/support": "^9.0"
"php": "^8.1",
"arcanedev/support": "^10.0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"mockery/mockery": "^1.4.4",
"laravel/framework": "^9.0",
"orchestra/testbench-core": "^7.0",
"phpunit/phpunit": "^9.5.10"
"laravel/framework": "^10.0",
"orchestra/testbench-core": "^8.0",
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
Expand Down
14 changes: 8 additions & 6 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests</directory>
<directory suffix="Test.php">./tests</directory>
<exclude>./tests/fixtures</exclude>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<coverage>
<report>
<clover outputFile="build/coverage/clover.xml"/>
<html outputDirectory="build/coverage/html"/>
Expand All @@ -23,4 +20,9 @@
<php>
<env name="DB_CONNECTION" value="testing"/>
</php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit 7f9f67e

Please sign in to comment.