Skip to content

Commit 336710d

Browse files
init
1 parent 1dab375 commit 336710d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2328
-65
lines changed

.env

+6-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@ APP_SECRET=cd971d9b4d03171c6be1d20c0956ac5b
2828
#
2929
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
3030
# DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
31-
DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8"
31+
DATABASE_URL="postgresql://DB_USER:DB_PASSWORD@127.0.0.1:5432/DB_NAME?serverVersion=13&charset=utf8"
3232
###< doctrine/doctrine-bundle ###
33+
34+
###> symfony/google-mailer ###
35+
# Gmail SHOULD NOT be used on production, use it in development only.
36+
MAILER_DSN=gmail://GMAIL_USERNAME:GMAIL_APP_PASSWORD@default
37+
###< symfony/google-mailer ###

.github/FUNDING.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
patreon: capcoding

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.idea
12

23
###> symfony/framework-bundle ###
34
/.env.local

README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Create a classic website using Symfony 5
2+
3+
Watch full tutorial [here](https://youtu.be/XXX)
4+
5+
## Launch project
6+
7+
Run in terminal `symfony local:server:start`
8+
9+
# Other video tutorials
10+
11+
## Delay "heavy" tasks in Symfony with component Messenger
12+
13+
There is a [video](https://youtu.be/UHlA5nHdCmw)
14+
15+
## Delay "heavy" tasks in Symfony with event kernel.terminate
16+
17+
There is a [video](https://youtu.be/HrQme9KUlUg)
18+
19+
## Design pattern "Chain of responsibility" (Symfony implementation)
20+
21+
There is a [video](https://youtu.be/3KQlubIv684)
22+
23+
## Create Symfony 5 project with Docker and Postgres
24+
25+
There is a [video](https://youtu.be/69wjRPQ0A_U)
26+
27+
## How to use data transfer objects (DTO) in Symfony API application
28+
29+
There is a [branch](https://github.com/Cap-Coding/symfony_api/tree/data_transfer_objects) and here is a [video](https://youtu.be/XxIhzgGv214)
30+
31+
## How to build simple CRUD API service with Symfony 5 (for beginners)
32+
33+
There is a [branch](https://github.com/Cap-Coding/symfony_api/tree/crud_api) and here is a [video](https://youtu.be/tbXpX4dAqjg)
34+
35+
## How to use Symfony Form Events in API service
36+
37+
There is a [video](https://youtu.be/lLwx96DA_Ww)
38+
39+
## How to use object factories with Symfony Forms
40+
41+
There is a [video](https://youtu.be/chgvsi6TWM8)

composer.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
"minimum-stability": "stable",
55
"prefer-stable": true,
66
"require": {
7-
"php": ">=7.2.5",
7+
"php": ">=8.0",
88
"ext-ctype": "*",
99
"ext-iconv": "*",
1010
"composer/package-versions-deprecated": "1.11.99.3",
1111
"doctrine/annotations": "^1.0",
1212
"doctrine/doctrine-bundle": "^2.4",
1313
"doctrine/doctrine-migrations-bundle": "^3.1",
1414
"doctrine/orm": "^2.9",
15+
"easycorp/easyadmin-bundle": "^3.5",
1516
"phpdocumentor/reflection-docblock": "^5.2",
1617
"sensio/framework-extra-bundle": "^6.1",
1718
"symfony/asset": "5.3.*",
@@ -21,6 +22,7 @@
2122
"symfony/flex": "^1.3.1",
2223
"symfony/form": "5.3.*",
2324
"symfony/framework-bundle": "5.3.*",
25+
"symfony/google-mailer": "5.3.*",
2426
"symfony/http-client": "5.3.*",
2527
"symfony/intl": "5.3.*",
2628
"symfony/mailer": "5.3.*",
@@ -44,6 +46,7 @@
4446
"twig/twig": "^2.12|^3.0"
4547
},
4648
"require-dev": {
49+
"doctrine/doctrine-fixtures-bundle": "^3.4",
4750
"phpunit/phpunit": "^9.5",
4851
"symfony/browser-kit": "5.3.*",
4952
"symfony/css-selector": "5.3.*",

0 commit comments

Comments
 (0)