Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Laravel 10 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
MSnoeren committed Feb 17, 2023
1 parent ebe0634 commit 7872370
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 203 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ 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
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 Domain Scope
[![Latest version on Packagist](https://img.shields.io/packagist/v/snoeren-development/laravel-domain-scope.svg?style=flat-square)](https://packagist.org/packages/snoeren-development/laravel-domain-scope)
[![Software License](https://img.shields.io/github/license/snoeren-development/laravel-domain-scope?style=flat-square)](LICENSE)
[![Build status](https://img.shields.io/github/workflow/status/snoeren-development/laravel-domain-scope/PHP%20Tests?style=flat-square)](https://github.com/snoeren-development/laravel-domain-scope/actions)
[![Build status](https://img.shields.io/github/actions/workflow/status/snoeren-development/laravel-domain-scope/php.yml?style=flat-square)](https://github.com/snoeren-development/laravel-domain-scope/actions)
[![Downloads](https://img.shields.io/packagist/dt/snoeren-development/laravel-domain-scope?style=flat-square)](https://packagist.org/packages/snoeren-development/laravel-domain-scope)

This package adds domain-scoped content to your application. Content will be
Expand Down Expand Up @@ -29,7 +29,7 @@ $table->foreignId('domain_id')->constrained()->cascadeOnDelete();
```

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

## Usage
After installation, it's up to you how to handle domains. For example:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
],
"minimum-stability": "stable",
"require": {
"php": "^7.4|^8.0",
"illuminate/support": "^8.0|^9.0"
"php": "^8.0",
"illuminate/support": "^8.0|^9.0|^10.0"
},
"extra": {
"laravel": {
Expand Down
Loading

0 comments on commit 7872370

Please sign in to comment.