Summary

We already have discussed problems and missing parts in our current code and security threats, and we have discussed how we will implement authentication. We also discussed that we will use reusable components or code to save our time and effort. Also, because the code will be written by ourselves, we will be responsible for its maintenance and testing, so using open source stuff which is not only available but in many cases is tested, as well as maintained by the community, makes more sense. For that purpose, we will be mostly using Composer as it has become a standard tool for packaging and using reusable packages in PHP.

In the next chapter, you will learn more about Composer. What it is, how it works, and how we can use it for different purposes.

We have talked about security threats in this chapter, but we have not covered them in lots of detail because we only had one chapter to discuss them. But, web application and RESTful Web service security is a wide topic. There is a lot more to learn about it. I would recommend you to go and check https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project as a starting point. There is a lot of stuff you will learn from there and you will learn from a different perspective.