Skip to content

Tag: php

Downgrade PHP version Laravel 5.8

Is it possible to downgrade Laravel 5.8 PHP version to PHP 5? Searched around for resources yet I can’t find any. I need to downgrade it so that I can upload it to our local ubuntu server. Answer Laravel 5.8 requires PHP >= 7.1.3 because the code written in Laravel Core and in other PHP Libraries req…

Correct way to extend classes with Symfony autowiring

I’m wondering if this is the correct way to extend and use classes with Symfonies autowiring. For example, I have a BaseClass that instantiates and auto wires the entity manager. Then I have a subclass that extends the BaseClass and needs access that method. So I let it autowire again and pass it to the…