Slim courses

Course
Slim
Who Paid 99¢ Clone with Slim

Learn Slim, payment processing with Stripe and more, as you follow this fun, lighthearted clone of “Who Paid 99¢”.

19 episodes
1 hr 54 mins
Course
Slim
Build a self-destructing message app

This fun app sends messages by email that self destruct on opening. It's a great way to practice working with Slim, with techniques like rendering views, using controllers, sending email, working with a command bus and more.

14 episodes
1 hr 19 mins
Course
Slim
Structuring a Slim 4 Project

The flexibility of Slim means you can structure your code however you like. This course covers building up a common structure that works for almost all projects.

10 episodes
46 mins
Course
Alpine.js
Slim
Instantsearch with TNTSearch and Alpine.js

Add instantsearch functionality to any data with the power of TNTSearch, and the simplicity of Alpine.js.

9 episodes
53 mins
Course
Slim
Full Text Search with TNTSearch in Slim 4

Build a fast, powerful search into your project with Eloquent and TNTSearch. This course covers setting up a database, creating a search index, searching, and displaying the most relevant results.

9 episodes
47 mins
Course
Slim
Slim 4 Events and Listeners

As your app starts to grow, events and listeners come to the rescue. They keep your controllers clean, your files organised and make testing much easier. In this course, we'll implement the Symfony EventDispatcher component into Slim 4, then refactor our solution so you spend less time registering events and listeners, and more time writing code.

5 episodes
35 mins
Course
Slim
Slim Authorization

Create clean, reusable authorization rules in your Slim app and use them anywhere you need to authorize a user action. Inspired by Laravel, implemented in Slim.

8 episodes
49 mins
Snippet
Slim
Using Whoops with Slim 4

Whoops gives you a much nicer way to display errors while you're building. In this snippet, we'll get Whoops installed with Slim 4.

1 episode
8 mins
Course
Slim
Customising The Slim 4 Request Object

Every Slim route sends a Request object to your controller. In this course, we're going to learn how to change the default route invocation strategy and decorate the request object, perhaps to add helpful methods that keep our controllers clean.

6 episodes
22 mins
Course
Slim
Custom Slim 404 Pages

With Slim 4, handling custom 404 pages is different. In this course, we'll first cover general error handling, and then we'll render a view for pages that can't be found.

6 episodes
17 mins
Course
Slim
Slim 4 Authentication

Everything you'd need from an authentication system, built completely from scratch with Slim 4. Covers templating, signing up, signing in (with remember me functionality), seamless validation, custom validation rules, beautiful CSRF protection, and more.

40 episodes
4 hrs 19 mins
Course
Slim
Validation in Slim 4

Bake Laravel style validation right into your Slim project and easily validate all your forms with a few lines of code and no controller mess.

7 episodes
30 mins
Course
Slim
Super Clean CSRF Protection with Slim 4

Using the official Slim CSRF package and a little tweaking, we're going to create an effortless way to help protect your site from CSRF (Cross-Site Request Forgery) attacks.

4 episodes
15 mins
Course
Slim
Setting up Doctrine in Slim 4

Doctrine is a powerful ORM (Object Relational Mapper) and works perfectly for Slim projects. In this course, we'll run through the setup in Slim 4.

6 episodes
22 mins
Course
Slim
League Container with Slim 4

Slim comes with no container by default, and using League Container gives you the power of service providers, autowiring and more.

7 episodes
55 mins
Course
Slim
Views with Slim 4

Routes quickly get messy without views. Let's set up Slim 4 with the Twig view component.

4 episodes
24 mins