Skip to content

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

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

Add quickstarts for slim php framework with mongodb, mysql and postgresql#784
swastikiscoding wants to merge 4 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
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
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
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
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.
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.
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.
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.
…tgreSQL examples

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

kiloconnect bot commented Feb 18, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Overview

This PR adds PHP Slim framework quickstart documentation with three database variants (MySQL, PostgreSQL, MongoDB), along with the necessary UI components to support PHP in the quickstart filter.

Changes reviewed:

  • Added PHP icon and language option to QuickStartFilter.js
  • Added 6 PHP quickstart entries to QuickStartList.js (Docker and Local variants for each database)
  • Created 3 new documentation files for PHP Slim with MySQL, PostgreSQL, and MongoDB
  • Updated sidebar configuration to include the new PHP category

The code follows existing patterns in the codebase and the documentation is well-structured.

Files Reviewed (6 files)
  • src/components/QuickStartFilter.js - PHP icon import and language option added
  • src/components/QuickStartList.js - 6 PHP quickstart entries added
  • versioned_docs/version-4.0.0/quickstart/php-slim-mysql.md - New documentation
  • versioned_docs/version-4.0.0/quickstart/php-slim-postgres.md - New documentation
  • versioned_docs/version-4.0.0/quickstart/php-slim-mongodb.md - New documentation
  • versioned_sidebars/version-4.0.0-sidebars.json - PHP category added

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

Comments