2017 © Pedro Peláez
 

library downloader

package to help download files from http, https, ftp

image

zver/downloader

package to help download files from http, https, ftp

  • Monday, June 26, 2017
  • by s4urp8n
  • Repository
  • 1 Watchers
  • 0 Stars
  • 60 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Package-template

Use this template package structure to build your own packages and tests and composer distribution, (*1)

Structure

  • files - package files
  • src - package src files
  • tests - package PHPUnit tests
  • tests/classes - classes needed for testing
  • tests/files - files needed for testing
  • tests/bootstrap.php - PHPUnit autoloading and helpers
  • coverage - directory with coverage information, ignored from git

Helpers

  • packageFile($name) - get full name of file with name=$name in files folder
  • packageTestFile($name) - get full name of file with name=$name in tests/files folder
  • Package/Test trait added with following methods:
    • foreachTrue(array $values)
    • foreachFalse(array $values)
    • foreachEquals(array $values)
    • foreachNotEquals(array $values)
    • foreachSame(array $values)
    • foreachNotSame(array $values)
    • assertException(callable $callback, $expectedException = 'Exception', $expectedCode = null, $expectedMessage = null)

Run tests

For testing PHPUnit installed required, (*2)

cd package-template
composer install
php test.php

The Versions

26/06 2017

dev-master

9999999-dev

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

26/06 2017

1.0.8

1.0.8.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

15/06 2017

1.0.7

1.0.7.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

26/04 2017

1.0.6

1.0.6.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

07/04 2017

1.0.5

1.0.5.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

07/04 2017

1.0.4

1.0.4.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

15/03 2017

1.0.3

1.0.3.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

14/03 2017

1.0.1

1.0.1.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

14/03 2017

1.0.2

1.0.2.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

14/03 2017

1.0.0

1.0.0.0

package to help download files from http, https, ftp

  Sources   Download

The Requires

 

14/03 2017

0.0.9

0.0.9.0

package to help download files from http, https, ftp

  Sources   Download

The Requires