---
title: "Discussion on \"Laravel: Modularizing Little Pieces of Logic Through Local Composer Packages\" | Hashnode"
description: "Discussion on \"Laravel: Modularizing Little Pieces of Logic Through Local Composer Packages\". “Premature optimisation is the root of all evil”.\nBut sometimes you know upfront that you can create a clean module, separate from the rest of the Laravel app. And I like Kelly Sutton’s mantra – optimize for deletability.\nWhy?\n\n“By working with code,..."
url: "https://hashnode.com/posts/laravel-modularizing-little-pieces-of-logic-through-local-composer-packages/6731284e361248d9515063fe"
---

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

Discussion

# [Laravel: Modularizing Little Pieces of Logic Through Local Composer Packages](https://gemmablack.dev/laravel-modularizing-little-pieces-of-logic-through-local-composer-packages?utm_source=hashnode&utm_medium=feed)

“Premature optimisation is the root of all evil”. But sometimes you know upfront that you can create a clean module, separate from the rest of the Laravel app. And I like Kelly Sutton’s mantra – optimize for deletability. Why? “By working with code,...

Nov 10, 2024 · 2 min read · gemmablack.dev  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#composer](https://hashnode.com/tag/composer)
-   [#modularity](https://hashnode.com/tag/modularity)

## Written by

[Gemma Black](https://hashnode.com/@GemmaBlack)

@GemmaBlack · London, UK

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

I'm a Senior Software Engineer. With 10+ years working within tech teams, and 20+ years working with code, I develop across the stack, assisting with application design, maintenance, deployment and DevOps within the AWS Cloud.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
