Skip to content

Commit

Permalink
feat(cookie): add http cookie component
Browse files Browse the repository at this point in the history
  • Loading branch information
SolaTyolo committed Nov 25, 2021
1 parent 184f2c3 commit 6e30a61
Show file tree
Hide file tree
Showing 11 changed files with 2,732 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vendor/
.DS_store
.idea
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":{"Warning":6,"CuePhp\\Test\\Cookie\\CookieTest::testAccess":4,"CuePhp\\Test\\Cookie\\CookieTest::testCreate":4,"CuePhp\\Test\\Cookie\\CookieTest::testToHeadersString":3,"CuePhp\\Test\\Cookie\\CookieManagerTest::testCreateFromHeaders":3},"times":{"Warning":0.003,"CuePhp\\Test\\Cookie\\CookieTest::testAccess":0,"CuePhp\\Test\\Cookie\\CookieTest::testCreate":0,"CuePhp\\Test\\Cookie\\CookieTest::testToHeadersString":0,"CuePhp\\Test\\Cookie\\CookieManagerTest::testNew":0.004,"CuePhp\\Test\\Cookie\\CookieManagerTest::testCreateFromHeaders":0}}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# cookie
cookie ops
CuePhp-Cookie
Cookie operation
37 changes: 37 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "cuephp/cookie",
"type": "library",
"description": "cuephp Cookie Component",
"keywords": ["cookie", "php"],
"license": "MIT",
"version": "0.1.0",
"require": {
"php": "^7.2 || ^8.0"
},
"autoload": {
"psr-4": {
"CuePhp\\Cookie\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"CuePhp\\Test\\Cookie\\": "tests/"
}
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^9.5"
},
"scripts": {
"fix": [
"./vendor/bin/phpcbf --standard=PSR2 src"
],
"analyse": [
"./vendor/bin/phpstan analyse src"
],
"unit-test": [
"./vendor/bin/phpunit"
]
}
}
Loading

0 comments on commit 6e30a61

Please sign in to comment.