dev-master
9999999-devSwayFramework Distribution Component
GPL-3.0
The Requires
by Reverze
dev-dev
dev-devSwayFramework Distribution Component
GPL-3.0
The Requires
by Reverze
SwayFramework Distribution Component
This component helps to manage swayframework and vendor packages. It also provides a feature to manage configuration around packages and app., (*1)
This package is bundled with swayframework., (*2)
composer require rev/sway-framework-distribution
This will install package at latest version., (*3)
Please remember that subdirectory tmp must exists in your app directory. It will not be created if not exists., (*4)
Distribution component comes with built-in services (of course if service component is available)., (*5)
List of all built-in services:, (*6)
Service: 'distribution_storage'
Class: Sway\Distribution\Storage\StorageDriver
Description: Storage driver - vendor's packages and application cache, (*7)
Service: 'distribution_class_founder'
Class: Sway\Distribution\Mapping\ClassFounder
Description: Application class map, (*8)
Service: 'distribution_extension_manager'
Class: Sway\Distribution\Extension\ExtensionManager
Description: 'sf-package' libraries manager, (*9)
For defaults, built-in services are not registered. If framework kernel is initialized and service and parameter component are available, you can call method initDistribution to register built-in services., (*10)
$frameworkDistribution->initDistribution();
You can also initialize a interface to framework as service (service: framework):, (*11)
$frameworkDistribution->initializeFrameworkService($array_with_parameters);
SwayFramework Distribution Component
GPL-3.0
SwayFramework Distribution Component
GPL-3.0