2017 © Pedro Peláez
 

sf-package sway-framework-distribution

SwayFramework Distribution Component

image

rev/sway-framework-distribution

SwayFramework Distribution Component

  • Thursday, June 1, 2017
  • by Reverze
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Distribution component

This component helps to manage swayframework and vendor packages. It also provides a feature to manage configuration around packages and app., (*1)

Installation

This package is bundled with swayframework., (*2)

composer require rev/sway-framework-distribution

This will install package at latest version., (*3)

Usage


Please remember that subdirectory tmp must exists in your app directory. It will not be created if not exists., (*4)

Built-in services

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);

The Versions

01/06 2017

dev-master

9999999-dev

SwayFramework Distribution Component

  Sources   Download

GPL-3.0

The Requires

 

by Avatar Reverze

01/06 2017

dev-dev

dev-dev

SwayFramework Distribution Component

  Sources   Download

GPL-3.0

The Requires

 

by Avatar Reverze