Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Statamic 3, laravel 8 and 9 plus php 8.1 and lower #35

Merged
merged 8 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,20 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.2, 8.1, 8.0, 7.4]
laravel: [10.*, 9.*, 8.*]
statamic: [4.*, 3.*]
dependency-version: [prefer-stable]
os: [ubuntu-latest]
os: [ubuntu-latest]
php: [8.3, 8.2]
laravel: [11.*, 10.*]
statamic: [5.*, 4.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
framework: ^11.0
testbench: 9.*
- laravel: 10.*
framework: ^10.0
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
exclude:
- laravel: 9.*
statamic: ^3.2
- laravel: 9.*
php: 7.4
- laravel: 10.*
php: 8.0
- laravel: 10.*
php: 7.4

name: P${{ matrix.php }} - S${{ matrix.statamic }} - L${{ matrix.laravel }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ubuntu-latest

steps:
- name: Checkout code
Expand Down
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Statamic 3](https://img.shields.io/badge/Statamic-v3-FF269E?style=for-the-badge&link=https://statamic.com)](https://statamic.com/addons/visuellverstehen/classify)
[![Statamic 4](https://img.shields.io/badge/Statamic-v4-FF269E?style=for-the-badge&link=https://statamic.com)](https://statamic.com/addons/visuellverstehen/classify)
[![Statamic 5](https://img.shields.io/badge/Statamic-v5-FF269E?style=for-the-badge&link=https://statamic.com)](https://statamic.com/addons/visuellverstehen/classify)
[![Latest version on Packagist](https://img.shields.io/packagist/v/visuellverstehen/statamic-classify.svg?style=for-the-badge)](https://packagist.org/packages/visuellverstehen/statamic-classify)

# Classify
Expand All @@ -9,22 +9,9 @@ Classify is a useful helper to add CSS classes to all HTML tags generated by the

## Requirements

- Statamic v3 || v4
- Laravel 9 || 10
- PHP 8

### Version compatibility

| Classify | Statamic | Laravel
|:----------|:----------------|:---------
| ^1.0 | 3.0 | ^7.0
| ^2.0 | 3.0 | ^8.0
| ^2.1 | 3.1 | ^8.0
| ^2.2 | 3.1 | ^8.0
| ^2.3 | 3.2 | ^8.0
| ^2.4 | ^3.0 | ^9.0
| ^2.5 | ^3.0 \|\| ^4.0 | ^9.0
| ^2.6 | ^3.0 \|\| ^4.0 | ^9.0 \|\| ^10.0
- Statamic v4 || v5
- Laravel 10 || 11
- PHP 8.2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • PHP 8.2 || 8.3



## Installation
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visuellverstehen/statamic-classify",
"description": "A useful helper to add CSS classes to all HTML tags generated by the bard editor.",
"keywords": [ "statamic", "addon", "bard", "css", "prose", "typography", "v3", "v4" ],
"keywords": [ "statamic", "addon", "bard", "css", "prose", "typography", "v4", "v5" ],
"license": "proprietary",
"type": "statamic-addon",
"autoload": {
Expand All @@ -23,14 +23,14 @@
"email": "hello@visuellverstehen.de"
},
"require": {
"php": "^7.4 || ^8.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"statamic/cms": "^3.0.38 || ^4.0 || ^5.0",
"symfony/dom-crawler": "^5.4 || ^6.0",
"php": "^8.2 || ^8.3",
"laravel/framework": "^10.0 || ^11.0",
"statamic/cms": "^4.0 || ^5.0",
"symfony/dom-crawler": "^6.0",
"symfony/css-selector": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"orchestra/testbench": "^6.0 || ^7.0 || ^8 || ^9",
"orchestra/testbench": "^8 || ^9",
"phpunit/phpunit": "^9.3 || ^10.0"
},
"scripts": {
Expand Down