PackageTrack
Sign in Get early access

shipmonk/doctrine-mysql-index-hints

Custom SQL walker for Doctrine allowing usage of MySQL index hints without need of native queries

3.1.2 632K downloads/mo #4291 most downloaded on Packagist shipmonk-rnd/doctrine-mysql-index-hints

What this package is like to depend on

Last release 7 months ago

25 Jan 2026

Ships fairly regularly

a new release about every 9 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

7 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

7 releases · Aug 2021 to Jan 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 3.1.2 25 Jan 2026
    Release notes

    Imrovements

    • Allow MariaDB (#120)
    • Support doctrine/dbal 4 (#125)
    Open source →
  2. 3.1.1 19 Nov 2024
    Release notes

    Fixes

    • Exclude useless folders (e.g. /tests) in package archive (#119)
    Open source →
  3. 3.1.0 08 Aug 2024
    Release notes

    New features

    Dependencies

    • requires php 8.1 (was 7.4)
    • requires doctrine/orm 3.0 (was 2.14)
    Open source →
  4. 3.0.0 25 Jan 2024
    Release notes

    Major changes

    • Depends on hint-driven-sql-walker which allows combination of multiple hint handlers
    • To migrate to this version, simply change your usages like this:
      • Custom output walker is now HintDrivenSqlWalker::class
      • UseIndexSqlWalker got renamed to UseIndexHintHandler
         ->from(User::class, 'u')
         ->andWhere('u.id = 1')
         ->getQuery()
    -    ->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, UseIndexSqlWalker::class)
    -    ->setHint(UseIndexSqlWalker::class, [IndexHint::force(User::IDX_FOO, User::TABLE_NAME)])
    +    ->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, HintDrivenSqlWalker::class)
    +    ->setHint(UseIndexHintHandler::class, [IndexHint::force(User::IDX_FOO, User::TABLE_NAME)])
         ->getResult();

    Dependencies:

    • requires doctrine/orm 2.14.0 (was 2.7.0)
    Open source →
  5. 2.1.0 30 Jan 2023
    Release notes

    Changes:

    • major dependency cleanup, the only needed is now doctrine/orm ^2.7.0 (#22)
    Open source →
  6. 2.0.0 13 Sep 2021
    Release notes

    Changes:

    • drop support for php < 7.4 (#1)
    Open source →
  7. 1.0.0 25 Aug 2021
    Release notes

    Changes:

    • initial release with support of php >= 7.1
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive