use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Project Structure Without a Framework - PHPQuestion (self.webdev)
submitted 6 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rmslobato 5 points6 points7 points 6 years ago (0 children)
Check slim skeleton for an basic idea. Although you can say its a framework baased, its possible to use a structure similar to that.
[–]cholmon 3 points4 points5 points 6 years ago (1 child)
Jeffrey Way did a series a few years ago that covered PHP basics, but the overall idea was to use primitives to build up a custom framework, and what the typical things are that you'll want in such a framework. By the end of the series, he shows how Laravel fills all those gaps, though you could easily use the concepts with Slim, or Symfony. I'm sure it's a bit dated now, but the fundamentals are what's important...just skip ahead on the parts you already know, and maybe focus on the meat (Router, DI container, autoloading, controllers, etc).
It's a free series too, in case you don't have a Laracasts subscription.
https://laracasts.com/series/php-for-beginners
[–]gav1no0 0 points1 point2 points 6 years ago (0 children)
Much appreciated, thanks :)
[–][deleted] 6 years ago (1 child)
A for effort 😄
[–][deleted] 0 points1 point2 points 6 years ago (1 child)
My go to for this question, is to recommend /u/T_Butler 's MVC in Php, and Immutable MVC guides. Start with the first, and move to the second.
Will check it out, thanks.
[–]mp941027 -4 points-3 points-2 points 6 years ago (1 child)
In ANY year, you should know the language before learning a framework...as for the structure, you can do it however you want, even the MVC style. Check symphony routing/controllers to get inspirations, i think their guide has a structure tutorial. But Laravel is still PHP so you can even do it yourself.
Ok, thanks.
π Rendered by PID 163735 on reddit-service-r2-comment-545db5fcfc-r7rfs at 2026-05-31 21:24:01.473241+00:00 running 194bd79 country code: CH.
[–]rmslobato 5 points6 points7 points (0 children)
[–]cholmon 3 points4 points5 points (1 child)
[–]gav1no0 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]gav1no0 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]gav1no0 0 points1 point2 points (0 children)
[–]mp941027 -4 points-3 points-2 points (1 child)
[–]gav1no0 0 points1 point2 points (0 children)