Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Doctrine1 Bundle Laravel Package

diablomedia/doctrine1-bundle

Symfony bundle that integrates Doctrine1 ORM with modern Symfony apps. Configure connections via YAML, get query logging in the profiler/debug toolbar, and support multiple connections with optional query/result caching. Works best with the DiabloMedia Doctrine1 fork.

View on GitHub
Deep Wiki
Context7

Doctrine1 Bundle

Build Latest Stable Version Total Downloads License

Symfony Bundle for Doctrine1 ORM

This is heavily based on the Symfony/Doctrine DoctrineBundle (https://github.com/doctrine/DoctrineBundle) but adapted to work with Doctrine1. This bundle allows you to configure Doctrine1 through Symfony's configuration and also adds a section to the Symfony profiler/debug toolbar so you can view query information in the same way you would with the DoctrineBundle.

Installation

Install using composer:

composer require diablomedia/doctrine1-bundle

While this bundle should work with the original Doctrine1 library, we recommend using our fork that is better tested against recent versions of PHP.

composer require diablomedia/doctrine1

Configuration

Enable the Bundle in Symfony:

<?php
// config/bundles.php

return [
    // ...
    DiabloMedia\Bundle\Doctrine1Bundle\Doctrine1Bundle::class => ['all' => true],
    // ...
];

To configure your database connection, create a doctrine1.yaml file in your config/packages folder with the necessary connection credentials, here's a sample for mysql:

doctrine1:
    default_connection: writer
    connections:
        writer:
            url: '%env(resolve:WRITE_DATABASE_URL)%'
            cache_class: 'Doctrine_Cache_Array'
            enable_query_cache: true
            enable_result_cache: true
        reader:
            url: '%env(resolve:READ_DATABASE_URL)%'
            cache_class: 'Doctrine_Cache_Array'
            enable_query_cache: true
            enable_result_cache: true
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony