Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switch deprecated laravel-translatable package
  • Loading branch information
christophengelmayer committed Dec 3, 2019
commit afea56be869f8d5fb782d720ed64ceda45ea1520
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ If you created your own routes make sure you have the ``auth:api`` middlware on
##### Laravel framework
* https://laravel.com/docs/

##### Dimsav / laravel-translatable
* https://github.com/dimsav/laravel-translatable
##### Astrotomic / laravel-translatable
* https://github.com/Astrotomic/laravel-translatable

## Change log

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"require": {
"php": "^7.2",
"dimsav/laravel-translatable": "^8.0|^9.0",
"astrotomic/laravel-translatable": "^11.6",
"laravel/framework": "5.5.*|5.6.*|5.7.*|5.8.*|6.*"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion resources/templates/model.stub
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace $NAMESPACE_MODEL$;

use Illuminate\Database\Eloquent\Model;
use Dimsav\Translatable\Translatable;
use Astrotomic\Translatable\Translatable;

class $MODEL_NAME$ extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion sample/Sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App;

use Dimsav\Translatable\Translatable;
use Astrotomic\Translatable\Translatable;
use Illuminate\Database\Eloquent\Model;

class Sample extends Model
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/LaravelApiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Swis\JsonApi\Server\Providers;

use Dimsav\Translatable\TranslatableServiceProvider;
use Astrotomic\Translatable\TranslatableServiceProvider;
use Illuminate\Routing\Router;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Route;
Expand Down