How To Install php-swaggest-json-schema on Fedora 36

In this tutorial we learn how to install php-swaggest-json-schema in Fedora 36. php-swaggest-json-schema is High definition PHP structures with JSON-schema based validation

Introduction

In this tutorial we learn how to install php-swaggest-json-schema on Fedora 36.

What is php-swaggest-json-schema

High definition PHP structures with JSON-schema based validation. Autoloader

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

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

sudo dnf -y install php-swaggest-json-schema

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

sudo yum -y install php-swaggest-json-schema

How To Uninstall php-swaggest-json-schema on Fedora 36

To uninstall only the php-swaggest-json-schema package we can use the following command:

sudo dnf remove php-swaggest-json-schema

php-swaggest-json-schema Package Contents on Fedora 36

/usr/share/doc/php-swaggest-json-schema
/usr/share/doc/php-swaggest-json-schema/CHANGELOG.md
/usr/share/doc/php-swaggest-json-schema/README.md
/usr/share/doc/php-swaggest-json-schema/composer.json
/usr/share/licenses/php-swaggest-json-schema
/usr/share/licenses/php-swaggest-json-schema/LICENSE
/usr/share/php/Swaggest/JsonSchema
/usr/share/php/Swaggest/JsonSchema/Constraint
/usr/share/php/Swaggest/JsonSchema/Constraint/Constraint.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Content.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Format
/usr/share/php/Swaggest/JsonSchema/Constraint/Format.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Format/IdnHostname.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Format/Iri.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Format/Uri.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Properties.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Ref.php
/usr/share/php/Swaggest/JsonSchema/Constraint/Type.php
/usr/share/php/Swaggest/JsonSchema/Constraint/UniqueItems.php
/usr/share/php/Swaggest/JsonSchema/Context.php
/usr/share/php/Swaggest/JsonSchema/DataPreProcessor.php
/usr/share/php/Swaggest/JsonSchema/Exception
/usr/share/php/Swaggest/JsonSchema/Exception.php
/usr/share/php/Swaggest/JsonSchema/Exception/ArrayException.php
/usr/share/php/Swaggest/JsonSchema/Exception/ConstException.php
/usr/share/php/Swaggest/JsonSchema/Exception/ContentException.php
/usr/share/php/Swaggest/JsonSchema/Exception/EnumException.php
/usr/share/php/Swaggest/JsonSchema/Exception/Error.php
/usr/share/php/Swaggest/JsonSchema/Exception/LogicException.php
/usr/share/php/Swaggest/JsonSchema/Exception/NumericException.php
/usr/share/php/Swaggest/JsonSchema/Exception/ObjectException.php
/usr/share/php/Swaggest/JsonSchema/Exception/StringException.php
/usr/share/php/Swaggest/JsonSchema/Exception/TypeException.php
/usr/share/php/Swaggest/JsonSchema/HasDefault.php
/usr/share/php/Swaggest/JsonSchema/Helper.php
/usr/share/php/Swaggest/JsonSchema/InvalidRef.php
/usr/share/php/Swaggest/JsonSchema/InvalidValue.php
/usr/share/php/Swaggest/JsonSchema/JsonSchema.php
/usr/share/php/Swaggest/JsonSchema/MagicMap.php
/usr/share/php/Swaggest/JsonSchema/MagicMapTrait.php
/usr/share/php/Swaggest/JsonSchema/Meta
/usr/share/php/Swaggest/JsonSchema/Meta/AbstractMeta.php
/usr/share/php/Swaggest/JsonSchema/Meta/MetaHolder.php
/usr/share/php/Swaggest/JsonSchema/NameMirror.php
/usr/share/php/Swaggest/JsonSchema/Path
/usr/share/php/Swaggest/JsonSchema/Path/PointerUtil.php
/usr/share/php/Swaggest/JsonSchema/RefResolver.php
/usr/share/php/Swaggest/JsonSchema/RemoteRef
/usr/share/php/Swaggest/JsonSchema/RemoteRef/BasicFetcher.php
/usr/share/php/Swaggest/JsonSchema/RemoteRef/Preloaded.php
/usr/share/php/Swaggest/JsonSchema/RemoteRefProvider.php
/usr/share/php/Swaggest/JsonSchema/Schema.php
/usr/share/php/Swaggest/JsonSchema/SchemaContract.php
/usr/share/php/Swaggest/JsonSchema/SchemaExporter.php
/usr/share/php/Swaggest/JsonSchema/Structure
/usr/share/php/Swaggest/JsonSchema/Structure/ClassStructure.php
/usr/share/php/Swaggest/JsonSchema/Structure/ClassStructureContract.php
/usr/share/php/Swaggest/JsonSchema/Structure/ClassStructureTrait.php
/usr/share/php/Swaggest/JsonSchema/Structure/Composition.php
/usr/share/php/Swaggest/JsonSchema/Structure/Egg.php
/usr/share/php/Swaggest/JsonSchema/Structure/Nested.php
/usr/share/php/Swaggest/JsonSchema/Structure/ObjectItem.php
/usr/share/php/Swaggest/JsonSchema/Structure/ObjectItemContract.php
/usr/share/php/Swaggest/JsonSchema/Structure/ObjectItemTrait.php
/usr/share/php/Swaggest/JsonSchema/Structure/WithResolvedValue.php
/usr/share/php/Swaggest/JsonSchema/Wrapper.php
/usr/share/php/Swaggest/JsonSchema/autoload.php
/usr/share/php/Swaggest/JsonSchema/spec
/usr/share/php/Swaggest/JsonSchema/spec/json-schema-draft6.json
/usr/share/php/Swaggest/JsonSchema/spec/json-schema-draft7.json
/usr/share/php/Swaggest/JsonSchema/spec/json-schema.json
/usr/share/php/Swaggest/JsonSchema/spec/petstore-swagger.json
/usr/share/php/Swaggest/JsonSchema/spec/swagger-schema.json

References

Summary

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