How To Install php-jms-serializer on Fedora 36

In this tutorial we learn how to install php-jms-serializer in Fedora 36. php-jms-serializer is Library for (de-)serializing data of any complexity

Introduction

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

What is php-jms-serializer

This library allows you to (de-)serialize data of any complexity. Currently, it supports XML, JSON, and YAML. It also provides you with a rich tool-set to adapt the output to your specific needs. Built-in features include * (De-)serialize data of any complexity; circular references are handled gracefully. * Supports many built-in PHP types (such as dates) * Integrates with Doctrine ORM, et. al. * Supports versioning, e.g. for APIs * Configurable via PHP, XML, YAML, or Doctrine Annotations Autoloader

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

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

sudo dnf -y install php-jms-serializer

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

sudo yum -y install php-jms-serializer

How To Uninstall php-jms-serializer on Fedora 36

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

sudo dnf remove php-jms-serializer

php-jms-serializer Package Contents on Fedora 36

/usr/share/doc/php-jms-serializer
/usr/share/doc/php-jms-serializer/CHANGELOG.md
/usr/share/doc/php-jms-serializer/META.md
/usr/share/doc/php-jms-serializer/README.md
/usr/share/doc/php-jms-serializer/UPGRADING.md
/usr/share/doc/php-jms-serializer/composer.json
/usr/share/licenses/php-jms-serializer
/usr/share/licenses/php-jms-serializer/LICENSE
/usr/share/php/JMS/Serializer
/usr/share/php/JMS/Serializer/AbstractVisitor.php
/usr/share/php/JMS/Serializer/Accessor
/usr/share/php/JMS/Serializer/Accessor/AccessorStrategyInterface.php
/usr/share/php/JMS/Serializer/Accessor/DefaultAccessorStrategy.php
/usr/share/php/JMS/Serializer/Accessor/ExpressionAccessorStrategy.php
/usr/share/php/JMS/Serializer/Annotation
/usr/share/php/JMS/Serializer/Annotation/AccessType.php
/usr/share/php/JMS/Serializer/Annotation/Accessor.php
/usr/share/php/JMS/Serializer/Annotation/AccessorOrder.php
/usr/share/php/JMS/Serializer/Annotation/Discriminator.php
/usr/share/php/JMS/Serializer/Annotation/Exclude.php
/usr/share/php/JMS/Serializer/Annotation/ExclusionPolicy.php
/usr/share/php/JMS/Serializer/Annotation/Expose.php
/usr/share/php/JMS/Serializer/Annotation/Groups.php
/usr/share/php/JMS/Serializer/Annotation/HandlerCallback.php
/usr/share/php/JMS/Serializer/Annotation/Inline.php
/usr/share/php/JMS/Serializer/Annotation/MaxDepth.php
/usr/share/php/JMS/Serializer/Annotation/PostDeserialize.php
/usr/share/php/JMS/Serializer/Annotation/PostSerialize.php
/usr/share/php/JMS/Serializer/Annotation/PreSerialize.php
/usr/share/php/JMS/Serializer/Annotation/ReadOnly.php
/usr/share/php/JMS/Serializer/Annotation/SerializedName.php
/usr/share/php/JMS/Serializer/Annotation/Since.php
/usr/share/php/JMS/Serializer/Annotation/SkipWhenEmpty.php
/usr/share/php/JMS/Serializer/Annotation/Type.php
/usr/share/php/JMS/Serializer/Annotation/Until.php
/usr/share/php/JMS/Serializer/Annotation/Version.php
/usr/share/php/JMS/Serializer/Annotation/VirtualProperty.php
/usr/share/php/JMS/Serializer/Annotation/XmlAttribute.php
/usr/share/php/JMS/Serializer/Annotation/XmlAttributeMap.php
/usr/share/php/JMS/Serializer/Annotation/XmlCollection.php
/usr/share/php/JMS/Serializer/Annotation/XmlDiscriminator.php
/usr/share/php/JMS/Serializer/Annotation/XmlElement.php
/usr/share/php/JMS/Serializer/Annotation/XmlKeyValuePairs.php
/usr/share/php/JMS/Serializer/Annotation/XmlList.php
/usr/share/php/JMS/Serializer/Annotation/XmlMap.php
/usr/share/php/JMS/Serializer/Annotation/XmlNamespace.php
/usr/share/php/JMS/Serializer/Annotation/XmlRoot.php
/usr/share/php/JMS/Serializer/Annotation/XmlValue.php
/usr/share/php/JMS/Serializer/ArrayTransformerInterface.php
/usr/share/php/JMS/Serializer/Builder
/usr/share/php/JMS/Serializer/Builder/CallbackDriverFactory.php
/usr/share/php/JMS/Serializer/Builder/DefaultDriverFactory.php
/usr/share/php/JMS/Serializer/Builder/DriverFactoryInterface.php
/usr/share/php/JMS/Serializer/Construction
/usr/share/php/JMS/Serializer/Construction/DoctrineObjectConstructor.php
/usr/share/php/JMS/Serializer/Construction/ObjectConstructorInterface.php
/usr/share/php/JMS/Serializer/Construction/UnserializeObjectConstructor.php
/usr/share/php/JMS/Serializer/Context.php
/usr/share/php/JMS/Serializer/ContextFactory
/usr/share/php/JMS/Serializer/ContextFactory/CallableContextFactory.php
/usr/share/php/JMS/Serializer/ContextFactory/CallableDeserializationContextFactory.php
/usr/share/php/JMS/Serializer/ContextFactory/CallableSerializationContextFactory.php
/usr/share/php/JMS/Serializer/ContextFactory/DefaultDeserializationContextFactory.php
/usr/share/php/JMS/Serializer/ContextFactory/DefaultSerializationContextFactory.php
/usr/share/php/JMS/Serializer/ContextFactory/DeserializationContextFactoryInterface.php
/usr/share/php/JMS/Serializer/ContextFactory/SerializationContextFactoryInterface.php
/usr/share/php/JMS/Serializer/DeserializationContext.php
/usr/share/php/JMS/Serializer/EventDispatcher
/usr/share/php/JMS/Serializer/EventDispatcher/Event.php
/usr/share/php/JMS/Serializer/EventDispatcher/EventDispatcher.php
/usr/share/php/JMS/Serializer/EventDispatcher/EventDispatcherInterface.php
/usr/share/php/JMS/Serializer/EventDispatcher/EventSubscriberInterface.php
/usr/share/php/JMS/Serializer/EventDispatcher/Events.php
/usr/share/php/JMS/Serializer/EventDispatcher/LazyEventDispatcher.php
/usr/share/php/JMS/Serializer/EventDispatcher/ObjectEvent.php
/usr/share/php/JMS/Serializer/EventDispatcher/PreDeserializeEvent.php
/usr/share/php/JMS/Serializer/EventDispatcher/PreSerializeEvent.php
/usr/share/php/JMS/Serializer/EventDispatcher/Subscriber
/usr/share/php/JMS/Serializer/EventDispatcher/Subscriber/DoctrineProxySubscriber.php
/usr/share/php/JMS/Serializer/EventDispatcher/Subscriber/SymfonyValidatorSubscriber.php
/usr/share/php/JMS/Serializer/EventDispatcher/Subscriber/SymfonyValidatorValidatorSubscriber.php
/usr/share/php/JMS/Serializer/Exception
/usr/share/php/JMS/Serializer/Exception/Exception.php
/usr/share/php/JMS/Serializer/Exception/ExpressionLanguageRequiredException.php
/usr/share/php/JMS/Serializer/Exception/InvalidArgumentException.php
/usr/share/php/JMS/Serializer/Exception/LogicException.php
/usr/share/php/JMS/Serializer/Exception/ObjectConstructionException.php
/usr/share/php/JMS/Serializer/Exception/RuntimeException.php
/usr/share/php/JMS/Serializer/Exception/UnsupportedFormatException.php
/usr/share/php/JMS/Serializer/Exception/ValidationFailedException.php
/usr/share/php/JMS/Serializer/Exception/XmlErrorException.php
/usr/share/php/JMS/Serializer/Exclusion
/usr/share/php/JMS/Serializer/Exclusion/DepthExclusionStrategy.php
/usr/share/php/JMS/Serializer/Exclusion/DisjunctExclusionStrategy.php
/usr/share/php/JMS/Serializer/Exclusion/ExclusionStrategyInterface.php
/usr/share/php/JMS/Serializer/Exclusion/ExpressionLanguageExclusionStrategy.php
/usr/share/php/JMS/Serializer/Exclusion/GroupsExclusionStrategy.php
/usr/share/php/JMS/Serializer/Exclusion/VersionExclusionStrategy.php
/usr/share/php/JMS/Serializer/Expression
/usr/share/php/JMS/Serializer/Expression/ExpressionEvaluator.php
/usr/share/php/JMS/Serializer/Expression/ExpressionEvaluatorInterface.php
/usr/share/php/JMS/Serializer/GenericDeserializationVisitor.php
/usr/share/php/JMS/Serializer/GenericSerializationVisitor.php
/usr/share/php/JMS/Serializer/GraphNavigator.php
/usr/share/php/JMS/Serializer/GraphNavigatorInterface.php
/usr/share/php/JMS/Serializer/Handler
/usr/share/php/JMS/Serializer/Handler/ArrayCollectionHandler.php
/usr/share/php/JMS/Serializer/Handler/ConstraintViolationHandler.php
/usr/share/php/JMS/Serializer/Handler/DateHandler.php
/usr/share/php/JMS/Serializer/Handler/FormErrorHandler.php
/usr/share/php/JMS/Serializer/Handler/HandlerRegistry.php
/usr/share/php/JMS/Serializer/Handler/HandlerRegistryInterface.php
/usr/share/php/JMS/Serializer/Handler/LazyHandlerRegistry.php
/usr/share/php/JMS/Serializer/Handler/PhpCollectionHandler.php
/usr/share/php/JMS/Serializer/Handler/StdClassHandler.php
/usr/share/php/JMS/Serializer/Handler/SubscribingHandlerInterface.php
/usr/share/php/JMS/Serializer/JsonDeserializationVisitor.php
/usr/share/php/JMS/Serializer/JsonSerializationVisitor.php
/usr/share/php/JMS/Serializer/Metadata
/usr/share/php/JMS/Serializer/Metadata/ClassMetadata.php
/usr/share/php/JMS/Serializer/Metadata/Driver
/usr/share/php/JMS/Serializer/Metadata/Driver/AbstractDoctrineTypeDriver.php
/usr/share/php/JMS/Serializer/Metadata/Driver/AnnotationDriver.php
/usr/share/php/JMS/Serializer/Metadata/Driver/DoctrineTypeDriver.php
/usr/share/php/JMS/Serializer/Metadata/Driver/NullDriver.php
/usr/share/php/JMS/Serializer/Metadata/Driver/PhpDriver.php
/usr/share/php/JMS/Serializer/Metadata/Driver/XmlDriver.php
/usr/share/php/JMS/Serializer/Metadata/Driver/YamlDriver.php
/usr/share/php/JMS/Serializer/Metadata/ExpressionPropertyMetadata.php
/usr/share/php/JMS/Serializer/Metadata/PropertyMetadata.php
/usr/share/php/JMS/Serializer/Metadata/StaticPropertyMetadata.php
/usr/share/php/JMS/Serializer/Metadata/VirtualPropertyMetadata.php
/usr/share/php/JMS/Serializer/Naming
/usr/share/php/JMS/Serializer/Naming/AdvancedNamingStrategyInterface.php
/usr/share/php/JMS/Serializer/Naming/CacheNamingStrategy.php
/usr/share/php/JMS/Serializer/Naming/CamelCaseNamingStrategy.php
/usr/share/php/JMS/Serializer/Naming/IdenticalPropertyNamingStrategy.php
/usr/share/php/JMS/Serializer/Naming/PropertyNamingStrategyInterface.php
/usr/share/php/JMS/Serializer/Naming/SerializedNameAnnotationStrategy.php
/usr/share/php/JMS/Serializer/NullAwareVisitorInterface.php
/usr/share/php/JMS/Serializer/SerializationContext.php
/usr/share/php/JMS/Serializer/Serializer.php
/usr/share/php/JMS/Serializer/SerializerBuilder.php
/usr/share/php/JMS/Serializer/SerializerInterface.php
/usr/share/php/JMS/Serializer/Twig
/usr/share/php/JMS/Serializer/Twig/SerializerExtension.php
/usr/share/php/JMS/Serializer/Twig/SerializerRuntimeExtension.php
/usr/share/php/JMS/Serializer/Twig/SerializerRuntimeHelper.php
/usr/share/php/JMS/Serializer/TypeParser.php
/usr/share/php/JMS/Serializer/Util
/usr/share/php/JMS/Serializer/Util/Writer.php
/usr/share/php/JMS/Serializer/VisitorInterface.php
/usr/share/php/JMS/Serializer/XmlDeserializationVisitor.php
/usr/share/php/JMS/Serializer/XmlSerializationVisitor.php
/usr/share/php/JMS/Serializer/YamlSerializationVisitor.php
/usr/share/php/JMS/Serializer/autoload.php

References

Summary

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