Handing off a Laravel app on a VPS so the client no longer needs you
In 2024 I took E-Course Unusia, an online course platform for aspiring developers, from codebase to live production on my own. The Laravel app had no production home yet: no server, no production configuration, and nobody on the client side set up to run it.
I did three things:
- Set up the VPS the Laravel app runs on.
- Wrote the production environment configuration.
- Handed it over so the client could keep running the platform after launch.
The platform ran in production after the handoff. It is no longer publicly accessible.
Why the handoff is the real deliverable
I heard a line in a podcast about branding and leadership that stuck with me: the work is going well when people need you less and less. For a deployment, that gives you a test. If the client has to call you for every restart, the project is not finished.
The checklist I would use today
This is a sketch of what I would put on a handoff page, not a copy of what I wrote in 2024.
- Environment. Where the
.envfile lives, which values the client owns, and where a backup copy is stored. - Deploy. The exact commands to ship an update and to roll back one.
- Processes. How to restart the web server, PHP, and the queue, and how to tell each one is healthy.
- Logs. Where they are and which error means "call me".
- Access. Who holds the domain, DNS, and server credentials. This should be the client.
- Recovery. How to restore the database from a backup, tested once before launch.
Most of these take minutes to write down. Skipping them is what turns a finished project into a standing phone call.
When you hand a system to someone else, what do you check before you call it done?