BeSimpleSoap/Resources/doc/reference/installation.rst

71 lines
1.5 KiB
ReStructuredText
Raw Normal View History

2011-08-02 23:27:56 +02:00
Installation
============
Requirements
------------
Install and enable PHP's SOAP extension
2011-08-07 11:34:00 +02:00
Download `Zend\\Soap`_ and `Zend\\Mime`_ or add in `deps` file
2011-08-02 23:27:56 +02:00
.. code-block:: ini
; deps file
[Zend\Soap]
git=http://github.com/BeSimple/zend-soap.git
target=/zend-framework/library/Zend/Soap
2011-08-07 11:34:00 +02:00
[Zend\Mime]
git=http://github.com/BeSimple/zend-mime.git
target=/zend-framework/library/Zend/Mime
Add `Zend` library in autoload.php
2011-08-02 23:27:56 +02:00
.. code-block:: php
// app/autoload.php
$loader->registerNamespaces(array(
2011-08-07 11:34:00 +02:00
'Zend' => __DIR__.'/../vendor/zend-framework/library',
2011-08-02 23:27:56 +02:00
// 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(
// ...
2011-08-09 13:48:56 +02:00
new BeSimple\SoapBundle\BeSimpleSoapBundle(),
2011-08-02 23:27:56 +02:00
// ...
);
}
2011-08-07 11:34:00 +02:00
.. _`Zend\\Soap`: http://github.com/BeSimple/zend-soap
.. _`Zend\\Mime`: http://github.com/BeSimple/zend-mime
.. _`Download`: http://github.com/BeSimple/BeSimpleSoapBundle