Closed mstnorris closed 8 years ago
It's been already done and seems fine:
just did:
// composer
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*"
},
"require-dev": {
....
"sofa/eloquence": "~5.3"
...
}
// tinker
>>> $cl = new class extends \Illuminate\Database\Eloquent\Model { use \Sofa\Eloquence\Eloquence, Sofa\Eloquence\Mappable; }
=> Illuminate\Database\Eloquent\Model@anonymous {#664}
>>> $model = new $cl
=> Illuminate\Database\Eloquent\Model@anonymous {#676}
>>>
it needs some tweaks for the ne wJoinClause
however , so leaving it open
sofa/eloquence 5.2.x-dev requires illuminate/database 5.2.* -> satisfiable by illuminate/database[5.2.x-dev, blah blah blah]
Please update to allow installation into Laravel 5.3 projects.