GithubHelp home page GithubHelp logo

Comments (6)

spyp avatar spyp commented on June 10, 2024 1

its ok with 5.5 so far i used and its compatible

from ardent.

igorsantos07 avatar igorsantos07 commented on June 10, 2024 1

I've added @spyp as contributor, if this is not too late.

Some things have happened around here and I found some space to do static reviews and overview the repository, at least :)

I've merged a couple of compatibility PRs and will be releasing as a new minor later.

from ardent.

Namoshek avatar Namoshek commented on June 10, 2024

There has been a breaking change to laravels Eloquent\Model::morphTo() method in v5.6 which makes it incompatible with the Ardent::morpthTo() method. So in case this repository is not maintained anymore (which seems to be the case, the last update was two years ago), I would stay away from it in case you want to use Laravel 5.6.

Nevertheless, it is quite straight forward to build your own Ardent-like base model. Many of the 1000 lines of code in the Ardent model class are not necessary (e.g. the simplified relationship notation) and incompatible with the current Eloquent model anyway. My own implementation (as I had to get rid of Ardent because of aforementioned reason) has about 350 LOC (phpDoc).

from ardent.

spyp avatar spyp commented on June 10, 2024

from ardent.

igorsantos07 avatar igorsantos07 commented on June 10, 2024

from ardent.

spyp avatar spyp commented on June 10, 2024

ping @igorsantos07
if u need help i'm ready to rebuild this amazing package :)
Hope i can help on this

from ardent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.