When your Laravel developer leaves, secure access before anyone touches the code. Take ownership of the repository, hosting, domain and third-party accounts, and rotate every key they held. Then find where the code and deployments live, back up the database, write down what only they knew, and have the code assessed before anyone changes it.

What should you secure first?

Access. Make sure every account the application depends on belongs to the business, then change the credentials the developer knew. Do it politely and in writing, even if the parting was friendly. A good developer will expect it.

  1. The code repository. Confirm it sits in an organisation account your business controls, with you as an owner. If it lives in the developer's personal account, ask them to transfer it.
  2. Hosting and servers. Cloud accounts, server logins, SSH keys and control panels. Add your own administrator, then remove theirs.
  3. Domain and DNS. Check who the registrar lists as the owner, and which email address receives renewal notices. A domain registered to a former contractor's email is a quiet risk.
  4. Third-party services. Email delivery, payments, file storage, error tracking and any API the application calls. Each one needs an owner on your side.
  5. Application secrets. Rotate the values in the .env file: database passwords, API keys and mail credentials. Change one at a time, and check the application still works after each.
  6. Logins inside the app. Disable their admin account, and update any shared mailboxes or password manager entries they used.

Take care with the application key, APP_KEY. Laravel uses it to encrypt data, so changing it without a plan can sign every user out and leave encrypted values unreadable. Recent Laravel versions let you keep the old key as a previous key while you rotate.

Where do the code and deployments live?

Find the true copy of the code and the route it takes to production. In an application one person ran on their own, these can be less obvious than they should be.

  • Server against repository. Compare the code on the production server with the main branch. Changes made directly on the server and never committed are worth finding now.
  • How a deploy happens. It might be a pipeline, a deployment service, a script on the developer's laptop or files uploaded by hand. If it was the laptop, you need a new way to deploy.
  • Scheduled tasks and queues. Cron entries, queue workers and the process manager that keeps them running can be set up on the server alone, with no trace in the repository.
  • Environments. List production, staging and anything else, and note which settings differ between them.

Write each finding down as you go. The next steps depend on it.

How do you protect the data?

Take a full database backup now, store it somewhere the former developer cannot reach, and prove that it restores. A backup nobody has restored is an assumption.

Restore it into a separate database and check that the tables and the most recent records are there. Then do the same for uploaded files, which usually live in storage or a bucket outside the database.

Finally, check whether automatic backups exist, where they are kept, and whose inbox receives the alert when one fails. If it is still the developer who left, move it to someone on your side.

What should you write down?

Everything that lived only in the developer's head. Start a single document now and add to it as you find things.

  • What the application does, who uses it, and which parts matter most to the business
  • Every account it depends on, and who now owns it, with the passwords kept in a password manager rather than the document
  • How to deploy, and how to roll back a bad deploy
  • Scheduled jobs and queues, and what breaks if they stop
  • Integrations, and the support contact for each provider
  • Known bugs, workarounds, and anything promised to customers that is not built yet

If the developer is still reachable and the parting was good, a paid handover call is well worth it. Ask them to walk through a deploy while someone takes notes.

Why assess the code before changing it?

The first change in an unfamiliar codebase carries the most risk. An assessment tells you what is safe to touch, what is fragile and what to fix first, before a new developer starts building on guesses.

Start with our free Laravel health checklist. Work down it against your production setup. A check you cannot tick is a lead worth following.

For an independent review, a Laravel Health Check covers the code, security and performance of the application for a fixed $750–$1,500. It also generates a documentation site, so how the application works no longer depends on one person's memory.

It is a review, so nothing in your code changes. You can take the findings to whoever works on the application next, including your own developers.

Who looks after the application from now on?

Decide once the application is secure and understood. The right answer depends on how much it still needs to change.

  • It is live and changes slowly. A care plan covers monitoring, updates and small changes for $300, $600 or $1,200 a month. The tiers differ by hours and response time. For an application we have not seen, we suggest a Health Check first, so we know what we are looking after.
  • There is a roadmap of new work. Hire a replacement, or bring in a senior engineer for a set period to keep the work moving while you recruit.
  • You need round-the-clock cover from day one. Care plans have defined hours and response times, so they are the wrong fit, and we will say so.

Every price is on our pricing page.

Frequently asked questions

Do I need to replace the developer straight away?

Not always. If the application is stable, securing it and putting it on a care plan gives you time to hire well.

What if the developer will not hand over the repository?

Check your contract first, since it should say who owns the code. If the code runs on a server you control, copy it from there into a new repository in your own account. Take legal advice if ownership is disputed.

Can I rotate APP_KEY safely?

Yes, with a plan. Check which Laravel version you run, keep the old key as a previous key if your version supports it, and expect users to sign in again if it does not.

Will a Health Check change my code?

No. It is a review. Fixing what it finds is separate work, scoped and priced on its own.

If your developer has left and you would like a calm, independent view of what you now own, talk to an engineer about a Health Check. Tell us what the application does and what worries you, and we will say honestly whether a Health Check is the right step.