Skip to content

Commit f9b0aad

Browse files
committed
add License & change name
1 parent 067c3c2 commit f9b0aad

File tree

6 files changed

+30
-9
lines changed

6 files changed

+30
-9
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 wilon
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Simple PHP Debug, better output and write log.
66
Just add this line to your `composer.json` file:
77

88
```json
9-
"wilon/simple-debug": "^0.1.3"
9+
"wilon/simple-php-debug": "^0.1.4"
1010
```
1111

1212
or
1313

1414
```sh
15-
composer require wilon/simple-debug
15+
composer require wilon/simple-php-debug
1616
```
1717

1818
## A Simple Example

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "wilon/simple-debug",
2+
"name": "wilon/simple-php-debug",
33
"description": "Simple PHP Debug, better output and write log.",
44
"license": "MIT",
55
"homepage": "https://wilon.github.io",
66
"support": {
7-
"issues": "https://github.com/wilon/simple-debug/issues",
8-
"source": "https://github.com/wilon/simple-debug"
7+
"issues": "https://github.com/wilon/simple-php-debug/issues",
8+
"source": "https://github.com/wilon/simple-php-debug"
99
},
1010
"keywords": ["php", "debug", "dump"],
1111
"authors": [
@@ -18,7 +18,7 @@
1818
"php": ">=5.3"
1919
},
2020
"autoload": {
21-
"files": ["SimpleDebug.php"]
21+
"files": ["src/SimpleDebug.php"]
2222
},
2323
"config": {
2424
"sort-packages": true
File renamed without changes.

test/test.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
require dirname(__FILE__) . '/../SimpleDebug.php';
3+
require dirname(__FILE__) . '/../src/SimpleDebug.php';
44

55
define('MY_CONSTANT', 1);
66

77
$aa = new AA();
88

99
$b = 'outfunc';
10-
(((((((((simple_dump($b ,((((((((( $c))))))))), $a))))))))));
1110
$ccc = array();
11+
(((((((((simple_dump($b ,((((((((( $ccc))))))))), $aa))))))))));
1212

1313
$aa->test();
1414

test/test2.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require dirname(__FILE__) . '/../SimpleDebug.php';
3+
require dirname(__FILE__) . '/../src/SimpleDebug.php';
44

55
define('MY_CONSTANT', 1);
66

0 commit comments

Comments
 (0)