Authentication with Slim 4 (Lesson 3: Psr-4 Autoloading)

preview_player
Показать описание
#Psr4Autoloading #ComposerAutoloading #Slim4Authentication
---
PSR-4 Autoloading ~ Lesson 3: Authentication with Slim 4
---
Today we're going to dive into setting up autoloading for our Slim 4 authentication
project.

Autoloading allows us to define namespaces and globally required files.

Come along as we simplify the requirements for utilizing php files in our 3rd installment of Authentication with Slim 4.

---
Slim 4 Documentation:

---
PSR-4 Autoloading (Php Standard Recommendation 4):

---
Composer Autoloading:

---
Authentication with Slim 4 Tutorial Github Repository:

---
Clean Code Studio ~ Simplify!
Clean Code Clean Life
---
Рекомендации по теме
Комментарии
Автор

Thank you for the video! After watching, I became stronger)

ИльяРепин-хш
Автор

wow, i never know we could put global functions xD, thanks a lot

FlavioSilva-whkb
Автор

Hi Good tuto overall but dumb question : Why bother creating this whole helpers section ? if you can simply use the dependencies with Slim in the box ??

jonathanvisiedo
Автор

Error with '/home' route.

Message: View [auth.home] not found.
File:

Not sure what happened after the refactor. My directory is set up as as in the example.

Also, don't you have to update Composer.json to...

"files": [
"./app/Models/helpers.php"
],

..since helpers.php was places inside the Models folder. I couldn't get the '/' route to work otherwise.

ThisCanNotBTheFuture
Автор

Hi. when i tried composer dumpautoload -o, i got this error
The requested resource / was not found on this server.

AnineAnimeAnime
Автор

Hey, great video. Please have fewer zoom in/out of code.

shezig
Автор

I'm so sorry to get motion sickness on this video because the topic is quite interesting.

MarioWolff
Автор

Thanks for the tutorial, but dude.. you made me dizzy.

IoannisKotsonis