PHPackages                             doctrs/stored-procedure-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. [Database &amp; ORM](/categories/database)
4. /
5. doctrs/stored-procedure-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

doctrs/stored-procedure-bundle
==============================

Symfony bundle for work with red-defender/pgfunc

1.0.0(7y ago)143MITPHPPHP &gt;=5.6

Since Jun 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Doctrs/StoredProcedureBundle)[ Packagist](https://packagist.org/packages/doctrs/stored-procedure-bundle)[ Docs](https://github.com/Doctrs/StoredProcedureBundle)[ RSS](/packages/doctrs-stored-procedure-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Stored Procedure Bundle
=======================

[](#stored-procedure-bundle)

Symfony bundle for pgfunc lib

[![Build Status](https://camo.githubusercontent.com/a8a3c8ad015c5f24bd8fb420c50118a455dfff4c2421678aa53e84c2d340b0ac/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f446f637472732f53746f72656450726f63656475726542756e646c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Doctrs/StoredProcedureBundle/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/3ef1aebaa77f15253040bca83f8037d5dbef679422a46cb61c4bf2a64bf46baf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f446f637472732f53746f72656450726f63656475726542756e646c652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![SensioLabsInsight](https://camo.githubusercontent.com/2906af99182d210cb42f2f15b32ba39baf049cd680061d91a0ff395d68d2f5e9/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32343631643137312d316161652d346161632d383838372d3963363862333538626365372f6d696e692e706e67)](https://insight.sensiolabs.com/projects/2461d171-1aae-4aac-8887-9c68b358bce7)

Bundle for work with stored procedure through

You may create many connection and execute stored procedure throught one of them

Install
=======

[](#install)

```
composer require doctrs/stored-procedure-bundle

```

Configuration
=============

[](#configuration)

Create file `config/packages/stored_procedure.yaml` and configure connections

```
stored_procedure:
    connections:
        api_master:
            dbname: '%env(API_DB_MASTER_DBNAME)%'
            host: '%env(API_DB_MASTER_HOST)%'
            port: '%env(API_DB_MASTER_PORT)%'
            user: '%env(API_DB_MASTER_USER)%'
        admin_master:
            dbname: '%env(ADMIN_DB_MASTER_DBNAME)%'
            host: '%env(ADMIN_DB_MASTER_HOST)%'
            port: '%env(ADMIN_DB_MASTER_PORT)%'
            user: '%env(ADMIN_DB_MASTER_USER)%'
        any_connection: ~
        any_second_connection: ~

```

List of all configure variables

```
application_name
client_encoding
connect_timeout
dbname
fallback_application_name
gsslib
host
hostaddr
keepalives
keepalives_count
keepalives_idle
keepalives_interval
krbsrvname
options
passfile
port
requirepeer
requiressl
service
sslcert
sslcompression
sslcrl
sslkey
sslmode
sslrootcert
target_session_attrs
tty

```

Execute procedure
=================

[](#execute-procedure)

```
Procedure::execute(string $connectionName, \PgFunc\Procedure $procedure);

...

$procedure = new Procedure('any_procedure_name');
$procedure->addParameters(...$parameters);
...
return $container->get('doctrs.stored_procedure')->execute('api_master', $procedure);
```

Events
======

[](#events)

- **stored\_procedure.connection\_name** - Change connection name.
- **stored\_procedure.connection** - Change connection class, and change Procedure class
- **stored\_procedure.result** - Change result

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

2893d ago

Major Versions

0.1.0 → 1.0.02018-06-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd94a4e49dba6c5f819572b6e282fd592b50bd73a24e6f42857f1f325385faba?d=identicon)[DOC\_tr](/maintainers/DOC_tr)

---

Top Contributors

[![Doctrs](https://avatars.githubusercontent.com/u/3328895?v=4)](https://github.com/Doctrs "Doctrs (21 commits)")

---

Tags

symfonyred-defenderpgfunc

### Embed Badge

![Health badge](/badges/doctrs-stored-procedure-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/doctrs-stored-procedure-bundle/health.svg)](https://phpackages.com/packages/doctrs-stored-procedure-bundle)
```

###  Alternatives

[a2lix/translation-form-bundle

Translate your doctrine objects easily with some helpers

3376.9M38](/packages/a2lix-translation-form-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[kreait/firebase-bundle

Symfony Bundle for the Firebase Admin SDK

1534.7M2](/packages/kreait-firebase-bundle)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

6914.0M61](/packages/scheb-2fa-bundle)[pugx/autocompleter-bundle

Add an autocomplete type to forms

93861.6k3](/packages/pugx-autocompleter-bundle)

PHPackages © 2026

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