- Summary
- This guide introduces how to use the Spatie PHP skeleton, which serves as an agnostic foundation for Laravel projects. It offers comprehensive testing options using Pest and PHPUnit to validate logic across various scenarios. Locally running these tests ensures that code style issues are fixed before deployment. The framework automatically generates documentation and support for multiple PHP versions, adhering strictly to semantic versioning standards. A detailed changelog keeps users informed of recent updates, while the package can be registered on Packagist or published directly to GitHub repositories. This process supports numerous Laravel and other PHP variants by allowing custom controllers and routes within the application structure. By utilizing GitHub Actions for continuous integration, developers can monitor test results and maintain a clean production environment without manual intervention.
Testing with Composer
This section covers how to use PHPUnit and Orchestra Testbench to execute artisan commands and verify route logic. You will also learn how to integrate MySQL directly into unit tests within the PHP packages themselves. The guide ensures that every piece of code follows Laravel conventions while supporting diverse Laravel environments and versions seamlessly.
Continuous Integration and Deployment
Automating testing via GitHub Actions helps catch regressions early during deployment cycles. This workflow allows you to run full test suites on both local development machines and production servers without requiring separate CI/CD pipelines. The ability to publish new releases from GitHub or install the package locally provides flexibility for smaller teams and individual developers while ensuring quality across all platforms. - 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-12-02Summarized 2026-12-04
Query time: 94 ms