2017 © Pedro Peláez
 

library svn-tool

Svn tool by integrate composer

image

pawella/svn-tool

Svn tool by integrate composer

  • Saturday, April 7, 2018
  • by pawella
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Svn Tools by comopser

Read subversion repository and created packages.json file by composer usage, (*1)

Getting Started

Provides a service site that scans your external, private SVN repository, preparing a package.json file that will be used by composer., (*2)

Installing

Add a library to your project., (*3)

composer require pawella/svn-tool

Sample application

<?php

require __DIR__.'/../../vendor/autoload.php';

use SvnTool\Service;
use Zend\Cache\StorageFactory;


$service = new Service();

/**
 * Usage caching is optional.
 */
$cache = StorageFactory::factory([
    'adapter' => [
        'name'    => 'Filesystem',
        'options' => [
            'ttl' => 60,
            'cache_dir' => __DIR__.'/../cache'
        ],
    ],
    'plugins' => [
        'exception_handler' => ['throw_exceptions' => false],
        'Serializer'
    ],
]);
$service->setCache($cache);

$service->setRepositories([
    'https://userByRepo:password@svn.example.com/svn/repository',
    'https://userByRepo:password@svn.otherhost.com/repository'
]);

$service->responseJsonPackage();


License

This project is licensed under the MIT License - see the LICENSE.md file for details, (*4)

Acknowledgments

  • Hat tip to anyone who's code was used
  • Inspiration
  • etc

The Versions

07/04 2018

dev-master

9999999-dev https://github.com/pawella/svn-tool

Svn tool by integrate composer

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Avatar pawella

php composer zf2 svn subversion packages

31/03 2018

0.1.1.x-dev

0.1.1.9999999-dev https://github.com/pawella/svn-tool

Svn tool by integrate composer

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Avatar pawella

php composer zf2 svn subversion packages

31/03 2018

0.1.1

0.1.1.0 https://github.com/pawella/svn-tool

Svn tool by integrate composer

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Avatar pawella

php composer zf2 svn subversion packages