Download the PHP package jeanmarcos/module-core-local-development without Composer
On this page you can find all versions of the php package jeanmarcos/module-core-local-development. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeanmarcos/module-core-local-development
More information about jeanmarcos/module-core-local-development
Files in jeanmarcos/module-core-local-development
Package module-core-local-development
Short Description Magento 2 shared core for local-development-only modules. Provides the production-mode guard service and the shared admin configuration tab consumed by Development_AdminBypass, Development_CustomerBypass, Development_LiveReload, and similar dev-only modules.
License MIT
Informations about the package module-core-local-development
📦
jeanmarcos/module-core-local-development— published to Packagist.🏠 Source repository for issues, PRs and releases: jeanmarcos-dev/magento-local-development. The standalone
jeanmarcos-dev/module-core-local-developmentrepo is a read-only mirror auto-generated by CI on every release — direct commits to it are overwritten.
Development_Core
Shared core for Magento 2 local-development-only modules.
This module is a building block — it does not add any user-facing behavior on its own. It exists so that several Development_* modules can share two pieces of plumbing without duplicating code or admin UI.
What it provides
1. Development\Core\Model\ProductionGuard
A small service that decides whether a development-only module should be active in the current environment.
isEnabled() returns true when:
- Magento is not in production mode (
developer/default), or - the per-module flag at the configured XML path is explicitly set to
Yes, or State::getMode()throws (early CLI bootstrap → fail open to active).
The XML path is per consumer. You declare it as a virtualType in your module's di.xml:
2. The shared ⚠ Development Modules admin tab
Declared once in Core/etc/adminhtml/system.xml:
Any consumer module can reference it from its own system.xml section:
This keeps the admin tree clean: every dev-only module ends up grouped under one warning-tagged tab in Stores → Configuration.
Install
You normally don't install this directly — it is pulled in as a transitive dependency of jeanmarcos/module-admin-bypass, jeanmarcos/module-customer-bypass, jeanmarcos/module-livereload, etc.
If you want to install it on its own (e.g. to build your own dev module on top of it):
File structure
Compatibility
- Magento 2.4.x
- PHP 8.1+ (uses constructor property promotion and
readonlyproperties)
License
MIT
All versions of module-core-local-development with dependencies
magento/framework Version >=103.0
magento/module-config Version *
magento/module-store Version *