Chapters
25 Chapters
|
2:34:05
|
Login to bookmark this video
-
Course Code
Subscribe to download the code!
Subscribe to download the code!
-
This Video
Subscribe to download the video!
Subscribe to download the video!
-
Subtitles
Subscribe to download the subtitles!
Subscribe to download the subtitles!
-
Course Script
Subscribe to download the script!
Subscribe to download the script!
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"knplabs/knp-time-bundle": "^1.18", // v1.19.0
"symfony/asset": "6.1.*", // v6.1.0-RC1
"symfony/console": "6.1.*", // v6.1.0-RC1
"symfony/dotenv": "6.1.*", // v6.1.0-RC1
"symfony/flex": "^2", // v2.4.5
"symfony/framework-bundle": "6.1.*", // v6.1.0-RC1
"symfony/http-client": "6.1.*", // v6.1.0-RC1
"symfony/monolog-bundle": "^3.0", // v3.8.0
"symfony/runtime": "6.4.3", // v6.4.3
"symfony/twig-bundle": "6.1.*", // v6.1.0-RC1
"symfony/ux-turbo": "^2.0", // v2.1.1
"symfony/webpack-encore-bundle": "^1.13", // v1.14.1
"symfony/yaml": "6.1.*", // v6.1.0-RC1
"twig/extra-bundle": "^2.12|^3.0", // v3.4.0
"twig/twig": "^2.12|^3.0" // v3.4.0
},
"require-dev": {
"symfony/debug-bundle": "6.1.*", // v6.1.0-RC1
"symfony/maker-bundle": "^1.41", // v1.42.0
"symfony/stopwatch": "6.1.*", // v6.1.0-RC1
"symfony/web-profiler-bundle": "6.1.*" // v6.1.0-RC1
}
}
11 Comments
Hey SymfonyCast!
I'm getting a strange TransportException:
I'm not sure how to fix this.
Hey @Akili
That's very strange. Did you download the course code from this page? It's hard to know what's wrong but it could be a problem with your SSL certificate or your web server
Cheers!
Can I programmatically change the value of an environment variable?
Hey Dmitriy,
I think you can because Symfony re-reads the
.envfile, but in my opinion, you should not change env vars unless you're deploying new stuff. I don't know what's your use case for it but makes me believe you're trying to solve it using the wrong approachCheers!
Hey MolloKhan,
Thanks for the answer.
I need to change ngrok url on production server every time i run it on localhost.
Found the following solution. I don't know how correct this is.
Oh, I see, well, it should work, but in my opinion, you should not modify env vars at runtime, although this is just for dev purposes. Another approach would be to use the cache service
Cheers!
hello, how did you find the token?
Hey Massire,
You can follow these steps to generate your own token https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
Cheers!
Hi I've got this issue on my install :
I've found, because I'm in dev environment, and into bundles.php, it was setted to 'prod'
Hey Brice,
Good catch, I'm happy to hear you were figured this out yourself!
Cheers!
"Houston: no signs of life"
Start the conversation!