Articles › composer
TAG ARCHIVE

Everything on composer.

6 articles tagged composer, sorted newest first.

laravel

Extract a Package from Your Laravel App: The Complete Guide

Every team has an app/Support folder that's been copy-pasted into four projects. Here's how to extract it into a real Composer package without breaking the app it came from.

19 min read →
tooling

Renovate for Laravel: Automated Composer and npm Updates That Do Not Drown You in PRs

Renovate's default config opens a PR per package and buries the repository within a day. The value is entirely in packageRules — here is the Laravel configuration that turns forty PRs a week into one.

15 min read →
composer

Find the Composer Packages Your Laravel App Doesn't Actually Use

Every long-lived Laravel app carries packages nobody uses and packages nobody declared. Here is how to find both, survive the false-positive wall, and gate the check in CI.

10 min read →
pint

Share One Laravel Pint Config Across Every Project

Every repo ends up with a slightly different pint.json, and formatting drifts until code review is nothing but style nits. Here is how I ship one canonical Pint config as a Composer package and point every project at it.

9 min read →
github-actions

Cache Composer and NPM in GitHub Actions to Speed Up Laravel CI

Cache Composer's download directory and the npm cache in GitHub Actions, keyed on your lockfiles, so composer install and the asset build finish in seconds.

7 min read →
php

How to audit PHP dependencies (practical guide)

How to audit PHP Composer dependencies for security, license and maintenance issues, with tools and a small script you can run today.

5 min read →