---
title: "Discussion on \"Using ORM in PHP without a framework.\" | Hashnode"
description: "Discussion on \"Using ORM in PHP without a framework.\". What is an ORM?\nAn ORM is an abstraction of the information of the database. For example, let's say we have a list of cities and we want to list it.\nIt is the PHP PDO version:\n$stmt = $pdo->prepare(\"SELECT * FROM cities\");\n$stmt->execute();\n$result =..."
url: "https://hashnode.com/posts/using-orm-in-php-without-a-framework/640d05809895d67a1dfa4ab8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using ORM in PHP without a framework.](https://southprojects.com/using-orm-in-php-without-a-framework?utm_source=hashnode&utm_medium=feed)

What is an ORM? An ORM is an abstraction of the information of the database. For example, let's say we have a list of cities and we want to list it. It is the PHP PDO version: $stmt = $pdo->prepare("SELECT \* FROM cities"); $stmt->execute(); $result =...

Mar 11, 2023 · 9 min read · southprojects.com  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#pdo](https://hashnode.com/tag/pdo)

## Written by

[Jorge Castro](https://hashnode.com/@JorgeCastro)

@JorgeCastro

  
[View profile](https://hashnode.com/@JorgeCastro)

Entrepreneur, Senior developer, Instructor

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
