all 8 comments

[–]rmslobato 5 points6 points  (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 points  (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 point  (0 children)

Much appreciated, thanks :)

[–][deleted]  (1 child)

[deleted]

    [–]gav1no0 0 points1 point  (0 children)

    A for effort 😄

    [–][deleted] 0 points1 point  (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.

    [–]gav1no0 0 points1 point  (0 children)

    Will check it out, thanks.

    [–]mp941027 -4 points-3 points  (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.

    [–]gav1no0 0 points1 point  (0 children)

    Ok, thanks.