← Back to list

Maravel-Framework 10.72: Autodiscovery For autowiring:cache From Packages

Versions 10.72 and 20.0.0-RC24 fix autowiring:cache for FQN instead of folder and also introduce autodiscovery for packages that want to…

marius-ciclistu · 2026-05-25 09:20 · 0 claps · 0.5 min read
#software-development #maravel-framework #maravelith #maravel #php
Open on Medium ↗

Maravel-Framework 10.72: Autodiscovery For autowiring:cache From Packages

Maravel-Framework

Maravel-Framework

Versions 10.72 and 20.0.0-RC24 fix autowiring:cache for FQN instead of folder and also introduce autodiscovery for packages that want to cache certain folders or classes.

Packages can auto add these via their composer.json:

{
    "extra": {
        "maravel": {
            "autowiring": [
                {
                    "path": "src/ExampleFolder",
                    "methods": []
                },
                {
                    "path": "\\Vendor\\ExampleClass",
                    "methods": []
                }
            ]
        }
    }
}

The documentation has been updated.

This applies to both Maravel and Maravelith templates.

Note that this is used only during the autowiring:cache command, NOT on each request.


메타데이터
post_id
89d73ab0f29b
slug
maravel-framework-10-72-autodiscovery-for-autowiring-cache-from-packages-89d73ab0f29b
url
https://medium.com/@marius-ciclistu/maravel-framework-10-72-autodiscovery-for-autowiring-cache-from-packages-89d73ab0f29b
canonical_url
https://medium.com/@marius-ciclistu/maravel-framework-10-72-autodiscovery-for-autowiring-cache-from-packages-89d73ab0f29b
author_url
https://medium.com/@marius-ciclistu
status
ok
fetched_at
2026-06-09 15:37:30