symbiotic/packages-loader-filesytem

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

Installs: 117

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/symbiotic/packages-loader-filesytem

1.4.1.4 2023-03-12 21:12 UTC

This package is auto-updated.

Last update: 2025-10-13 03:47:59 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',
        //.....
    ]
];

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.