Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Shipping Without a Framework: Standalone Components

A one-off import script doesn’t need Laravel. A cron job that pings three APIs and writes a report doesn’t need Symfony. Sometimes the fastest way to ship is one composer require for the library built for this job, and forty lines around it.

A workshop where a large machine sits under a dust sheet. A small elephant takes one wrench off a pegboard of hand tools and hands it to a person at a small workbench where a single part waits

Every package in this chapter stands on its own: no framework underneath, nothing to configure beyond the one thing it does. Several of them are also the engines inside the frameworks covered later in this book. Once you have used them alone, the “Under the hood” boxes of later chapters read like old news.