Skip to content

Commit c02e240

Browse files
Drop Support for Laravel 11 and PHP 8.2 and PHP 8.3 (#235)
1 parent 059d7f6 commit c02e240

File tree

3 files changed

+7
-29
lines changed

3 files changed

+7
-29
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
php: [8.2, 8.3, 8.4, 8.5]
13-
laravel: [11.*, 12.*]
12+
php: [8.4, 8.5]
13+
laravel: [12.*]
1414
stability: [prefer-lowest, prefer-stable]
1515
include:
16-
- laravel: 11.*
17-
testbench: 9.*
1816
- laravel: 12.*
1917
testbench: 10.*
2018

README.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
<a href="https://packagist.org/packages/wnx/laravel-stats">
1111
<img src="https://poser.pugx.org/wnx/laravel-stats/downloads" alt="">
1212
</a>
13-
<a href="https://plant.treeware.earth/stefanzweifel/laravel-stats">
14-
<img src="https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen" alt="Buy us a tree">
15-
</a>
1613
</p>
1714

1815
<p align="center">
19-
Get insights about your Laravel or Lumen Project.
16+
Get insights about your Laravel Project.
2017
</p>
2118

2219
![Screenshot](https://raw.githubusercontent.com/stefanzweifel/laravel-stats/master/screenshot.png)
@@ -31,12 +28,6 @@ composer require "wnx/laravel-stats" --dev
3128

3229
The package will automatically register itself.
3330

34-
If you're using Lumen you have to manually register the Service Provider in your `bootstrap/app.php` file:
35-
36-
```php
37-
$app->register(\Wnx\LaravelStats\StatsServiceProvider::class);
38-
```
39-
4031
Optionally, you can publish the config file in your Laravel applications with the following command:
4132

4233
```shell
@@ -158,17 +149,6 @@ class RepositoryClassifier implements Classifier
158149
...
159150
```
160151

161-
## Treeware
162-
163-
You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.
164-
165-
It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to <a href="https://www.bbc.co.uk/news/science-environment-48870920">plant trees</a>. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
166-
167-
You can buy trees here [offset.earth/treeware](https://plant.treeware.earth/stefanzweifel/laravel-stats)
168-
169-
Read more about Treeware at [treeware.earth](http://treeware.earth)
170-
171-
172152
## Running the tests
173153

174154
The package has tests written in phpunit. You can run them with the following command.

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
}
1414
],
1515
"require": {
16-
"php": "^8.2",
16+
"php": "^8.4",
1717
"ext-json": "*",
18-
"illuminate/console": "^11.0 | ^12.0",
19-
"illuminate/support": "^11.0 | ^12.0",
18+
"illuminate/console": "^12.0",
19+
"illuminate/support": "^12.0",
2020
"stefanzweifel/laravel-stats-phploc": "^7.0 | ^8.0",
2121
"symfony/finder": "^7.0",
2222
"symfony/process": " ^7.0"
@@ -26,7 +26,7 @@
2626
"laravel/browser-kit-testing": "^7.1 | ^8.0",
2727
"laravel/dusk": "^8.0",
2828
"livewire/livewire": "^3.0",
29-
"orchestra/testbench": "^9.0 | ^10",
29+
"orchestra/testbench": "^10",
3030
"pestphp/pest": "^3 | ^4",
3131
"phpunit/phpunit": "^11.0 | ^12.0",
3232
"rector/rector": "^2.0"

0 commit comments

Comments
 (0)