Skip to content

Commit

Permalink
updated composer, readme and dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jun 2, 2014
1 parent 9b84149 commit a15a2ba
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 23 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "dg/ftp-php",
"description": "Easy-to-use library for accessing FTP servers.",
"description": "Easy-to-use library for accessing FTP servers",
"keywords": ["ftp"],
"homepage": "https://github.com/dg/ftp-php",
"license": ["BSD-3"],
"license": ["BSD-3-Clause"],
"authors": [
{
"name": "David Grudl",
"homepage": "http://davidgrudl.com"
}
],
"autoload": {
"classmap": ["ftp.class.php"]
"classmap": ["src/"]
}
}
}
2 changes: 1 addition & 1 deletion example.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once 'ftp.class.php';
require_once 'src/Ftp.php';


try {
Expand Down
2 changes: 1 addition & 1 deletion license.txt → license.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 changes: 17 additions & 16 deletions readme.txt → readme.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
FTP for PHP (c) David Grudl, 2008 (http://davidgrudl.com)
FTP for PHP
===========


Introduction
------------
[![Downloads this Month](https://img.shields.io/packagist/dm/dg/ftp-php.svg)](https://packagist.org/packages/dg/ftp-php)

FTP for PHP is a very small and easy-to-use library for accessing FTP servers.

It requires PHP 5.0 or newer and is licensed under the New BSD License.
You can obtain the latest version from our [GitHub repository](http://github.com/dg/ftp-php)
or install it via Composer:

Project at GitHub: https://github.com/dg/ftp-php
My PHP blog: http://phpfashion.com


Requirements
------------
- PHP (version 5 or better)
php composer.phar require dg/ftp-php


Usage
Expand Down Expand Up @@ -56,9 +52,14 @@ On the other hand, if you'd like the possible exception quietly catch, call meth
When the connection is accidentally interrupted, you can re-establish it using method $ftp->reconnect().


Files
Changelog
---------
v1.1 (6/2014)
- added support for passive mode

v1.0 (8/2012)
- initial release


-----
readme.txt - This file.
license.txt - The license for this software (New BSD License).
ftp.class.php - The core Ftp class source.
example.php - Example.
(c) David Grudl, 2008, 2014 (http://davidgrudl.com)
2 changes: 1 addition & 1 deletion ftp.class.php → src/Ftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright Copyright (c) 2008 David Grudl
* @license New BSD License
* @link http://phpfashion.com/
* @version 1.0
* @version 1.1
*/
class Ftp
{
Expand Down

0 comments on commit a15a2ba

Please sign in to comment.