Topic

Laravel

The PHP framework for web artisans.

The latest

Trending Things Over Time With Laravel

Building a trending list of content with Laravel is actually pretty easy. In this snippet, we’ll take a look at how to create a list of trending articles over time, gradually decaying less viewed articles and pushing popular articles to the top. You’ll also be able to adjust the decay levels, and update the frequency of decay to tweak how sensitive your trending content is and how ‘realtime’ it appears.

1 episode
7 mins
Logging Unique Views in Laravel with Redis

If you need to log unique views in Laravel, you might reach for a database table to track IP addresses or another unique piece of data. Let's take a look at speeding things up both in performance and complexity by using Redis and the HyperLogLog probabilistic data structure. Once we're done, we'll set up a period command to sync views back to the database for easy ordering, and then create a trait to share functionality between other models.

4 episodes
22 mins
Build a Booking System With Laravel

Building an availability calendar and booking system is a notoriously difficult problem to solve. That’s exactly what we’re going to cover in this course. Step by step, we’ll build an appointment slot generator that calculates availability based on employee schedules, employee’s booked time off, the length of service chosen, existing appointments, and cancelled appointments. For maximum flexibility, we’ll also allow multi-employee availability checks, so we’ll be able to see every employee who can perform a service (and their available slots). To finish up, we’ll build a simple UI with Alpine.js, with a beautiful booking calendar that shows detailed availability across multiple dates, the ability to choose a time slot — and finally the ability to book an appointment. Phew. We’ve got a lot to learn — let’s build a booking system with Laravel!

37 episodes
4 hrs 49 mins
reCAPTCHA with Laravel

Adding Google reCAPTCHA to a Laravel form isn’t too much trouble, but what happens when we want to re-use it for other forms? This course focuses on setting up reCAPTCHA using Alpine.js to fetch the token, and then middleware to verify the token based on a threshold in our config. We’ll add a Blade directive too, so we’re able to easily use reCAPTCHA for any forms in our Laravel apps — just by adding a couple of lines of code.

8 episodes
49 mins

Trending

Build a Forum with Inertia and Laravel

Ready to build a forum with Inertia and Laravel? Why a forum? A forum touches a whole load of concepts that you'll use throughout your development career – particularly on the client-side, where we'll be doing most of the heavy lifting. So, let's build a clean, modern forum with features like markdown support, code highlighting, advanced filtering, user mentions, full-text search, the ability to mark best answers, and more.

62 episodes
6 hrs 54 mins
Build a File Marketplace with Laravel

Build a marketplace where sellers can list and sell files, while we take a cut of each sale using Stripe Connect. We'll cover onboarding users with Stripe Connect, creating products and uploading files, payments, and delivering purchased files to your customers. Here's everything we'll cover: - The Stripe Connect onboarding flow - Effortlessly creating products (and uploading files) with Livewire forms - Subdomains for your user's marketplace - Stripe Checkout for a beautiful, secure payment flow - Securely delivering files with Signed URLs in Laravel - Showing sales stats on a dashboard

34 episodes
3 hrs 32 mins
Learn Inertia

Single-page applications are great, but they come with the challenge of maintaining two separate projects — the client and the API. Inertia serves as the solution, seamlessly connecting these two components and enabling you to build everything in one application (a monolith) while achieving the same outcome. The best part? You won't have to create an API. To be honest, when I first started working with Inertia, I was a little confused about how everything worked. If that sounds familiar, then this course is made for you. I'll guide you through everything you need to know to kickstart your journey in building single-page applications using Laravel, Inertia, and Vue.

28 episodes
2 hrs 20 mins
Build a Booking System With Laravel

Building an availability calendar and booking system is a notoriously difficult problem to solve. That’s exactly what we’re going to cover in this course. Step by step, we’ll build an appointment slot generator that calculates availability based on employee schedules, employee’s booked time off, the length of service chosen, existing appointments, and cancelled appointments. For maximum flexibility, we’ll also allow multi-employee availability checks, so we’ll be able to see every employee who can perform a service (and their available slots). To finish up, we’ll build a simple UI with Alpine.js, with a beautiful booking calendar that shows detailed availability across multiple dates, the ability to choose a time slot — and finally the ability to book an appointment. Phew. We’ve got a lot to learn — let’s build a booking system with Laravel!

37 episodes
4 hrs 49 mins
Installing Inertia from Scratch

The Laravel ecosystem gives us packages like Laravel Breeze and Jetstream which come ready set up with Inertia installed. But what if you want to install Inertia from scratch and build your own features on top of it? In this course, whether you're new to Inertia or not, we'll be covering getting Inertia set up on a completely fresh Laravel application. We'll walk through some nice additions like server side rendering, styling with Tailwind and installing Ziggy for named routes. To finish off the course, we'll build a simple app where we can post comments to a timeline, to bring everything nicely together!

14 episodes
1 hr 7 mins
Build a Referral System with Laravel

Let's build a feature complete Laravel referral system, completely from scratch. We’ll cover generating referral codes, setting a cookie to track the referral process, hooking up referrals to subscriptions and displaying detailed referral stats in a dashboard, so your users can see how they're doing. On the admin side, we'll set up a job to automatically generate a CSV with all the amounts you need to pay out each month, automatically mark referrals as paid, and display historical referral payments for users.

24 episodes
2 hrs 39 mins

Learn Laravel

Laravel Basics

Just starting out with Laravel? We've got you. This course takes you through the most used parts of the framework to get you up and running in no time.

22 episodes
2 hrs 28 mins
Laravel authentication

You've covered the basics, now it's time to cover authentication. Although Laravel offers Jetstream (a first-party package with authentication scaffolding) building up authentication manually is great practice.

10 episodes
56 mins
Laravel Basics: Create a Post app

If you've got the Laravel basics covered, it's time to put what you've learned into practice. In this course, we'll build a simple app, Posty, that allows users to post on a public timeline.

17 episodes
1 hr 15 mins
Laravel Homestead

Laravel Homestead is a pre-packaged Vagrant box that installs everything you need to build Laravel projects. Once you're set up, you'll use a separate virtual machine environment to create and build projects, which is much easier than installing everything on your local machine.

6 episodes
30 mins
Eloquent Relationships By Example

Eloquent is Laravel's ORM (Object Relational Mapper). In simple terms, it's how your models work with the database. The good news? There's a bunch of powerful relationship types available. Our task is to learn when and where to use each one. In this course, we'll cover each basic relationship type, how to access related models, and then insert, sync, update and delete related data. Oh, and we'll build a practical example for each relationship type, to really make it stick.

33 episodes
4 hrs 18 mins
Laravel Events and Listeners

Tidying up controllers and giving us small, single responsibility classes with events and listeners in Laravel.

3 episodes
28 mins
Laravel Queues

Everything you need to know to get started queueing jobs in Laravel, along with some practical examples.

6 episodes
1 hr 7 mins
Laravel Route Model Binding

Tidy up your code drastically by binding models to routes and automatically fetching a model by it's primary key when you access a URI like /users/1.

1 episode
3 mins
Magically invoking Laravel controller methods

Some controllers have one action. What should you name that action? Turns out you don't even have to.

1 episode
2 mins
API Development with Laravel

Build a rock-solid RESTful Forum API with clean and flexible responses, pagination and best practices.

19 episodes
2 hrs 35 mins
Laravel API resources

Building an API? Let Laravel API resources take care of your JSON responses.

9 episodes
36 mins
Laravel Tasklist (Beginner)

Create a tasklist and learn Laravel along the way.

7 episodes
47 mins
Laravel Tasklist (Intermediate)

Create a tasklist in Laravel and learn authentication, controllers, form validation, repositories, policies and more.

11 episodes
49 mins

Big projects

Build a Twitter Clone

Let's recreate Twitter with Laravel! Completely from scratch, we'll use Laravel and Vue to build out a Twitter Clone with as many features as we can. Includes a timeline, notifications, media uploads, hashtags, mentions, granular search and much more. To top it off, everything is updated in true realtime.

88 episodes
10 hrs 57 mins
Build a code snippet website

Let's build a code snippets website with Nuxt, Laravel and Tailwind. This project allows users to create 'snippets' with steps that act as a place to store useful bits of information.

70 episodes
7 hrs 26 mins
Build an E-Commerce Platform

Build a robust e-commerce platform with a Laravel and Livewire. Features products with unlimited and flexible variations, a product browser with filters and price range slider, global product search, guest checkout, shipping and payment implementation, order status tracking and more.

78 episodes
8 hrs 42 mins
Laravel SaaS Boilerplate

Everything you need to get your app up and running. Email activation, two-factor authentication, subscription billing, team billing, API token authentication, admin user impersonation and more.

41 episodes
6 hrs 6 mins
Build a File Marketplace with Laravel

Build a marketplace where sellers can list and sell files, while we take a cut of each sale using Stripe Connect. We'll cover onboarding users with Stripe Connect, creating products and uploading files, payments, and delivering purchased files to your customers. Here's everything we'll cover: - The Stripe Connect onboarding flow - Effortlessly creating products (and uploading files) with Livewire forms - Subdomains for your user's marketplace - Stripe Checkout for a beautiful, secure payment flow - Securely delivering files with Signed URLs in Laravel - Showing sales stats on a dashboard

34 episodes
3 hrs 32 mins
Build a classified ads site

A site that allows users to browse, create and pay for advertisements. Think Craigslist. We'll cover Eloquent techniques, nested sets for flexibility, payment processing and more.

44 episodes
7 hrs 8 mins
Laravel YouTube Clone

Building a YouTube clone with Laravel, including uploads, video encoding, searching and an awesome video player.

59 episodes
8 hrs 12 mins
Want to stay in the loop about new content?
Of course you do.

© 2024 Codecourse Ltd. All Rights Reserved. Born in the UK.