Skip to content

Add quickstarts for slim php framework with mongodb, mysql and postgresql#784

Open
swastikiscoding wants to merge 3 commits intokeploy:mainfrom
swastikiscoding:main
Open

Add quickstarts for slim php framework with mongodb, mysql and postgresql#784
swastikiscoding wants to merge 3 commits intokeploy:mainfrom
swastikiscoding:main

Conversation

@swastikiscoding
Copy link

@swastikiscoding swastikiscoding commented Feb 8, 2026

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.

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Documentation update (if none of the other choices apply).

How Has This Been Tested?

image
2026-02-08.12-04-29.mp4

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.

Copilot AI review requested due to automatic review settings February 8, 2026 06:25
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and congratulations 🎉 for opening your very first pull request in keploy

Signed-off-by: Swastik <swastikiscoding@gmail.com>
… examples

Signed-off-by: Swastik <swastikiscoding@gmail.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines 3 to 5
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.
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
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.

Copilot uses AI. Check for mistakes.
Comment on lines 51 to 52
# Start MySQL database
docker compose up mysql -d
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Comment on lines 51 to 52
# Start PostgreSQL database
docker compose up postgres -d
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Comment on lines 51 to 52
# Start MongoDB database
docker compose up mongodb -d
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Now, let's breathe life into your MySQL container. A simple spell should do the trick:

```bash
docker compose up mysql -d
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Now, let's breathe life into your PostgreSQL container. A simple spell should do the trick:

```bash
docker compose up postgres -d
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Now, let's breathe life into your MongoDB container. A simple spell should do the trick:

```bash
docker compose up mongodb -d
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add New Quickstarts for More Languages (Rust, Ruby, C++, Perl, PHP)

1 participant