Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-23 #24

Merged
merged 2 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@
/.php-cs-fixer.dist export-ignore
/.phpunit.cache export-ignore
/docs export-ignore
/resources/docs export-ignore
/resources/package export-ignore
/tests export-ignore
/vendor export-ignore
/composer.lock export-ignore
/package.json export-ignore
/phpunit-ci.xml export-ignore
/phpunit.xml export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml export-ignore
/psalm.xml.dist export-ignore
/testbench.yaml export-ignore
# These database components are for testing only.
/database/factories export-ignore
/database/migrations-laravel export-ignore
/database/migrations-playground export-ignore
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ public/storage

output

public/tests
public/docs

phpunit.xml
public/tests

phpstan.neon

phpunit.xml

.phpunit.cache

tests/_output/*
Expand Down Expand Up @@ -97,4 +99,3 @@ yarn-error.log
/.fleet
/.idea
/.vscode

21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) Playground <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,24 @@ composer cloc
```

```
➜ playground-matrix git:(develop) ✗ composer cloc
> cloc --exclude-dir=output,vendor .
160 text files.
100 unique files.
62 files ignored.
➜ playground-matrix git:(feature/GH-23) ✗ composer cloc
> cloc --exclude-dir=node_modules,output,vendor .
137 text files.
116 unique files.
23 files ignored.

github.com/AlDanial/cloc v 1.98 T=0.17 s (574.5 files/s, 89466.2 lines/s)
github.com/AlDanial/cloc v 1.98 T=0.27 s (437.6 files/s, 204291.4 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PHP 92 1065 3751 10043
JSON 16 0 0 38621
PHP 92 1060 3753 10037
YAML 1 5 0 275
XML 3 0 2 223
Markdown 2 39 0 85
JSON 1 0 0 70
XML 3 0 5 220
Markdown 3 44 0 121
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 100 1112 3753 10708
SUM: 116 1112 3758 49286
-------------------------------------------------------------------------------
```

Expand Down
17 changes: 8 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"laravel",
"playground"
],
"homepage": "https://gammamatrix-playground.readthedocs.io/en/develop/components/matrix.html",
"homepage": "https://github.com/gammamatrix/playground-matrix",
"license": "MIT",
"authors": [
{
Expand All @@ -20,17 +20,15 @@
],
"require": {
"php": "^8.2",
"gammamatrix/playground": "dev-develop|dev-master|dev-feature/*|^73.0@dev|^73.0"
"gammamatrix/playground": "*"
},
"require-dev": {
"gammamatrix/playground-test": "dev-develop|dev-master|dev-feature/*|^73.0@dev|^73.0"
"gammamatrix/playground-test": "*"
},
"suggest": {
"gammamatrix/playground-matrix-api": "Provides an API, without a UI, to interact with the models provided in this package.",
"gammamatrix/playground-matrix-resource": "Provides a resource API and optional Blade UI to interact with the models provided in this package."
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Database\\Factories\\Playground\\Matrix\\Models\\": "database/factories/",
Expand All @@ -52,19 +50,20 @@
},
"extra": {
"branch-alias": {
"dev-develop": "73.x-dev",
"dev-master": "73.x-dev"
"dev-develop": "73.x-dev"
},
"laravel": {
"providers": [
"Playground\\Matrix\\ServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"analyse": "vendor/bin/phpstan analyse --verbose --debug --level max",
"cloc": "cloc --exclude-dir=output,vendor .",
"cloc": "cloc --exclude-dir=node_modules,output,vendor .",
"format": "vendor/bin/php-cs-fixer fix",
"test": "vendor/bin/phpunit"
"test": "vendor/bin/testbench package:test"
}
}
Loading