Skip to content

symbiotic-php/packages-loader-filesytem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Symbiotic package loader from the file system

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',
        //.....
    ]
];

If you add directories outside of the autoload of the composer, you need to connect the Autoload framework and also specify the directories for file autoload in it.

About

Allows you to add packages to the core of the Symbiotic framework from the file system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages