Adding a Compatibility Table to Your Package README
If you maintain a PHP package, a compatibility table helps users compare release lines with the PHP and framework versions they use. Composer uses the requirements in requirements…
Read articleIf you maintain a PHP package, a compatibility table helps users compare release lines with the PHP and framework versions they use. Composer uses the requirements in requirements…
Read articleA Laravel mailable gets its email body and attachments from separate parts of its configuration. An HTML or plain-text view supplies the body. A regular attachment is a…
Read articleWhen you maintain a Laravel package, a new feature can affect more than the PHP method that implements it. Users rely on package configuration and service-provider behavior. They…
Read articleWhen a Laravel package includes files that users might want to customize, publish tags let them copy selected files into their application. A publish tag is a name…
Read articleWhen you add configuration to a Laravel package, make sure the package works before an application owner copies any files. Keep the package’s default settings available at runtime.…
Read articleWhen you maintain a PHP package, composer.json and the README tell different audiences about compatibility. Composer uses the version constraints in composer.json to decide which package versions it…
Read articleWhen you maintain software, comments and docstrings sit beside the code they describe. A docstring is a description attached to a function, class, or module; a comment explains…
Read articleLaravel package maintainers sometimes need to fix a defect for users who cannot upgrade to the newest package line. A backport is a fix adapted for an older…
Read articleLaravel package maintainers use a service provider, a class Laravel runs during application startup, to register package services and set up features such as routes and views. Spatie’s…
Read articleA Laravel blog has two connected interfaces: a public site where readers browse published posts, and an admin panel where authorized users manage content. Laravel handles the core…
Read articleWhen you maintain a Laravel package, an upgrade checklist helps you verify that a new release supports the Laravel and PHP versions you claim to support, preserves the…
Read articleWhen you maintain a PHP package that integrates with Laravel, users need to know which PHP and Laravel versions work together with your package. A support matrix lays…
Read article