Skip to content

Commissioning a new web application without becoming dependent again

Last time, everything sat with the agency: the code, the hosting, the domain and all the knowledge. When the collaboration ended, you had to ask for access or almost start from scratch. Now a new project is coming up, and this time it should go differently. The easiest time to secure your independence is before the first line of code is written.

By Dimitri König5 min read

Dependence on an agency rarely comes from bad intent. It happens because it’s more convenient at the start: the agency quickly registers the domain itself, opens the hosting under its own account, puts the repository in its own organization and the credentials in its own vault. As long as the collaboration runs, nobody notices. Only when you switch does it become clear what your company actually owns and what exists only in one person’s head.

Signs that you are heading into dependence again

  • The quote doesn’t mention code, hosting and domain, or only as “included.”
  • You get to see demos, but no access to the repository.
  • The application is to be built on the agency’s in-house framework or CMS.
  • Credentials arrive by email, or not at all.
  • The documentation is planned for “after go-live.”

Checklist: 11 points for the contract and project of a new web application

What belongs to your company

  1. Code in your own repository. From day one, the repository lives in a GitHub or GitLab organization owned by your company, and the agency works in it. That way nobody can hold back the code. The owner role with full administrative access is held by people from your company; GitHub recommends at least two. Outside contributors get access to the repositories they need.
  2. Domain in your company’s name. Your company is the domain holder, and the account with the registrar uses a company email address, not a personal one. That way the domain stays in your hands if you switch providers.
  3. Hosting and third-party services in your company’s name. Hosting, email delivery, payment provider, map and API keys, monitoring: the contract and the invoice are in your company’s name, and the agency gets access. That way the services keep running if you change agencies.
  4. Access in your own password vault. The vault belongs to your company, and the agency gets access to a shared section. That way you don’t have to ask for access when you switch. No passwords by email, and none in the code. Laravel, for example, explicitly advises against committing the .env file with the credentials to version control.
  5. Licenses in your company’s name. Paid extensions, themes, fonts and services are registered to your company; otherwise the updates end when the collaboration does.

What the technology needs to bring

  1. A standard framework instead of a custom one. Laravel, Symfony or TYPO3 instead of an in-house framework. Widely used frameworks have public documentation, published support periods and many specialists who know them. Laravel gives each version 18 months of bug fixes and two years of security updates from its release, and the Symfony LTS version 7.4 gets bug fixes until November 2028 and security updates until November 2029.
  2. Dependencies via Composer. All packages are listed in composer.json, and composer.lock is in the repository, as the Composer documentation recommends. That way everyone works with the same versions, including a future successor.
  3. Automated tests for the critical workflows. Login, checkout, import or whatever else matters for your business runs automatically with every change. Without tests, nobody dares to touch the code later.
  4. Reproducible deployment. A documented, automated path from the repository to the server, with its own configuration per environment. Nobody copies files by hand, and a successor can deploy too.
  5. Backups with a tested restore. Backups are stored off the server, and restoring them has been rehearsed at least once, because only a rehearsal shows whether they work.

What knowledge is handed over

  1. Documentation as part of acceptance. A README, an operations manual covering deployment, backups, cron jobs and the emergency procedure, an overview of the integrations and a decision log, all in the repository, so the knowledge doesn’t live only in one person’s head. Without documentation, the project isn’t accepted. Which documents are needed is shown in the table in taking over a PHP application without documentation.

What the development contract should cover

The wording of the development contract belongs in legal hands, so you deliberately won’t find a ready-made exit clause here. Give these points to your lawyer as a brief:

  • Rights to the code: May your company use and modify the code and have third parties develop it further, including building blocks the vendor uses in several projects?
  • Handover: When and in what form do you get code, database, documentation and access, including while the project is still running?
  • Cooperation during a switch: For how long and on what terms will the current vendor help with a handover?
  • Separate termination: Can development, maintenance and hosting be terminated individually, and with what notice periods?
  • Third-party components: Which open-source and purchased components are included, and under which licenses?
  • Acceptance criteria: The contract makes the documentation a condition for acceptance.

The rules against lock-in apply to Unique-P too

With a new development by Unique-P, nobody should depend on a single person again, not even on me. I work alone, so this applies to every project I build: code and documentation live in your company’s GitHub organization from day one. If your company doesn’t have one yet, it’s set up when the project starts, with you as owner. Access is kept in a shared password vault you can get into at any time, and the hosting account, domain and licenses belong to your company. That way, another specialist can take over at any time. How a new development project works is shown on the web application development page.

The cross-check with the takeover checklist

Whether the precautions against lock-in work only shows when someone has to take over the application. That’s why the checklist for taking over a web application is the cross-check: every item you can already tick off when the project starts is one less dependency. If your current project is already stuck, taking over an unfinished project helps. If the new application replaces a legacy system, the data belongs in the plan too: migrating data from the legacy system.

Before accepting a new web application, a second check pays off, independent of the supplier: the Go-Live Check with security audit from Unique-P verifies that code and infrastructure are ready for real customers and real data.

Sources

  1. [1]Roles in an organization · GitHub Docs
  2. [2]Laravel Release Notes, Support Policy · Laravel
  3. [3]Symfony Releases · Symfony
  4. [4]Basic usage: Commit your composer.lock file to version control · Composer
  5. [5]Configuration: Environment File Security · Laravel

Frequently asked questions.

Does a project without lock-in cost more?

A project without lock-in costs hardly any more if you require it from the start. Setting up the repository, accounts and vault in your company’s name takes little effort before kickoff. Tests and documentation take time, and you get it back with every later change, and at the latest the first time you switch providers.

Isn’t it enough if we get the source code at the end of the project?

Getting the source code only at the end of the project isn’t enough. A ZIP archive at the end shows neither the version history nor how the application is set up and deployed. If the repository is with you from the start, you see every change, and there is never a moment when someone can hold back the code.

Do we need to be technical ourselves to keep this under control?

You don’t need to be technical to check for lock-in. You only check that accounts and contracts are in your company’s name and that you can sign in everywhere yourself. Complete documentation is something you make a condition for acceptance.

Takeover checklist

Is there a sample exit clause?

A sample exit clause for the development contract belongs in legal hands, not in a guide, because the contract wording has to fit your project. The contract should cover rights to the code, handover, cooperation during a switch, separate termination, third-party components and acceptance criteria.

Does this also apply if Unique-P builds the application?

Yes, the same rules against lock-in apply when Unique-P builds the application. Nobody should depend on a single person again, not even on me. Code and documentation live in your company’s GitHub organization from day one, access is kept in a password vault you can get into at any time, and the hosting account, domain and licenses belong to your company.

Have a web application developed