2017 © Pedro Peláez
 

library composer-file-installer

Install files with Composer.

image

mediact/composer-file-installer

Install files with Composer.

  • Thursday, September 7, 2017
  • by mediactbv
  • Repository
  • 3 Watchers
  • 0 Stars
  • 3,791 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 50 % Grown

The README.md

Scrutinizer Code Quality, (*1)

[ABANDONED] composer-file-installer

Install files in a project as part of a composer install or composer update. Uses the mediact/file-mapping package for moving files according to a source -> destination mapping. The Composer IOInterface supplies the file installer with the capability to write the files and supply end-users with output messages., (*2)

Usage example

<?php
// Create a file mapping.
$mappingFilePaths = new UnixFileMapping(
     __DIR__ . '/../folder/files',
     getcwd(),
     ['./dir/one','./dir/two']

 );

// Get a file mapping reader.
$reader = new UnixFileMappingReader($sourceDirectory, $targetDirectory, $mappingFilePaths);

// Get an installer, supply with the file mapping reader.
$installer = new FileInstaller($reader);

// Install according to mapping, supply with Composer IOInterface.
$installer->install($io);

The Versions

07/09 2017

dev-master

9999999-dev

Install files with Composer.

  Sources   Download

MIT

The Requires

 

The Development Requires

by MediaCT B.V.

31/08 2017

1.0.1

1.0.1.0

Install files with Composer.

  Sources   Download

MIT

The Requires

 

The Development Requires

by MediaCT B.V.

10/05 2017

1.0.0

1.0.0.0

Install files with Composer.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by MediaCT B.V.