mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 09:54:04 +00:00
Add L10 support, remove L6 and L8 support (#11)
* Add L10 support * Update PHP version in ci.yml * Update ci.yml * Revert ci.yml changes * Migrate PHPUnit XML config using "--migrate-configuration" * Update phpunit.xml (delete cacheDirectory, use backupStaticAttributes instead of backupStaticProperties) * Delete backupStaticAttributes * Add PHP version matrix * Use ci.yml from #12 * Correct Laravel matrix versions * Revert ci.yml changes * Use multiple PHP versions * Update ci.yml * Don't use PHP 8 with Laravel 10 in CI * Update ci.yml * Remove L6 and L8 support * Use single PHP version in CI * Update ci.yml * Change matrix in ci.yml * swap laravel 9 & 10 * Update README.md --------- Co-authored-by: Samuel Štancl <samuel@archte.ch>
This commit is contained in:
parent
46c590e240
commit
0b108903b5
4 changed files with 38 additions and 43 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## Installation
|
||||
|
||||
Supports Laravel 6, 7, 8, and 9.
|
||||
Supports Laravel 9 and 10.
|
||||
|
||||
```
|
||||
composer require stancl/virtualcolumn
|
||||
|
|
@ -20,7 +20,7 @@ class MyModel extends Model
|
|||
use VirtualColumn;
|
||||
|
||||
public $guarded = [];
|
||||
|
||||
|
||||
public static function getCustomColumns(): array
|
||||
{
|
||||
return [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue