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

This video is part of a course.

You'll need to buy the course to view this content!

Buy a license

laravel-medialibrary

In this video I'll show you that you can structure your package any way you want.

This video was recorded in v1 of this course, most of the things show still apply.

Links

  • spatie/laravel-medialibrary
  • Medialibrary Pro
  • Handling media in a Laravel application
laravel-collection-macros
Up next laravel-responsecache
  • 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