symbiotic / packages-loader-filesytem
Allows you to add packages to the core of the Symbiotic framework from the file system.
1.4.1.4
2023-03-12 21:12 UTC
Requires
- php: >=8.0
This package is auto-updated.
Last update: 2024-11-13 01:56:44 UTC
README
Install
composer require symbiotic/packages-loader-filesytem
How it works?
The component traverses all allowed directories (up to 3 levels of nesting), searches for composer.json
files and reads
a section from them reads the extra->symbiotic
section to add a package to the core of the Symbiotic framework.
Setting up Directories
Adding directories to search for Symbiotic packages is done in the main config of the framework:
<?php return [ // Core framework config... 'packages_paths' => [ '/home/path_to_project/vendor', '/home/path_to_project/modules', //..... ] ];