How to structure Slim/PHP-DI Project?

This page summarizes the projects mentioned and recommended in the original post on /r/PHPhelp

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. Slim

    Slim Framework 4 Skeleton Application

    You can have the container call in a config folder with a file called dependencies or how ever you want. A few existing examples of this is here - Slim calls this app/dependencies in this skeleton project and Odan's Skeleton has this as config/container in their project.

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. slim4-skeleton

    A Slim 4 Skeleton

    You can have the container call in a config folder with a file called dependencies or how ever you want. A few existing examples of this is here - Slim calls this app/dependencies in this skeleton project and Odan's Skeleton has this as config/container in their project.

  4. skeleton

    Standard PHP package skeleton. (by php-pds)

    Structuring the rest of the project, I would follow https://github.com/php-pds/skeleton

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Is a framework necessary to create a PHP project?

    4 projects | /r/PHPhelp | 4 Dec 2022
  • How to build a blog using PHP, Slim, Twig Templating Engine and Laravel Illuminate Database

    1 project | /r/PHPhelp | 6 Sep 2021
  • Am I writing the right kinds of (unit) tests? See below for an example. Thanks!

    7 projects | /r/PHPhelp | 23 Nov 2022
  • I'm new to PHP OOP and looking for feedback on my proposed OOP design structure before I dive in a start coding it. Thanks!

    5 projects | /r/PHPhelp | 26 May 2022
  • Always have trouble finding the right path throughout my scripts

    1 project | /r/PHPhelp | 2 Jun 2021