spodnet/zend-soap

Zend Framework 1 Soap package, with additional decimal and default fields

1.12.20.1 2018-10-02 15:11 UTC

This package is auto-updated.

Last update: 2024-03-29 03:44:52 UTC


README

This package is a part of the Zend Framework 1. Each component was separated and put into its own composer package. Some modifications were made for improved Composer integration. This package can also be found at Packagist.

Why?

Size! Zend Framework is very large and contains a huge amount of files (over 72000 files in the main repository!). If you're only using a part of the framework, using the separated packages will greatly reduce the amount of files. This will make setup faster and easier on your disks.

Autoloading! Explicit require_once calls in the source code has been commented out to rely on composer autoloading, this reduces the number of included files to a minimum.

Migration! Zend Framework 2 has been around for a while now, and migrating all your projects takes a lot of time. Using these packages makes it easier to migrate each component separately. Also, some packages doesn't exist in zf2 (such as the zend-search-lucene), now you can continue using that package without requiring the entire framework.

How to use

Add "zf1s/zend-soap": "~1.12" to the require section of your composer.json, include the composer autoloader and you're good to go.

Broken dependencies?

Dependencies have been set automatically based on the requirements from the zend framework manual, if you find any broken dependencies please submit a pull request.

Additional Changes

This version has xsd:decimal and ability to set default attribute on any field in the class for complex type

/** @var Decimal */
public $DecimalValue = 1;

/** @var Boolean */
public $BooleanValue = false;

Would generate

<xsd:element name="DecimalValue" type="xsd:decimal" default="1"/>
<xsd:element name="BooleanValue" type="xsd:boolean" default="false"/>