How To Install php-laminas-mvc on Fedora 36
Introduction
In this tutorial we learn how to install php-laminas-mvc
on Fedora 36.
What is php-laminas-mvc
Laminas\Mvc is a brand new MVC implementation designed from the ground up for Laminas Framework, focusing on performance and flexibility. The MVC layer is built on top of the following components * Laminas\ServiceManager - Laminas Framework provides a set of default service definitions set up at Laminas\Mvc\Service. The ServiceManager creates and configures your application instance and workflow. * Laminas\EventManager - The MVC is event driven. This component is used everywhere from initial bootstrapping of the application, through returning response and request calls, to setting and retrieving routes and matched routes, as well as render views. * Laminas\Http - specifically the request and response objects, used within Laminas\Stdlib\DispatchableInterface. All “controllers” are simply dispatchable objects. Documentation
We can use yum
or dnf
to install php-laminas-mvc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-laminas-mvc.
Install php-laminas-mvc on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install php-laminas-mvc
using dnf
by running the following command:
sudo dnf -y install php-laminas-mvc
Install php-laminas-mvc on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-laminas-mvc
using yum
by running the following command:
sudo yum -y install php-laminas-mvc
How To Uninstall php-laminas-mvc on Fedora 36
To uninstall only the php-laminas-mvc
package we can use the following command:
sudo dnf remove php-laminas-mvc
php-laminas-mvc Package Contents on Fedora 36
/usr/share/doc/php-laminas-mvc
/usr/share/doc/php-laminas-mvc/COPYRIGHT.md
/usr/share/doc/php-laminas-mvc/README.md
/usr/share/doc/php-laminas-mvc/composer.json
/usr/share/licenses/php-laminas-mvc
/usr/share/licenses/php-laminas-mvc/LICENSE
/usr/share/php/Laminas/Mvc
/usr/share/php/Laminas/Mvc/Application.php
/usr/share/php/Laminas/Mvc/ApplicationInterface.php
/usr/share/php/Laminas/Mvc/Controller
/usr/share/php/Laminas/Mvc/Controller/AbstractActionController.php
/usr/share/php/Laminas/Mvc/Controller/AbstractController.php
/usr/share/php/Laminas/Mvc/Controller/AbstractRestfulController.php
/usr/share/php/Laminas/Mvc/Controller/ControllerManager.php
/usr/share/php/Laminas/Mvc/Controller/LazyControllerAbstractFactory.php
/usr/share/php/Laminas/Mvc/Controller/MiddlewareController.php
/usr/share/php/Laminas/Mvc/Controller/Plugin
/usr/share/php/Laminas/Mvc/Controller/Plugin/AbstractPlugin.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/AcceptableViewModelSelector.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/CreateHttpNotFoundModel.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/Forward.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/Layout.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/Params.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/PluginInterface.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/Redirect.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/Service
/usr/share/php/Laminas/Mvc/Controller/Plugin/Service/ForwardFactory.php
/usr/share/php/Laminas/Mvc/Controller/Plugin/Url.php
/usr/share/php/Laminas/Mvc/Controller/PluginManager.php
/usr/share/php/Laminas/Mvc/DispatchListener.php
/usr/share/php/Laminas/Mvc/Exception
/usr/share/php/Laminas/Mvc/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Mvc/Exception/DomainException.php
/usr/share/php/Laminas/Mvc/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Mvc/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Mvc/Exception/InvalidControllerException.php
/usr/share/php/Laminas/Mvc/Exception/InvalidMiddlewareException.php
/usr/share/php/Laminas/Mvc/Exception/InvalidPluginException.php
/usr/share/php/Laminas/Mvc/Exception/MissingLocatorException.php
/usr/share/php/Laminas/Mvc/Exception/ReachedFinalHandlerException.php
/usr/share/php/Laminas/Mvc/Exception/RuntimeException.php
/usr/share/php/Laminas/Mvc/HttpMethodListener.php
/usr/share/php/Laminas/Mvc/InjectApplicationEventInterface.php
/usr/share/php/Laminas/Mvc/MiddlewareListener.php
/usr/share/php/Laminas/Mvc/ModuleRouteListener.php
/usr/share/php/Laminas/Mvc/MvcEvent.php
/usr/share/php/Laminas/Mvc/ResponseSender
/usr/share/php/Laminas/Mvc/ResponseSender/AbstractResponseSender.php
/usr/share/php/Laminas/Mvc/ResponseSender/HttpResponseSender.php
/usr/share/php/Laminas/Mvc/ResponseSender/PhpEnvironmentResponseSender.php
/usr/share/php/Laminas/Mvc/ResponseSender/ResponseSenderInterface.php
/usr/share/php/Laminas/Mvc/ResponseSender/SendResponseEvent.php
/usr/share/php/Laminas/Mvc/ResponseSender/SimpleStreamResponseSender.php
/usr/share/php/Laminas/Mvc/RouteListener.php
/usr/share/php/Laminas/Mvc/SendResponseListener.php
/usr/share/php/Laminas/Mvc/Service
/usr/share/php/Laminas/Mvc/Service/AbstractPluginManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/ApplicationFactory.php
/usr/share/php/Laminas/Mvc/Service/ConfigFactory.php
/usr/share/php/Laminas/Mvc/Service/ControllerManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/ControllerPluginManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/DispatchListenerFactory.php
/usr/share/php/Laminas/Mvc/Service/EventManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/HttpDefaultRenderingStrategyFactory.php
/usr/share/php/Laminas/Mvc/Service/HttpExceptionStrategyFactory.php
/usr/share/php/Laminas/Mvc/Service/HttpMethodListenerFactory.php
/usr/share/php/Laminas/Mvc/Service/HttpRouteNotFoundStrategyFactory.php
/usr/share/php/Laminas/Mvc/Service/HttpViewManagerConfigTrait.php
/usr/share/php/Laminas/Mvc/Service/HttpViewManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/InjectTemplateListenerFactory.php
/usr/share/php/Laminas/Mvc/Service/ModuleManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/PaginatorPluginManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/RequestFactory.php
/usr/share/php/Laminas/Mvc/Service/ResponseFactory.php
/usr/share/php/Laminas/Mvc/Service/SendResponseListenerFactory.php
/usr/share/php/Laminas/Mvc/Service/ServiceListenerFactory.php
/usr/share/php/Laminas/Mvc/Service/ServiceManagerConfig.php
/usr/share/php/Laminas/Mvc/Service/ViewFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewFeedStrategyFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewHelperManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewJsonStrategyFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewManagerFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewPhpRendererFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewPhpRendererStrategyFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewPrefixPathStackResolverFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewResolverFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewTemplateMapResolverFactory.php
/usr/share/php/Laminas/Mvc/Service/ViewTemplatePathStackFactory.php
/usr/share/php/Laminas/Mvc/View
/usr/share/php/Laminas/Mvc/View/Http
/usr/share/php/Laminas/Mvc/View/Http/CreateViewModelListener.php
/usr/share/php/Laminas/Mvc/View/Http/DefaultRenderingStrategy.php
/usr/share/php/Laminas/Mvc/View/Http/ExceptionStrategy.php
/usr/share/php/Laminas/Mvc/View/Http/InjectRoutematchParamsListener.php
/usr/share/php/Laminas/Mvc/View/Http/InjectTemplateListener.php
/usr/share/php/Laminas/Mvc/View/Http/InjectViewModelListener.php
/usr/share/php/Laminas/Mvc/View/Http/RouteNotFoundStrategy.php
/usr/share/php/Laminas/Mvc/View/Http/ViewManager.php
/usr/share/php/Laminas/Mvc/autoload.php
/usr/share/php/Zend/Mvc
/usr/share/php/Zend/Mvc/autoload.php
References
Summary
In this tutorial we learn how to install php-laminas-mvc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).