Skip to content

Commit

Permalink
Updated to PHP 8.0 and added PHP 8.2 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
MSnoeren committed Jan 3, 2023
1 parent 0f0538a commit d3feb5e
Show file tree
Hide file tree
Showing 8 changed files with 1,211 additions and 1,229 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [7.4, 8.0, 8.1]
php-versions: [8.0, 8.1, 8.2]
name: PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Laravel Admin Users
[![Latest version on Packagist](https://img.shields.io/packagist/v/snoeren-development/laravel-admin-users.svg?style=flat-square)](https://packagist.org/packages/snoeren-development/laravel-admin-users)
[![Software License](https://img.shields.io/github/license/snoeren-development/laravel-admin-users?style=flat-square)](LICENSE)
[![Build status](https://img.shields.io/github/workflow/status/snoeren-development/laravel-admin-users/PHP%20Tests?style=flat-square)](https://github.com/snoeren-development/laravel-admin-users/actions)
[![Build status](https://img.shields.io/github/actions/workflow/status/snoeren-development/laravel-admin-users/php.yml?branch=main&style=flat-square)](https://github.com/snoeren-development/laravel-admin-users/actions)
[![Downloads](https://img.shields.io/packagist/dt/snoeren-development/laravel-admin-users?style=flat-square)](https://packagist.org/packages/snoeren-development/laravel-admin-users)

This small package adds a configuration and user model trait to define
Expand All @@ -14,7 +14,7 @@ composer require snoeren-development/laravel-admin-users
```

### Requirements
This package requires at least PHP 7.4 and Laravel 7.
This package requires at least PHP 8.0 and Laravel 8.

## Usage
Add the `SnoerenDevelopment\AdminUsers\Adminable` trait to your user model and
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
],
"type": "laravel-package",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"illuminate/support": "^8.0|^9.0"
},
"require-dev": {
"orchestra/testbench": "^6.12",
"orchestra/testbench": "^v7.9.0",
"phpunit/phpunit": "^9.5",
"spatie/macroable": "^1.0"
"spatie/macroable": "^2.0.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit d3feb5e

Please sign in to comment.