Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

Join us at AWS re:Invent 2024! Learn how to use MongoDB for AI use cases.
MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

PHP

plus Follow
Sign in to follow topics
A general-purpose scripting language that is especially suited to web development.

Featured

News & Announcements

Laravel Herd Adds Native MongoDB Support

Laravel Herd has added native MongoDB support, making it easier for PHP developers to integrate MongoDB with their Laravel applications....
MongoDB thumbnail image
PHPMongoDB

Oct 07, 2024 | 0 min read
Code Example

Introducing the Tour Planner With MongoDB Vector Search

Discover the Tour Planner: AI-powered travel planning using PHP, Laravel, MongoDB Vector Search & OpenAI. Personalized itineraries made easy!...
MongoDB thumbnail image

Sep 24, 2024 | 5 min read
News & Announcements

Laravel MongoDB 5.0: Major Release With Exciting New Features!


Sep 13, 2024 | 1 min read
All PHP Content
search
  • Latest
  • Highest Rated
News & Announcements

Laravel Herd Adds Native MongoDB Support

Laravel Herd has added native MongoDB support, making it easier for PHP developers to integrate MongoDB with their Laravel applications.
MongoDB thumbnail image

Oct 07, 2024
Tutorial

How To Build a Laravel + MongoDB Back End Service

Learn how to use MongoDB with Laravel Eloquent and the native MongoDB Query API and Aggregation Pipeline to access the new MongoDB features.
MongoDB thumbnail image

Oct 01, 2024
Hubert Nguyen
Code Example
FULL APPLICATION

Introducing the Tour Planner With MongoDB Vector Search

Discover the Tour Planner: AI-powered travel planning using PHP, Laravel, MongoDB Vector Search & OpenAI. Personalized itineraries made easy!
MongoDB thumbnail image

Sep 24, 2024
Pavel Duchovny
News & Announcements

Laravel MongoDB 5.0: Major Release With Exciting New Features!

The PHP team is happy to announce that version 5.0 of the Laravel MongoDB integration is now available! Get all the details.
MongoDB thumbnail image

Sep 13, 2024
Quickstart

Creating, Reading, Updating, and Deleting MongoDB Documents With PHP

Welcome to Part 2 of this guide for MongoDB and PHP. Let's cover connecting to a database instance, creating/inserting a document with PHP, and more!
MongoDB thumbnail image

Sep 11, 2024
Michael Lynn
Quickstart

Complex Aggregation Pipelines with Vanilla PHP and MongoDB

Learn how to leverage MongoDB's powerful aggregation framework with PHP to process and analyze large datasets efficiently. This comprehensive guide covers advanced techniques for user engagement analysis, content preference tracking, and real-time data processing using MongoDB's aggregation pipelines and change streams.
MongoDB thumbnail image

Sep 05, 2024
Viraj Thakrar
Quickstart

Getting Set Up to Run PHP With MongoDB

Learn how to use MongoDB and PHP! The first article of this series addresses the installation and configuration of your development environment.
MongoDB thumbnail image

Aug 29, 2024
Michael Lynn
Podcast

Exploring the PHP Driver With Jeremy Mikola - Podcast Episode

Jeremy Mikola is a Senior Software Engineer at MongoDB. Jesse and Michael talk with Jeremy about the PHP driver and the history of PHP and MongoDB.
Play Button

Aug 28, 2024
Tutorial

Symfony and MongoDB Workshop: Building a Rental Listing Application

Step up your web development game! Our interactive workshop unveils how to blend Symfony with MongoDB, crafting a top-notch rental listing application.
MongoDB thumbnail image

Aug 28, 2024
Pavel Duchovny
News & Announcements

Laravel MongoDB 4.2 Released, With Laravel 11 Support

The PHP team is happy to announce that version 4.2 of the Laravel MongoDB integration is now available!
MongoDB thumbnail image

Aug 28, 2024