BeSimpleSoap/Resources/doc/reference/installation.rst

65 lines
1.3 KiB
ReStructuredText

Installation
============
Requirements
------------
Install and enable PHP's SOAP extension
Download `Zend\Soap`_ or add in `deps` file
.. code-block:: ini
; deps file
[Zend\Soap]
git=http://github.com/BeSimple/zend-soap.git
target=/zend-framework/library/Zend/Soap
Add Zend\Soap library in autoload.php
.. code-block:: php
// app/autoload.php
$loader->registerNamespaces(array(
'ZendSoap' => __DIR__.'/../vendor/zend-framework/library',
// your other namespaces
));
Installation
------------
`Download`_ the bundle or add in `deps` file
.. code-block:: ini
; deps file
[BeSimpleSoapBundle]
git=http://github.com/BeSimple/BeSimpleSoapBundle.git
target=/bundles/BeSimple/SoapBundle
Add `BeSimple` in autoload.php
.. code-block:: php
// app/autoload.php
$loader->registerNamespaces(array(
'BeSimple' => __DIR__.'/../vendor/bundles',
// your other namespaces
));
Add `BeSimpleSoapBundle` in your Kernel class
.. code-block:: php
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new new BeSimple\SoapBundle\BeSimpleSoapBundle(),
// ...
);
}
.. _`Zend\Soap`: http://github.com/BeSimple/zend-soap
.. _`Download`: http://github.com/BeSimple/BeSimpleSoapBundle