Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
49 lines (49 loc) · 1.95 KB
/
Copy pathcomposer.json
File metadata and controls
49 lines (49 loc) · 1.95 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "yanpenalva/phpenalva",
"description": "PHPenalva is a micro php framework for building web applications and simple APIs.",
"license": "MIT",
"type": "project",
"authors": [
{
"name": "Yan Brasiliano Silva Penalva",
"email": "yanpenabr@gmail.com"
}
],
"autoload": {
"psr-4": {
"App\\": "app/",
"Core\\": "core/",
"Exceptions\\": "core/Exceptions/",
"Helpers\\": "core/Helpers/",
"Middlewares\\": "core/Middlewares/",
"Controllers\\": "app/Controllers/",
"Views\\": "app/Views/",
"Routes\\": "routes/",
"Bootstrap\\": "bootstrap/",
"Database\\": "database/"
}
},
"require": {
"php": ">=8.0.0",
"vlucas/phpdotenv": "^5.5"
},
"scripts": {
"start": "docker compose -f .docker/docker-compose.yaml up -d",
"stop": "docker compose -f .docker/docker-compose.yaml down",
"restart": "docker compose -f .docker/docker-compose.yaml restart",
"migrate": "php config/migrate.php",
"phenalva": "php bin/phpenalva",
"test": "phpunit --configuration phpunit.xml",
"lint": "php -l config/database.php && php -l config/migrate.php && php -l core/BaseMigration.php && php -l core/MigrationManager.php && php -l core/Logger.php && php -l database/migrations/CreateUsersTable.php && php -l database/migrations/CreatePostsTable.php && php -l tests/Feature/HttpTestRouter.php && php -l tests/Feature/HttpContractTest.php && php -l tests/Feature/MigrationManagerTest.php && php -l tests/Unit/DatabaseConfigTest.php && php -l tests/Unit/LoggerTest.php",
"analyse": "phpstan analyse --configuration=phpstan.neon --no-progress"
},
"config": {
"platform": {
"php": "8.0.0"
}
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpstan/phpstan": "^1.12"
}
}