Using Editor in Laravel

Using Editor in Laravel

ayzayz Posts: 51Questions: 18Answers: 0

I’m new to Laravel and a bit hazy on how exactly to cobble the components of with Editor/ DT.

Does it simply mean to ignore Eloquent and use the Editor PHP libraries within controllers and DT within blade templates? What else do I need to look out for? This would save me hours in and debugging in advance.

Thanks

Replies

  • allanallan Posts: 61,805Questions: 1Answers: 10,119 Site admin

    Hi,

    There are two options here:

    1. Yes, you could ignore Eloquent and just use the Editor PHP libraries. The benefit of that is that all the Editor stuff will just work and the documentation on our site is all relevant. The disadvantage is that you can't make use of some of the more advanced features of Eloquent, or use an API that you are already familiar with.
    2. Use the Yajra libraries for Laravel + Editor. They are third party so not supported by us, but it does mean you can stay in the Laravel API.

    Regards,
    Allan

This discussion has been closed.