In order to construct a secure resource that can be accessed through an API, we must utilize an authorization header with a token or bearer. In this article, I will guide you how to obtain the authorization header, extract the token or bearer. Then authenticate it against a database table and return a JSON output in PHP.
If you are running PHP FPM 7.x version(s) and thinking it's time to upgrade, this article will guide you how to upgrade PHP FPM.
As a developer you may sometime need to test an app on different PHP version. Today I am going to show you how to switch PHP versions in Arch and Manjaro OS.