PHPackages                             dodev34/zend-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. dodev34/zend-bundle

ActiveLibrary[Framework](/categories/framework)

dodev34/zend-bundle
===================

36.3k1PHP

Since Apr 11Pushed 13y ago1 watchersCompare

[ Source](https://github.com/dodev34/zend-bundle)[ Packagist](https://packagist.org/packages/dodev34/zend-bundle)[ RSS](/packages/dodev34-zend-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Zend SoapSever library for Symfony2
===================================

[](#zend-soapsever-library-for-symfony2)

Install
=======

[](#install)

```
"require": {
   ...
   "dodev34/zend-bundle": "dev-master"
   ...
}

```

Add to loader

```
use Doctrine\Common\Annotations\AnnotationRegistry;

$loader = require __DIR__.'/../vendor/autoload.php';

// intl
if (!function_exists('intl_get_error_code')) {
    require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';
}
// ADD THIS
$loader->add('Zend', __DIR__.'/../vendor/dodev34/zend-bundle/zend/lib');

AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

return $loader;

```

Exemple
=======

[](#exemple)

```
namespace You\Bundle\YouBundle\Controller;

ini_set("soap.wsdl_cache_enabled", 0);

use Symfony\Component\HttpFoundation\Response,
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Zend\Soap\AutoDiscover,
    Zend\Soap\Server;

class SoapController extends Controller
{
  public function SoapAction()
  {
    $response = new Response();
    $wsdlUrl  = sprintf("http://%s%s", $this->getRequest()->getHost(), $this->generateUrl('soap_url'));

    if ($this->getRequest()->query->has('wsdl'))
    {
      $strategy = new \Zend\Soap\Wsdl\ComplexTypeStrategy\ArrayOfTypeComplex(); // You strategie here
      $server   = new AutoDiscover($strategy);
      $server->setClass('\You\Bundle\YouBundle\Soap\ClassSoap') // Set you classe
             ->setUri($wsdlUrl)
         		 ->setServiceName('You-servicename');

        $response->setContent($server->generate()->toXml());
        $response->headers->set('Content-Type', 'text/xml; charset=UTF8');
    } else {
        $server = new \SoapServer(
            null,
            array(
                'location'  => "$wsdlUrl",
                'uri'       => "$wsdlUrl?wsdl",
                //'login'     => $this->getUser()->getUsername(), ...If you use authentication
                //'password'  => $this->getUser()->getPassword(), ...If you use authentication
                'cache_wsdl' => WSDL_CACHE_NONE
            )
        );
        //Inject you class soap via service here
        $server->setObject($this->get('soap.you.service'));

        $response->setContent($server->handle());
        $response->headers->set('Content-Type', 'text/xml; charset=UTF8');
    }

    return $response;
  }
  ...
  ....

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/90d89d441280fb63574d0a28bf032f891d8e1e381d1ca9fe6fcd6e81d78accbc?d=identicon)[dodev34](/maintainers/dodev34)

### Embed Badge

![Health badge](/badges/dodev34-zend-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dodev34-zend-bundle/health.svg)](https://phpackages.com/packages/dodev34-zend-bundle)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
