Skip to content

Commit ea8b51b

Browse files
committed
Initialize package
0 parents  commit ea8b51b

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
composer.lock

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Technically PHP
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.

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.PHONY: tests
2+
3+
tests: vendor
4+
php -d zend.assertions=1 -d assert.exception=1 vendor/bin/peridot ./specs
5+
6+
composer.lock: composer.json
7+
composer install
8+
touch composer.lock
9+
10+
vendor: composer.json composer.lock
11+
composer install
12+
touch vendor

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "technically/json",
3+
"description": "Minimalistic wrapper around PHP native JSON functions, with additional data validity and error checks.",
4+
"type": "library",
5+
"keywords": [
6+
"php",
7+
"json",
8+
"minimalist"
9+
],
10+
"require": {
11+
"php": "~7.4 || ~8.0"
12+
},
13+
"require-dev": {
14+
"peridot-php/peridot": "^1.19"
15+
},
16+
"license": "MIT",
17+
"authors": [
18+
{
19+
"name": "Ivan Voskoboinyk",
20+
"email": "ivan@voskoboinyk.com"
21+
}
22+
],
23+
"minimum-stability": "stable",
24+
"autoload": {
25+
"files": [
26+
"./src/functions.php"
27+
]
28+
}
29+
}

0 commit comments

Comments
 (0)