How To Install php-cilex1 on Fedora 36

In this tutorial we learn how to install php-cilex1 in Fedora 36. php-cilex1 is PHP micro-framework for Command line tools

Introduction

In this tutorial we learn how to install php-cilex1 on Fedora 36.

What is php-cilex1

Cilex provides the means to build anything from small script collections to complete command line applications. Cilex aims to be * extensible, Cilex leverages Service Providers to add basic functionality, such as dealing with configuration files * easy to use, an application and a series of commands; you don’t need anything more to get started. * Testable, Cilex leverages the Dependency Injection Container Pimple and the Symfony2 Console Component; which makes it easy to test your application. Autoloader

We can use yum or dnf to install php-cilex1 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-cilex1.

Install php-cilex1 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-cilex1 using dnf by running the following command:

sudo dnf -y install php-cilex1

Install php-cilex1 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-cilex1 using yum by running the following command:

sudo yum -y install php-cilex1

How To Uninstall php-cilex1 on Fedora 36

To uninstall only the php-cilex1 package we can use the following command:

sudo dnf remove php-cilex1

php-cilex1 Package Contents on Fedora 36

/usr/share/doc/php-cilex1
/usr/share/doc/php-cilex1/README.md
/usr/share/doc/php-cilex1/composer.json
/usr/share/doc/php-cilex1/console-service-provider
/usr/share/doc/php-cilex1/console-service-provider/README.md
/usr/share/doc/php-cilex1/console-service-provider/composer.json
/usr/share/licenses/php-cilex1
/usr/share/licenses/php-cilex1/LICENSE
/usr/share/php/Cilex1
/usr/share/php/Cilex1/Application.php
/usr/share/php/Cilex1/Command
/usr/share/php/Cilex1/Command/Command.php
/usr/share/php/Cilex1/Command/DemoInfoCommand.php
/usr/share/php/Cilex1/Command/GreetCommand.php
/usr/share/php/Cilex1/Provider
/usr/share/php/Cilex1/Provider/ConfigServiceProvider.php
/usr/share/php/Cilex1/Provider/Console
/usr/share/php/Cilex1/Provider/Console/Adapter
/usr/share/php/Cilex1/Provider/Console/Adapter/Silex
/usr/share/php/Cilex1/Provider/Console/Adapter/Silex/ConsoleServiceProvider.php
/usr/share/php/Cilex1/Provider/Console/BaseConsoleServiceProvider.php
/usr/share/php/Cilex1/Provider/Console/ConsoleServiceProvider.php
/usr/share/php/Cilex1/Provider/Console/ContainerAwareApplication.php
/usr/share/php/Cilex1/Provider/DoctrineServiceProvider.php
/usr/share/php/Cilex1/Provider/MonologServiceProvider.php
/usr/share/php/Cilex1/Provider/ValidatorServiceProvider.php
/usr/share/php/Cilex1/ServiceProviderInterface.php
/usr/share/php/Cilex1/autoload.php

References

Summary

In this tutorial we learn how to install php-cilex1 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).