PHPackages                             silverstripe/silverstripe-proxy-db - 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. silverstripe/silverstripe-proxy-db

AbandonedArchivedSilverstripe-vendormodule[Database &amp; ORM](/categories/database)

silverstripe/silverstripe-proxy-db
==================================

2.0.0(2y ago)020.1k↑30.4%BSD-3-ClausePHP

Since Feb 16Pushed 2y agoCompare

[ Source](https://github.com/silverstripe/silverstripe-proxy-db)[ Packagist](https://packagist.org/packages/silverstripe/silverstripe-proxy-db)[ RSS](/packages/silverstripe-silverstripe-proxy-db/feed)WikiDiscussions 2 Synced today

READMEChangelog (1)Dependencies (3)Versions (6)Used By (0)

Archived
--------

[](#archived)

This was a fork of `tractorcow/silverstripe-proxy-db` used while waiting for a stable CMS 5 released to be tagged on that repository. That repository now has a stable tag so you should use that instead of this one.

Database proxy
==============

[](#database-proxy)

Ok, so you want to proxy the database.

Install this module, and decorate the factory with code you want to extend

```
---
Name: myproxydb
After: '#proxydb'
---
TractorCow\SilverStripeProxyDB\ProxyDBFactory:
  extensions:
    - ProxyDBExtension
```

Then in your code you can do this

```
