Mastering PHP Design Patterns
上QQ阅读APP看书,第一时间看更新

Summary

In this chapter, we revised some PHP principles, including OOP principles. We also revised some PHP syntax basics. We have seen how you can use Composer for dependency management in PHP. In addition to this, we also discussed PSR standards and how you can implement them in your own code to make your code more readable by others, and also comply with some other important standards (be they autoloading or HTTP messaging). Finally, we introduced design patterns and the Gang of Four with the history behind design patterns.