Rating 4.1 out of 5 (5 ratings in Udemy)
What you'll learn- How to setup Slim 4 & slowly make it a fully fledged Php framework similar to Laravel
- Slim 4, with Laravel Blade Templates
- Define Global Functions Via Composer Autoloading
- Slim 4 Controllers
- Slim 4 Service Providers Similar To Laravels
- Slim 4 Http Kernel & Console Kernel
- Whoops Page, within Slim 4
- .env file and variables within Slim 4
- Integrate With Laravel's Eloquent ORM into Slim 4 to allow for simplified Database …
Rating 4.1 out of 5 (5 ratings in Udemy)
What you'll learn- How to setup Slim 4 & slowly make it a fully fledged Php framework similar to Laravel
- Slim 4, with Laravel Blade Templates
- Define Global Functions Via Composer Autoloading
- Slim 4 Controllers
- Slim 4 Service Providers Similar To Laravels
- Slim 4 Http Kernel & Console Kernel
- Whoops Page, within Slim 4
- .env file and variables within Slim 4
- Integrate With Laravel's Eloquent ORM into Slim 4 to allow for simplified Database Interactions
- Integrate Cake Php's Phinx Package Into Slim 4 allowing us to create migrations & seeders
- Create Factories With Faker -- From Scratch
- Creating a Slim 4 Console Kernel
- Integrating Symfony Console Commands -- Allowing Easy Creation of Custom Console Commands
- How to integrate Vue JS
- How to integrate Tailwind CSS
- Register, Logout & Login Authorization Logic
- Redirect Middleware (Based on whether the user is Authorized Or A Guest)
- Code Refactoring & Clean Up
- CSRF Verification
- Request Validation Setup (Using Laravel's Illuminate Validation Component)
- Symfony Sessions
- Using Symfony Sessions To Properly "Flash" Error Messages To Front End
- Setting Up Validation Rules To Check Validity Against Persisted Database Data
- "Old" Form Input Repopulation On Form Validation Failure
- Refactoring controllers & creating a Simple Form Request Class
- Sending Emails In Slim 4 (Custom Mailable Class Using Swift)
- Configure Mailtrap io to catch locally sent eMails
- Flashing success on submission success
DescriptionSlim 4 is a micro framework. Unbiased, incredibly abiding to PSR(Php Standard Recommendations), and ultimately able to easily integrate many, many components and packages -- including those from other major frameworks and component libraries.
During this series, using Laravel's architecture as inspiration, we will slowly take Slim's unbiased code and build it out to a more full featured framework.
What features are we adding into slim?
- Service Providers
- Http Kernel
- Console Kernel
- Config Directory
- .env (Environment Variables &Files)
- Global, auto loaded, helper functions
- CSRFProtection
- Tailwind CSS
- Vue JS
-Laravel Collections
- Laravel Validators
- Laravel Str Helper
- Laravel Blade Templates
- Cake Php's Phinx
->Phinx migrations
->Phinx seeds
- Custom Factories(Using Faker)
- etc...
Through the Laravelification of Slim 4, we will also set up authorization and eventually the ability for a user to reset their account password via email. We'll locally be able to send emails, flash failed form error messages to the front end, pass success form messages to the front end, setup the ability to re-populate "old"form data AKAfailed form data so our users don't have to re-type everything in if the validation for the form fails.
What all will we be integrating?Check out the entire list
Packages & Resources Glossary
Slim 4
Slim Csrf
Laravel Validators
Laravel Homestead
Jenssegers Blade
Zeuxisoo Slim Whoops
Php Dot Env
CakePhp Seeders & Migrations
Fzaninotto Faker For Factories
Illuminate Database
Illuminate Support
Php Dependency Injection Container
Php Dependency Injection Container Slim Bridge
Laravel Mix Webpack Wrapper
Swift Mailer for Emails
Mailtrap for local email testing
Illuminate Mail For Markdown Parser
Symfony Console Component For Console Commands
Symfony Session Component For Sessions
Eloquent For Database ORM
Vuejs For Front-end Reactivity
Tailwind For CSS & SCSS
Vue Material Design Icons
Guzzle Http Wrapper