Intro to Slim PHP Framework - Full PHP 8 Tutorial

preview_player
Показать описание
In this video, we learn the basics of the Slim PHP framework & get it working with Twig.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
THANK YOU!

🛠️ TOOLS & SERVICES I USE

LESSON 3.28

RESOURCES

TABLE OF CONTENTS
00:00 - Intro (What is Slim PHP & How It Works)
04:45 - Cloudways Promo
05:28 - Install Slim
07:55 - Slim Twig

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
Рекомендации по теме
Комментарии
Автор

Thank you again for this lesson Gio. I had to attend to something for a few days so I paused. The way you ended it was intuitive really. Cause I was just saying to myself that I may have to read up and then go through the code to really understand the connections and then the small refactoring we had to do. It's been amazing Gio. I'm really looking forward to the project.

Zubbee
Автор

Thank you for this very good video about Slim framework. In order to get a solid base, I would recommend doing the configuration first, then install the DI container (PHP-DI) and finally install Twig.

DanielOpitz
Автор

Oh no. I was so eagerly waiting for a few videos on design pattern stuff. I guess it's not gonna happen for at least a couple of months. Do you have a plan on that in particular or maybe somewhere in future? Design pattern before the project would be nice. Thank you so much for covering so much in the series. Better than any top tier paid courses hands down.

codingzen
Автор

Thank you for your all the lessons, it is very clear and understand

nalindisanayaka
Автор

I think this was the first lesson that ended with an error. First time for everything! I do like splitting larger tasks into smaller ones. Its easier to follow along.

benderbg
Автор

From 8:15 onwards, the setup went a bit over my head, but after watching it again, it made much more sense. I guess for me, it's not always obvious what needs to be changed and where to get the change information from, which is why I probably didn't pick up Slim the first time I looked at it.

NoahNobody
Автор

you are my hero! greetings from rio de janeiro!

marcoscoelhodev
Автор

As good as always looking forward for next part

matadk
Автор

Great one ! thanks a lot for the knowledge sharing 😍
p.s: I had to made some adaptation especially with Twig extension which is now abandoned.
With my "fixes", it now works like a charm.

davidef.
Автор

thank you Gio, when choosing php framework Slim is my goto, because not bloated and minimalist

naranyala_dev
Автор

Thanks for this Gio! I hope you will create a video tutorial of Mezzio!

Автор

5-7 years ago I tried to test Slime. He didn't approach me. Similarly Laravel through console support. But I changed my mind about the second one. But before a man learns the basics, more versions will come out that change many things. And learning again. Back then I was at the level of plain php3 and was looking for something lightweight for simple pages. "Mare" Laravel did not enter into it. And when I wanted to know the lightweight version of Laravel - Zero(?), they probably stopped developing it. Over the years I haven't found (maybe due to lack of time) some other set - router, controllers, auth, eloquent, views, etc. like in Laravel. As I can see after this episode, Slime is very broken. If you want full MVC support, install n packages, and then another one to increase the next possibilities. I hope that somehow I will put together my dream set for light hobby projects, without the need for Laravel.

JACKoPL
Автор

Caffine Programming ok well I well I had to get a couple of cupa to keep upa. Loved it

andromedaice
Автор

hey Gio, can you cover propper way of logging? Specifically how to log an exception that is caught by throwable interface. Catching throwables are some times nesessarry (as far as I can tell) if you want to return a valid json output when you get an internal server error. Maybe setup a logging server inside docker?

Saturate
Автор

beautiful tuts! maybe you can make a tutorial with illuminate/routing from laravel..so not the whole Laravel but modules..so if you do a laravel course, we already familiar... and the illuminate/container for the Dependeny injection containers

devanii
Автор

Thank you so much for this.
I'm excited to use a framework 🙂.

Sadly, after installing I got a HttpNotFoundException with the message "not found".
I'm using Apache on xampp

My mod_rewrite is enabled
I added the .htacess files to the public directory and in the directory above the public directory (in my case, this is the root directory) as directed in the documentation.

For each .htaccess file I pasted the snippet of directives I got from the documentation.

I also tried using the setBasePath() function to "/twig/public/index.php"

But I still keep getting the exception.
🙏...please can you help me with this

CodingJourney
Автор

thanks you Gio this a strong tutorial but i have a questation i want to use laravel framework so i should stop watching till slim framework or i should continue what is
your suggest

eslamelsayed
Автор

Hi gio, Wouldn't it be great if you could make a video about opencart?

subjectfrank
Автор

Блин, хорошо ведь начинали... ) А потом Остапа понесло))

itismadebymonkey
Автор

What you think about codeigniter framework??? It's also light weight framework.

devhenry