All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Laravel 13 Support
- Laravel 12 Support
- New implementation based on tpetry/php-mysql-explain
- Switched namespace from
Tpetry\MysqlExplaintoTpetry\LaravelMysqlExplain
- Improved the detection for MariaDB databases
- Removed obsolete logic for old explain api so the spatie/invade dependency can be removed (#7)
- Uses Laravel builder to sql implementation when available
- Improved error messages for unsupported databases/queries
- New visual explain methods
- Uses api.mysqlexplain.com v2 API
- Use new mysqlexplain.com project domain
- Laravel 11 compatibility
- Bindings had been handled incorrectly leading to errors when DateTimeInterface was used
- Called method that is only public since Laravel 10
explainForHumans()for query buildersdumpExplainForHumans()for query buildersddExplainForHumans()for query buildersMysqlExplain::submitBuilder($builder)MysqlExplain::submitQuery($connection, $sql, $bindings)