Skip to content

Commit

Permalink
FilePHP
Browse files Browse the repository at this point in the history
  • Loading branch information
KanDisheng committed Jul 7, 2017
1 parent 0c14948 commit 3366028
Show file tree
Hide file tree
Showing 8 changed files with 128 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
#IDE
/.idea/

#Composer
/vendor/
/composer.lock
26 changes: 24 additions & 2 deletions README.md
@@ -1,2 +1,24 @@
# FilePHP
Operate Files
# CodeMommy FilePHP

[![License](https://poser.pugx.org/CodeMommy/FilePHP/license?format=flat-square)](LICENSE)
[![Download](https://poser.pugx.org/CodeMommy/FilePHP/downloads?format=flat-square)](https://packagist.org/packages/CodeMommy/FilePHP)
[![Stable](https://poser.pugx.org/CodeMommy/FilePHP/version?format=flat-square)](https://packagist.org/packages/CodeMommy/FilePHP)
[![Unstable](https://poser.pugx.org/CodeMommy/FilePHP/v/unstable?format=flat-square)](https://packagist.org/packages/CodeMommy/FilePHP)
[![composer.lock Available](https://poser.pugx.org/CodeMommy/FilePHP/composerlock?format=flat-square)](https://packagist.org/packages/CodeMommy/FilePHP)
[![Build Status](https://travis-ci.org/CodeMommy/FilePHP.svg?branch=master)](https://travis-ci.org/CodeMommy/FilePHP)


> Operate Files
Visit [CodeMommy Website](http://www.codemommy.com) or [Packagist](https://packagist.org/packages/CodeMommy/FilePHP) to get more information.

## Authors

| Name | Identity | Social |
| :--- | :------- | :----- |
| Candison November | Creator | [Website](http://www.kandisheng.com) - [GitHub](https://github.com/KanDisheng) |

## More

- [Feedback](https://github.com/CodeMommy/FilePHP/issues)
- [About CodeMommy](https://github.com/CodeMommy/CodeMommy)
13 changes: 13 additions & 0 deletions alias/Txt.php
@@ -0,0 +1,13 @@
<?php

/**
* CodeMommy FilePHP
* @author Candison November <www.kandisheng.com>
*/

namespace CodeMommy\FilePHP;

class Txt extends Text
{

}
35 changes: 35 additions & 0 deletions composer.json
@@ -0,0 +1,35 @@
{
"name": "codemommy/filephp",
"version": "0.0.1",
"description": "Operate Files",
"keywords": [
"CodeMommy",
"FilePHP",
"PHP"
],
"license": "Apache 2.0",
"homepage": "http://www.codemommy.com",
"support": {
"issues": "https://github.com/CodeMommy/FilePHP/issues",
"source": "https://github.com/CodeMommy/FilePHP"
},
"authors": [
{
"name": "Candison November",
"email": "kandisheng@163.com",
"homepage": "http://www.kandisheng.com"
}
],
"autoload": {
"psr-4": {
"CodeMommy\\FilePHP\\": "source/",
"CodeMommy\\FilePHP\\Extension\\": "alias/"
}
},
"require-dev": {
"phpunit/phpunit": "*"
},
"require": {
"php": ">=5.3.0"
}
}
7 changes: 7 additions & 0 deletions phpunit.xml
@@ -0,0 +1,7 @@
<phpunit>
<testsuites>
<testsuite name="CodeMommy FilePHP">
<directory>test</directory>
</testsuite>
</testsuites>
</phpunit>
13 changes: 13 additions & 0 deletions source/File.php
@@ -0,0 +1,13 @@
<?php

/**
* CodeMommy FilePHP
* @author Candison November <www.kandisheng.com>
*/

namespace CodeMommy\FilePHP;

class File
{

}
13 changes: 13 additions & 0 deletions source/Text.php
@@ -0,0 +1,13 @@
<?php

/**
* CodeMommy FilePHP
* @author Candison November <www.kandisheng.com>
*/

namespace CodeMommy\FilePHP;

class Text
{

}
17 changes: 17 additions & 0 deletions test/FileTest.php
@@ -0,0 +1,17 @@
<?php

/**
* @author Candison November <www.kandisheng.com>
*/

declare(strict_types = 1);

require_once(__DIR__ . '/../vendor/autoload.php');

use PHPUnit\Framework\TestCase;
use CodeMommy\FilePHP\File;

class FileTest extends TestCase
{

}

0 comments on commit 3366028

Please sign in to comment.