v2.0.0
Version 2 introduces breaking changes to support multiple model namespace mappings, providing flexibility for domain-driven architecture. This update allows the use of multiple model sources.
The elasticlens.php config file now requires the following structure:
'namespaces' => [
'App\Models' => 'App\Models\Indexes',
],
'index_paths' => [
'app/Models/Indexes/' => 'App\Models\Indexes',
],
• The namespaces key maps models to their respective index namespaces.
• The index_paths key maps file paths to the corresponding index namespaces.
Full Changelog: v1.3.1...v2.0.0