v2.0.0 [Laravel 11]
This will be a major update - breaking changes.
News & Improvements
- Supports PHP 8.2 & PHP 8.3
- Supports Laravel 11
- Bumps PHPUnit to 10.x
- Adds the in-house doctrine manager 😎 since Laravel dropped Doctrine. This makes the codebase a bit nicer.
- Makes DBAL become a required dependency and gets rid of the
installDependencies
part. EloquentDocs needs DBAL so it doesn't really make sense to put it inrequire-dev
lol - Improves the date/datetime casting. Now it will render either Carbon or CarbonImmutable based on your configuration.
- Improves boolean
- Adds more tests
Installation
For Laravel 11 users, can install the latest version:
composer require sethsandaru/eloquent-docs --dev
For Laravel 9 & 10 users:
composer require sethsandaru/eloquent-docs ^1 --dev
Notes
- EloquentDocs doesn't support the DB URI connection at the moment. You need to specify the host, port, username, password, and database.
- SQLite users only need to specify the
DB_DATABASE
, and use the full path. - 1.x will no longer receive feature/improvement updates but bug/security fixes. I encourage everybody to upgrade to the latest Laravel version.