Skip to content

Commit 7a700a2

Browse files
committed
add composer to project
1 parent 5501628 commit 7a700a2

File tree

2 files changed

+24
-40
lines changed

2 files changed

+24
-40
lines changed

.gitignore

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,6 @@
1-
# Cache and logs (Symfony2)
2-
/app/cache/*
3-
/app/logs/*
4-
!app/cache/.gitkeep
5-
!app/logs/.gitkeep
6-
7-
# Email spool folder
8-
/app/spool/*
9-
10-
# Cache, session files and logs (Symfony3)
11-
/var/cache/*
12-
/var/logs/*
13-
/var/sessions/*
14-
!var/cache/.gitkeep
15-
!var/logs/.gitkeep
16-
!var/sessions/.gitkeep
17-
18-
# Logs (Symfony4)
19-
/var/log/*
20-
!var/log/.gitkeep
21-
22-
# Parameters
23-
/app/config/parameters.yml
24-
/app/config/parameters.ini
25-
261
# Managed by Composer
27-
/app/bootstrap.php.cache
28-
/var/bootstrap.php.cache
29-
/bin/*
30-
!bin/console
31-
!bin/symfony_requirements
322
/vendor/
333

34-
# Assets and user uploads
35-
/web/bundles/
36-
/web/uploads/
37-
384
# PHPUnit
395
/app/phpunit.xml
406
/phpunit.xml
@@ -44,9 +10,4 @@
4410

4511
# Composer PHAR
4612
/composer.phar
47-
48-
# Backup entities generated with doctrine:generate:entities command
49-
**/Entity/*~
50-
51-
# Embedded web-server pid file
52-
/.web-server-pid
13+
/composer.lock

composer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "growthdev/design-patterns",
3+
"description": "Exemplos em PHP dos 23 Padrões de Projetos (Design Patterns) relacionados ao Livro GOF",
4+
"type": "php",
5+
"require": {
6+
"php": "8.0.12"
7+
},
8+
"require-dev": {
9+
"phpunit/phpunit": "^9.5"
10+
},
11+
"license": "MIT",
12+
"autoload": {
13+
"psr-4": {
14+
"Growthdev\\DesignPatterns\\": "src/"
15+
}
16+
},
17+
"authors": [
18+
{
19+
"name": "Walmir Silva",
20+
"email": "git@growthdev.com.br"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)