From the course: Exploring and Selecting PHP Frameworks
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Extendibility
From the course: Exploring and Selecting PHP Frameworks
Extendibility
A consideration with any framework is how extendable it is. Frameworks are not going to enforce code standards or architecture concepts, but you may have a harder time interfacing with a framework if you don't write code the way it expects you to. I'm going to start with Laravel. Laravel has the ability to add packages that are discoverable. This means these packages may have routes, controllers, views, and configuration specifically intended to enhance a Laravel application. So a package is written for Laravel may meet all your needs, but by virtue of discoverability is going to take some work to implement elsewhere. This especially applies as you write packages to use within frameworks. Taking that one step further, WordPress adds functionality through plugins, and plugins interface with requests and responses through the many hooks that are available during the request process. This means that you have to be very intentional when you write logic for WordPress that you intend to…