Reviewing Pull Requests for Laravel Packages
When you review a pull request for a Laravel package, check that the change works for users on every PHP and Laravel version the package supports. A package…
Read articlePage 10 of 14.
When you review a pull request for a Laravel package, check that the change works for users on every PHP and Laravel version the package supports. A package…
Read articleWhen you add an endpoint to a Laravel application, you decide whether its request-handling code goes in the route declaration or a controller. A route closure puts that…
Read articleIn Laravel, a route can identify a database record by a readable value in the URL, such as a slug, instead of the record’s numeric ID. A slug…
Read articleWhen a client sends a request to a Laravel controller, the request holds the submitted values. Laravel’s validator checks those values against rules you set. After it checks…
Read articleWhen PHP code uses Laravel’s HTTP client to send data to an API, the API server needs to know how the request body is formatted. JSON stores data…
Read articleWhen code on a Laravel server calls an external API, the server sends an HTTP request. The request’s headers are named values that tell the receiving server what…
Read articleLaravel package maintainers need tests that check how their code behaves inside Laravel, across the PHP and Laravel versions the package supports. Continuous integration (CI) runs those checks…
Read articleIT and technical documentation describes the systems people build and operate, along with the instructions they use to configure, secure, troubleshoot, and recover them. Useful documentation helps a…
Read articleIn Laravel, a collection is an object with methods for working with a group of values, often records stored in an array. A key is the name or…
Read articleLaravel package maintainers need to make two kinds of files available to an application. Laravel renders views on the server. Browsers request static files such as CSS, JavaScript,…
Read articleWhen a developer adds a PHP package to a Laravel project, Composer chooses and installs that package and the packages it depends on. Laravel uses the package’s service…
Read articleSoftware documentation helps readers learn a product and complete tasks, while also giving them technical details and explaining the reasoning behind a design. When a page does not…
Read article