ttimot24 / HorizontCMS

Lightweight CMS built on Laravel 9, VueJs 2.6 and Bootstrap 5.3. An alternative platform to OctoberCMS
MIT License
55 stars 19 forks source link

Starting to get rid of Controller class #92

Closed ttimot24 closed 3 weeks ago

ttimot24 commented 3 weeks ago

One of the oldest class in the CMS is the \App\Libs\Controller class. It's time to say goodbye to it and remove all of the references to this class. It makes the whole unit testing painfull.

Currently it's going to be marked as depreceted and slowly all of the controller classes will be reassigned to Laravel's BaseController.

Later the plugins will follow and all of them will be upgraded to the new behaviour.