Directus as an alternative to a PHP CMS
Directus connects to a database and provides REST and GraphQL APIs.
Which PHP version does your site report?
We read only what your site already sends in public: the headers and the top of the homepage. No scan, no login.
More about this
A web app lets you manage content and files.
Directus connects an editing application and API to a database. A migration therefore starts with deciding which data model to maintain. A collection of office locations needs different fields and relationships from an unconstrained landing page.
Editors can use layouts such as tables or cards to work with those items. These administration layouts do not determine the design of the public website. Separate the model used by the editorial team from the frontend displaying its data.
Where existing business records are involved, decide which information an anonymous visitor may request and which details must remain internal.
Directus alongside your current workflow
| Feature | Directus | Compare with your current site | Primary source |
|---|---|---|---|
| Plans and terms | Directus distinguishes cloud and self-hosted plans. The current pricing page also describes a grant for qualifying individuals and small organizations. | Check the terms applying to your organization and selected version. Do not carry forward an old assumption of unrestricted free use. Separate licensing, infrastructure and maintenance when estimating the migration. | Directus: current plans and grant Accessed |
| Your infrastructure | Self-hosting runs Directus on infrastructure you control. Its documentation discusses responsibilities for the database, caching and backups; cloud hosting is also available. | Assign an owner to each stored component. Restore an entire location page using the database and media storage. For cloud hosting, verify which tasks are included before agreeing the maintenance arrangement. | Directus: self-hosting overview Accessed |
| Collections and layouts | Layouts control how editors view and interact with collection items. Table and card layouts offer different ways to present fields in the administration interface. | Select recognizable columns and titles with the editorial team. Ask someone to find a location among similar names. Establish whether the chosen administration layout remains usable when there are more records than your initial sample. | Directus: content layouts Accessed |
| Website preview | Live Preview uses a configured preview URL and requires the website to permit embedding inside Directus. Your frontend must display the requested item. | Test the preview with a new record and recent changes according to the chosen workflow. Check appropriate security headers and draft access so editors can preview without making internal material public. | Directus: live preview Accessed |
| API and data model | Directus generates REST endpoints and a GraphQL schema from the connected database and configured permissions. | Document the public fields for a collection. Compare the actual API response against that list without signing in. Repeat this check when an internal field or new relationship is added later. | Directus: API reference Accessed |
Where is PHP still needed?
An API does not automatically make your website PHP-free. For a website without PHP, your chosen front end must also work without PHP; the CMS remains a separate service.
Check your migration
Create a trial collection containing two office locations and a relationship to their services. Include an internal review field that must never be public. Ask an editor to change a location name and photograph, then inspect the frontend.
Request the same data through the selected API without editorial permissions and establish whether the internal field is absent. For another trial, configure a preview address and check that it displays current information. A frontend generated in advance needs a deliberate preview implementation.
Record who can restore the database, media files and configuration for each environment you plan to operate.
Also list the forms, search features and integrations your current site uses. Check how each feature works in the new setup.
Official documentation
- Directus: current plans and grant (accessed 2026-11-17)
- Directus: self-hosting overview (accessed 2026-11-17)
- Directus: content layouts (accessed 2026-11-17)
- Directus: live preview (accessed 2026-11-17)
- Directus: API reference (accessed 2026-11-17)
Frequently asked questions
Can I simply connect my current database to Directus?
Inspect its structure, relationships and intended access first. Use an isolated trial with representative records and check the generated API. An existing CMS database can contain information that is not public website content.
Define which tables and fields belong in the new model before considering a connection involving real records, rather than assuming everything should become part of the content interface.
Does the table layout become my new website?
The table is an interface for editors managing items. Visitors need a separate presentation that consumes permitted data. Demonstrate the same office location in Directus and on the trial website.
Follow the link from a listing to its detail page so everyone understands which work belongs to editorial configuration and which part must be delivered by the frontend developer.
Why might a preview show outdated content?
Directus documentation notes that a static generator can otherwise display only the content available at the last build. Implement the preview route so it retrieves the requested data at the right moment. Check the item address and embedded view after a correction.
Specify the required draft state explicitly so you do not evaluate the public version while the writer expects a pending change.