Skip to content

Commit

Permalink
prep for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
cviebrock committed Feb 10, 2024
1 parent 14912e8 commit f582a2f
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 82 deletions.
66 changes: 0 additions & 66 deletions .github/jetbrains.svg

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

services:
mysql:
image: mysql:5.7
image: mysql:8.0
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: testing
Expand All @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2]
php: [8.2, 8.3]
stability: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/vendor/
composer.lock
composer.phar
.phpunit.cache
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 11.0.0 - xx-xxx-xxxx

- Added Laravel 11 support
- Changed the minimum PHP version to 8.2 to line up with Laravel 11


## 10.0.3 - 02-Feb-2024

- fix for deprecated `preg_split` parameter value (#144, thanks @XternalSoft)
Expand Down
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,28 @@ Easily add the ability to tag your Eloquent models in Laravel.
[![License](https://img.shields.io/packagist/l/cviebrock/eloquent-taggable)](LICENSE.md)


* [Installation](#installation)
* [Updating your Eloquent Models](#updating-your-eloquent-models)
* [Usage](#usage)
* [Query Scopes](#query-scopes)
* [The Tag Model](#the-tag-model)
* [The TagService Class](#the-tagservice-class)
* [Configuration](#configuration)
* [Bugs, Suggestions, Contributions and Support](#bugs-suggestions-contributions-and-support)
* [Copyright and License](#copyright-and-license)
- [Eloquent-Taggable](#eloquent-taggable)
- [Installation](#installation)
- [Updating your Eloquent Models](#updating-your-eloquent-models)
- [Usage](#usage)
- [Adding and Removing Tags from a Model](#adding-and-removing-tags-from-a-model)
- [Working with a Model's Tags](#working-with-a-models-tags)
- [Query Scopes](#query-scopes)
- [Events](#events)
- [Other Methods](#other-methods)
- [The Tag Model](#the-tag-model)
- [The TagService Class](#the-tagservice-class)
- [Configuration](#configuration)
- [delimiters](#delimiters)
- [glue](#glue)
- [normalizer](#normalizer)
- [connection](#connection)
- [throwEmptyExceptions](#throwemptyexceptions)
- [taggedModels](#taggedmodels)
- [model](#model)
- [tables](#tables)
- [Bugs, Suggestions, Contributions and Support](#bugs-suggestions-contributions-and-support)
- [Copyright and License](#copyright-and-license)


---
Expand All @@ -35,6 +48,7 @@ version should match the Laravel version.

| Laravel Version | Package Version |
|:---------------:|:---------------:|
| ^11.0 | ^11.0 |
| ^10.0 | ^10.0 |
| 9.0 | ^9.0 |
| 8.0 | ^8.0 |
Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
}
],
"require": {
"php": "^8.1",
"illuminate/config": "^10.0",
"illuminate/database": "^10.0",
"illuminate/support": "^10.0"
"php": "^8.2",
"illuminate/config": "^11.0",
"illuminate/database": "^11.0",
"illuminate/support": "^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.28"
},
"autoload": {
Expand Down Expand Up @@ -58,6 +58,9 @@
"providers": [
"Cviebrock\\EloquentTaggable\\ServiceProvider"
]
},
"branch-alias": {
"dev-master": "11.0.x-dev"
}
},
"minimum-stability": "dev",
Expand Down

0 comments on commit f582a2f

Please sign in to comment.