diff --git a/.travis.yml b/.travis.yml index 42e18b2..191b4aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: php php: - - 7.1 + - 8.1 sudo: false diff --git a/README.md b/README.md index 875c4db..46758aa 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,12 @@ A field that make your resources orderable using [the laravel nestedset package] ## Requirements -* PHP >= 7.4 -* Laravel Nova >= 3.0 -* Laravel Framework >= 8.43 +* PHP >= 8.1 +* Laravel Nova >= 4.0 +* Laravel Framework >= 9.0 -> **NOTE**: These instructions are for Laravel >= 8.43. If you are using prior version, please -> see the [previous version's docs](https://github.com/novius/laravel-nova-order-nestedset-field/tree/1.x). +> **NOTE**: These instructions are for Laravel >= 9.0 and Laravel Nova 4.0. If you are using prior version, please +> see the [previous version's docs](https://github.com/novius/laravel-nova-order-nestedset-field/tree/2.x). ## Installation diff --git a/composer.json b/composer.json index 63d679c..d134200 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ } ], "require": { - "php": ">=7.4", - "illuminate/support": "^8.43", + "php": ">=8.1", + "illuminate/support": "^9.0", "kalnoy/nestedset": "^6.0.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.0" + "friendsofphp/php-cs-fixer": "^3.8.0" }, "autoload": { "psr-4": { diff --git a/src/OrderNestedsetFieldServiceProvider.php b/src/OrderNestedsetFieldServiceProvider.php index 9bfbe5d..e027687 100644 --- a/src/OrderNestedsetFieldServiceProvider.php +++ b/src/OrderNestedsetFieldServiceProvider.php @@ -27,7 +27,7 @@ public function boot() $this->publishes([__DIR__.'/../config' => config_path()], 'config'); $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'nova-order-nestedset-field'); - $this->publishes([__DIR__.'/../resources/lang' => resource_path('lang/vendor/nova-order-nestedset-field')], 'lang'); + $this->publishes([__DIR__.'/../resources/lang' => lang_path('vendor/nova-order-nestedset-field')], 'lang'); } /**