# Skeleton wanted

**URL:** <https://discourse.slimframework.com/t/skeleton-wanted/3393>\
**Category:** Questions\
**Created:** [August 27, 2019, 2:09am UTC](https://discourse.slimframework.com/t/skeleton-wanted/3393 "2019-08-27T02:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![heaika](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heaika](https://discourse.slimframework.com/u/heaika)\
**Post date:** [August 27, 2019, 2:09am UTC](https://discourse.slimframework.com/t/skeleton-wanted/3393/1 "2019-08-27T02:09:06Z")

</div>

Hello guys  
Some years ago I made my first web app, based on a homemade framework using pimple. I probably had a naive way of doing things, and things are growing out of my hands and my codebase is not possible to refactor.

The time has come to do a remake of this using Slim4, and I like learning as I go.

I am interested in seeing a skeleton to build upon myself, with folder structure that even beginners could use. I do not understand the need for “domain” and “actions” folders as of now.  
In my previous attempt, I would have folders for controllers, models and views and build with that. If you have a good article I could read to understand all of this, I would greatly appreciate it. But hopefully I dont need a 1 year study in patterns 😅

If you guys think something like this below could work, my humble wish is that someone could help me set up a skeleton using:  
slim/psr7  
PHP-DI  
PHP-View (Not twig, please)  
Monolog (or a good alternative?)

If it makes a difference, I will be using postgres this time, not Mysql.  
And to be honest, I am not sure if I should make it a REST API and outsource the front end or what.

---

<div class="post-metadata">

**Author:** ![heaika](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heaika](https://discourse.slimframework.com/u/heaika)\
**Post date:** [August 28, 2019, 7:03pm UTC](https://discourse.slimframework.com/t/skeleton-wanted/3393/3 "2019-08-28T19:03:50Z")

</div>

Not much action here, understandably.

I did try to start myself now. But not sure how to implement the container and DI yet.

Any pointers for structure/idea?

> **[heaika/valymatrix](https://github.com/heaika/valymatrix)**
>
> In-house dev of software for VALY. Contribute to heaika/valymatrix development by creating an account on GitHub.
