Skip to content

Conversation

inxilpro
Copy link
Contributor

This is a feature branch for the v3 release of modular. v3 should be mostly backwards-compatible, but will drop support for some older Laravel/PHP versions and update some internals.

* wip

* wip

* wip

* wip

* Move config

* Delete Cache.php

* Code style

* Improve event auto-discovery

* Update phpunit.yml

* Remove unnecessary 'getCachePath'

* Code style

* Update phpunit.yml

* Update actions

* debug

* More debugging

* Update phpunit.yml
Copy link
Contributor

@skylerkatz skylerkatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed you dropped support for the Diglactic\\Breadcrumbs\\Manager package. Probably good to note that on the upgrade guide as a breaking change.

@calebdw
Copy link

calebdw commented May 13, 2025

This is HUGE! I'm particularly excited for the module caching (much needed to improve performance)---any idea on when this will be released? Would love to help out if needed!

Comment on lines +78 to +81
Artisan::starting(function(Artisan $artisan) {
$this->autodiscover()->commands($artisan);
$this->registerNamespacesInTinker();
});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend that the modules:cache command be added to the optimize command:

Suggested change
Artisan::starting(function(Artisan $artisan) {
$this->autodiscover()->commands($artisan);
$this->registerNamespacesInTinker();
});
Artisan::starting(function(Artisan $artisan) {
$this->autodiscover()->commands($artisan);
$this->registerNamespacesInTinker();
});
$this->optimizes('modules:cache', 'modules:clear', 'modules');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants