A package consists at least of metadata stored in files, which are located in the root directory of each package. This page explains the schema of the different types of these files.
On This Page
Local
The optional fusion.local.php
file contains and returns the metadata array
that affects local development. It overrides entries from other types where they
intersect and has the following limitations:
- No static production entries:
- The
id
primitive - The
cache
directory
- The
- No nested sources which intersects with other types
- Recursive production source reset
Development
The optional fusion.dev.php
file contains and returns the metadata array that
affects shared development. It overrides production-type entries where they
intersect and has the following limitations:
- No static production entries:
- The
id
primitive - The
cache
directory
- The
- No nested sources which intersects with other types
- Recursive production source reset
Production
The required fusion.json
file contains the metadata that describes
the package within the production environment and includes at least the
following entries:
- All the primitives
- The required environment
- The
cache
directory