---
title: "Discussion on \"A Practical Guide to the Law of Demeter with PHP Examples\" | Hashnode"
description: "Discussion on \"A Practical Guide to the Law of Demeter with PHP Examples\". The Law of Demeter (LoD) is a software development principle that's like a secret weapon for writing cleaner and more maintainable code. It's all about limiting how much one part of your code knows about another. As someone who has coded in PHP for y..."
url: "https://hashnode.com/posts/a-practical-guide-to-the-law-of-demeter-with-php-examples/654b2d2460ff544493ca5da9"
---

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

Discussion

# [A Practical Guide to the Law of Demeter with PHP Examples](https://akhil.se/a-practical-guide-to-the-law-of-demeter-with-php-examples?utm_source=hashnode&utm_medium=feed)

The Law of Demeter (LoD) is a software development principle that's like a secret weapon for writing cleaner and more maintainable code. It's all about limiting how much one part of your code knows about another. As someone who has coded in PHP for y...

Nov 8, 2023 · 3 min read · akhil.se  
Read the article

-   [#betterdeveloper](https://hashnode.com/tag/betterdeveloper)
-   [#decoupling](https://hashnode.com/tag/decoupling)
-   [#php](https://hashnode.com/tag/php)
-   [#principles](https://hashnode.com/tag/principles)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Akhil Kadangode](https://hashnode.com/@akhil-se)

@akhil-se

  
[View profile](https://hashnode.com/@akhil-se)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
