Skip to content

Commit b56a91d

Browse files
JsonDB
1 parent ac6e7a5 commit b56a91d

19 files changed

+1032
-3041
lines changed

.gitattributes

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/.gitignore export-ignore
2+
/.gitattributes export-ignore
3+
/.phpunit.cache/ export-ignore
4+
/.github/ export-ignore
5+
/composer.lock export-ignore
6+
/phpunit.xml.dist export-ignore
7+
/phpstan.neon.dist export-ignore
8+
/tests/ export-ignore
9+
/art/ export-ignore
10+
/vendor/ export-ignore
11+
/var/ export-ignore
12+

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
- name: Install dependencies
1818
run: composer install --prefer-dist --no-progress --no-suggest
1919

20-
- name: Run Pest
21-
run: vendor/bin/pest
20+
- name: Run PHPUnit
21+
run: vendor/bin/phpunit

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Sushil Kumar
3+
Copyright (c) 2025 CodeWithSushil
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
## json-db
1+
# JsonDB
2+
3+
![JsonDB](/art/jsondb.png)
4+
25
- JSON DB for APIs Testing for Your Minimalist Project
36

47
### Example

art/jsondb.png

3.64 MB
Loading

composer.json

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
{
22
"name": "jsondbphp/jsondb",
3-
"description": "JSON DB for APIs Testing for Your Minimalist Project",
3+
"description": "JsonDB: lightwegt document container",
44
"type": "library",
5-
"keywords": ["jsondb", "jsondb-server", "database"],
5+
"keywords": [
6+
"jsondb",
7+
"jsondbphp",
8+
"json database",
9+
"database"
10+
],
611
"require": {
7-
"ext-json": "*"
12+
"php": "^8.2",
13+
"ext-json": "*",
14+
"ext-mbstring": "*"
815
},
916
"require-dev": {
1017
"phpstan/phpstan": "^2.1",
11-
"pestphp/pest": "^3.7"
18+
"phpunit/phpunit": "*",
19+
"laravel/pint": "^1.22",
20+
"symfony/var-dumper": "^7.3"
1221
},
1322
"license": "MIT",
1423
"autoload": {
1524
"psr-4": {
16-
"App\\": "src/"
25+
"Json\\Database\\": "src/"
1726
}
1827
},
1928
"autoload-dev": {
@@ -27,11 +36,11 @@
2736
"email": "sushilkumbhar77@gmail.com"
2837
}
2938
],
39+
"scripts": {
40+
"lint": "vendor/bin/pint",
41+
"unit": "vendor/bin/phpunit",
42+
"type": "vendor/bin/phpstan"
43+
},
3044
"minimum-stability": "dev",
31-
"prefer-stable": true,
32-
"config": {
33-
"allow-plugins": {
34-
"pestphp/pest-plugin": true
35-
}
36-
}
45+
"prefer-stable": true
3746
}

0 commit comments

Comments
 (0)