generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.ALX
37 lines (32 loc) · 1.05 KB
/
README.ALX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
23 feb 2024
Testing models
testing are done thru sqlite on memory
a fake app minimal laravel architecture for testing is in /src/app
have a loop at fake app path on TestCase:getEnvironmentSetUp
and composer.json set a App namespace on
to add to the doc:
php artisan eloquentize:models-count --models=User --scope=Email --scopeValue="[email protected]" -v
a wide used depency with maximum compâtibility sample:
{
"name": "creativeorange/gravatar",
"version": "v1.0.24",
"source": {
"type": "git",
"url": "https://github.com/creativeorange/gravatar.git",
"reference": "ec0d78c7d4ef6d66c3cc09b6a03ab8d53e44379f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/creativeorange/gravatar/zipball/ec0d78c7d4ef6d66c3cc09b6a03ab8d53e44379f",
"reference": "ec0d78c7d4ef6d66c3cc09b6a03ab8d53e44379f",
"shasum": ""
},
"require": {
"illuminate/support": "^5|^6|^7|^8|^9|^10.0|^11.0",
"php": ">=5.4.0"
},
"require-dev": {
"nunomaduro/larastan": "^0.6.2|^2.4",
"orchestra/testbench": "^5.4|^8.0|^9.0",
"php": ">=7.2"
},