Download the PHP package wandersonwhcr/zend-romans without Composer

On this page you can find all versions of the php package wandersonwhcr/zend-romans. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zend-romans

zend-romans

DEPRECATED use Laminas Project Romans Integration

Latest Stable Version License

Description

This package provides a Zend Framework integration for Romans library, providing tools to filter a string with a Roman number to int and vice-versa, validate a string that contains this type of number and, finally, hydrate the content to int.

Installation

This package uses Composer as default repository. You can install it adding the name of package in require attribute of composer.json, pointing to the last stable version.

Usage

This package provide filters, validators and hydrators to use with Zend Framework projects. Also, this package is provided as a Zend Framework module, automatically configuring services inside application, but this action is not required.

Filters

Zend Romans provides a couple of filters to convert a string with Roman number to int and a Integer to a string that represents the input as Roman number.

Validator

Also, this package include a validator to verify if a string contains a valid Roman number.

Hydrator

There is a hydrator strategy, responsible to handle Roman numbers. Like any other Zend Framework strategy, exceptions will be throw for errors.

ViewHelper

Finally, there is a view helper to convert int to Roman numbers directly, using an internal filter for this job.

Module

This package is provided as a Zend Framework module. To initialize this module, add the package namespace into application loaded modules configuration.

Using this feature you must require Zend Framework ModuleManager and ServiceManager in your composer.json file.

Services Available

If you configure this package as a Zend Framework module, there is a lot of services configured. The list below shows all services available with Zend\Romans module. Items with double-arrow represents services aliases.

License

This package is opensource and available under license MIT described in LICENSE.


All versions of zend-romans with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
wandersonwhcr/romans Version ^1.0
zendframework/zend-filter Version 2.7.*
zendframework/zend-hydrator Version 2.2.*
zendframework/zend-validator Version 2.9.*
zendframework/zend-view Version 2.9.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wandersonwhcr/zend-romans contains the following files

Loading the files please wait ....