SPATIE

Services
Our philosophy Packages Postcards Guidelines Documentation
Products Blog About
Login Work with us

This is content from a paid course.

Buy course
  • Introduction
  • 1. Creating a PHP package

  • Overview
  • Starting a PHP Package Using The Skeleton
  • Using PHPUnit for tests
  • Running Tests On GitHub Actions
  • Enforcing a Code Style
  • Releasing a Package
  • Creating a New Release
  • Handling Feedback With Issues And Discussions
  • Updating The Changelog Automatically
  • Adding Functionality To The Package
  • 2. Creating a Laravel Package

  • Starting a Laravel package Using The Skeleton
  • Exploring The Service Provider
  • Using MySQL when running tests
  • Installing an Unreleased Package in a Full Laravel App
  • Adding a Config File
  • Adding Migrations and Models
  • Using Routes, Controllers and Views
  • Let's Build a Package Together
  • Updating An Old Package To Use PackageServiceProvider
  • 3. Source diving Spatie packages

  • laravel-tail
  • laravel-collection-macros
  • laravel-medialibrary
  • laravel-responsecache
  • laravel-multitenancy
  • laravel-short-schedule part 1: Using the package
  • laravel-short-schedule part 2: How the package works under the hood
  • laravel-short-schedule part 3: Testing the package

Overview

In this video you'll see a short overview of the entire course.

Links

  • How Spatie started creating packages
  • Spatie's open source packages
  • Package Skeleton for framework agnostic PHP Packages
  • Package Skeleton for Laravel
Up next Starting a PHP Package Using The Skeleton
  • Services
  • Open source
  • Products
  • Courses
AboutBlogNewsletterDocsGuidelines

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • X
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Click to call us

A good
match?

What we do best

  • All things Laravel
  • Custom frontend components
  • Building APIs
  • AI-powered features
  • Simplifying things
  • Clean solutions
  • Integrating services

Not our cup of tea

  • WordPress themes
  • Cutting corners
  • Free mockups to win a job
  • "Just execute the briefing"

In short: we'd like to be a substantial part of your project.

Get in touch via email