- Summary
- Using the Spatie PHP package skeleton allows developers to start agnostic packages effortlessly. This initial step involves adding a first class, testing against Pest and PHPUnit, fixing code style issues locally within Laravel using GitHub Actions, and supporting multiple PHP versions. Developers can also maintain a comprehensive changelog by registering the package on Packagist and publishing new releases on GitHub actions. The team supports various environments including MySQL tests, artisan commands, testbench scenarios, and routes, controllers, and views across different Laravel instances. Throughout this process, developers work diligently on creating a full application context where the package sits. This includes using Composer for dependencies, verifying functionality manually via PHPUnit or Orchestra, running automated checks in GitHub Actions, and ensuring strict adherence to coding standards before merging updates.
This comprehensive process involves developing a real-life Laravel package inside a full application environment with support for different PHP and Laravel versions simultaneously. The developer must also meticulously manage the lifecycle of community contributions, including contributing tests on test benches and updating the changelog automatically as features emerge. Finally, this rigorous workflow leads to the registration of the package on Packagist while ensuring that any future release is published via GitHub actions without compromising code quality or security standards established during development. - Title
- Learn to create Laravel packages - Laravel Package Training
- Description
- The Laravel Package training video course is the best way to learn how to create PHP and Laravel packages. A premium video course by Spatie.
- Categories
- Upstreams
- spatie.be
- NS Lookup
- A 103.133.1.1
- Dates
-
Created 2024-12-01Updated 2026-11-24Summarized 2026-11-28
Query time: 330 ms