D
D
DaneSoul2017-05-24 12:13:03
PHP
DaneSoul, 2017-05-24 12:13:03

Sample (CMS, framework, library) of correct PHP7 architecture to learn and practice?

I study design patterns and development features with PHP7.
I am looking for a good quality example of a framework / CMS / library for learning and practicing skills on real literate code. Readiness for use on "combat" projects is not fundamental, it is fundamental to understand and work out universal approaches.
Wishes:
1) Modern OOP PHP7 without the heavy legacy of outdated approaches.
2) Correct architecture, application of design patterns, modern approaches.
3) Not too monstrous, but not quite primitive either.
4) Good documentation and examples of use.
5) Availability of demo data for experiments.
What do you advise?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Novikov, 2017-05-24
@DaneSoul

I would suggest https://github.com/symfony/symfony
The commits show that the supported PHP version is 7.1 .
If it’s too difficult to follow the Guide and figure out what works and how, you can consider each component in isolation ( https://github.com/symfony/symfony/tree/master/src... It ’s easy to keep one component in your head, understand its purpose and functionality too.And see the patterns, respectively.If
you want to play with the data and UI, then cmf.symfony.com
.Suggested by xzdshrLaravel is also a good option, but I would not recommend Yii2. I myself worked with it for 3 years, I love this framework, but it is not so suitable for studying (or even imposing) the correct architecture. Some things are cut off, some are combined for convenience - and it's better not to get used to this as the right thing, but to come to this when you already understand what happened and why they did it.

A
ALIAKSANDR ZHALIAZOUSKI, 2018-04-21
@nouomen

ZF2. Uses basic patterns as a base. MVC, DI, Event model, server architecture, factories, adapters, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question