Learn to Build Quality Laravel Packages

3 hour webinar by Freek Van der Herten

  • Wednesday 20 Jan

    10:00–13:00 CET

    30 Max Capacity

About this Webinar

Packages are a good way of sharing code between projects and with the community. Getting started with creating them can be daunting. In this practical workshop you'll learn how to build a quality Laravel package. Together, we’ll build both a framework agnostic and a Laravel specific package.

What You Will Learn

  • Why create a package in the first place?
  • Building framework agnostic PHP packages
          • Reviewing all files needed (changelog, readme, ...)
          • Adding a first class
          • Testing the package
          • Automatically fix code style issues locally
          • Using GitHub Actions to automate tasks
          • Exploring semver
          • The anatomy of a good readme
          • Publishing the package on GitHub / Packagist
  • Building a Laravel package
          • Using the skeleton to kickstart package development
          • Exploring the service provider
          • Adding a config file
          • Using models and migration
          • How to test package that use the database, both locally and on GitHub Actions
          • Using Orchestra Testbench to test routes, controllers and views
          • How to develop a package inside a full Laravel app
There's a lot you can learn from reading code of existing packages. In this last part we are going to source dive a couple of popular packages.

Requirements

There are no hardware requirements. Basic PHP and Laravel knowledge are assumed.

About Freek Van der Herten

Freek Van der Herten is a developer and partner at Spatie. The company has an open source first mentality and has released many Laravel, PHP and JavaScript packages. Spatie also has created several premium packages and video courses. After hours Freek runs the Oh Dear and organises the official Laravel Worldwide meetup
Speaker

3 hour webinar by Freek Van der Herten

Learn to Build Quality Laravel Packages

  • Wednesday 20 Jan

    10:00–13:00 CET

    30 Max Capacity

Excl. 21% VAT