Add quickstarts for slim php framework with mongodb, mysql and postgresql#784
Add quickstarts for slim php framework with mongodb, mysql and postgresql#784swastikiscoding wants to merge 3 commits intokeploy:mainfrom
Conversation
Signed-off-by: Swastik <swastikiscoding@gmail.com>
… examples Signed-off-by: Swastik <swastikiscoding@gmail.com>
There was a problem hiding this comment.
Pull request overview
Adds Slim (PHP) quickstart documentation and surfaces it in the docs navigation and quickstart wizard so users can run Keploy with common databases using either Docker Compose or local setup.
Changes:
- Added three new Slim PHP quickstart guides for MySQL, PostgreSQL, and MongoDB (Docker + Local flows).
- Updated the v4.0.0 sidebar to include a new “PHP” quickstart category and pages.
- Extended the Quickstart wizard/list to include PHP as a language and the new PHP quickstart entries.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| versioned_sidebars/version-4.0.0-sidebars.json | Adds a PHP category under QuickStarts and links to the new PHP quickstart docs. |
| versioned_docs/version-4.0.0/quickstart/php-slim-mysql.md | New Slim + MySQL quickstart (Docker Compose + Local/WSL). |
| versioned_docs/version-4.0.0/quickstart/php-slim-postgres.md | New Slim + PostgreSQL quickstart (Docker Compose + Local/WSL). |
| versioned_docs/version-4.0.0/quickstart/php-slim-mongodb.md | New Slim + MongoDB quickstart (Docker Compose + Local/WSL). |
| src/components/QuickStartList.js | Registers the new PHP quickstart entries for the wizard/listing. |
| src/components/QuickStartFilter.js | Adds PHP as a selectable language option (icon + filter). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| title: PHP Sample Application | ||
| sidebar_label: PHP - Slim + MySQL | ||
| description: The following sample app showcases how to use PHP Slim framework and the Keploy Platform. |
There was a problem hiding this comment.
The frontmatter/title/description here don’t mention MySQL even though this page is specifically the Slim + MySQL quickstart (and the sidebar/link are MySQL-specific). Consider updating the title/description (and optionally the id) to include MySQL to avoid this reading like a generic PHP sample and to keep URLs/SEO unambiguous if more PHP quickstarts are added later.
| title: PHP Sample Application | |
| sidebar_label: PHP - Slim + MySQL | |
| description: The following sample app showcases how to use PHP Slim framework and the Keploy Platform. | |
| title: PHP Slim + MySQL Sample Application | |
| sidebar_label: PHP - Slim + MySQL | |
| description: The following sample app showcases how to use the PHP Slim framework with MySQL and the Keploy Platform. |
| # Start MySQL database | ||
| docker compose up mysql -d |
There was a problem hiding this comment.
For consistency with other quickstarts in this repo, consider using the more common Compose flag ordering (docker compose up -d <service>). The current form (docker compose up <service> -d) may be unfamiliar to readers and is inconsistent with the rest of the docs; please update this and the other occurrence later in the page as well.
| # Start PostgreSQL database | ||
| docker compose up postgres -d |
There was a problem hiding this comment.
For consistency with other quickstarts in this repo, consider using the more common Compose flag ordering (docker compose up -d <service>). The current form (docker compose up <service> -d) is inconsistent with the rest of the docs; please update this and the other occurrence later in the page as well.
| # Start MongoDB database | ||
| docker compose up mongodb -d |
There was a problem hiding this comment.
For consistency with other quickstarts in this repo, consider using the more common Compose flag ordering (docker compose up -d <service>). The current form (docker compose up <service> -d) is inconsistent with the rest of the docs; please update this and the other occurrence later in the page as well.
| Now, let's breathe life into your MySQL container. A simple spell should do the trick: | ||
|
|
||
| ```bash | ||
| docker compose up mysql -d |
There was a problem hiding this comment.
Same as earlier in the page: to match the rest of the docs, prefer docker compose up -d <service> instead of placing -d after the service name.
| Now, let's breathe life into your PostgreSQL container. A simple spell should do the trick: | ||
|
|
||
| ```bash | ||
| docker compose up postgres -d |
There was a problem hiding this comment.
Same as earlier in the page: to match the rest of the docs, prefer docker compose up -d <service> instead of placing -d after the service name.
| Now, let's breathe life into your MongoDB container. A simple spell should do the trick: | ||
|
|
||
| ```bash | ||
| docker compose up mongodb -d |
There was a problem hiding this comment.
Same as earlier in the page: to match the rest of the docs, prefer docker compose up -d <service> instead of placing -d after the service name.
What has changed?
This PR adds new quickstart guides for slim php framework with mongodb, mysql and postgresql databses.
It has both local and docker setups enabling developers to easily integrate keploy for API testing.
This PR Resolves keploy/keploy#3521
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
2026-02-08.12-04-29.mp4
Checklist: