Here's some alternative approach (that I personally use).
Use Yii2 framework (advanced template). It's much easier than it sounds. It's Convention over Configuration, comes with CRUD generator, User Permissions (RBAC), extensions, migrations, console application, ready made admin panel (install mdm admin for yii2), db query/page/schema caching and whatnot. It's fully extensible too (it's an MVC based framework). It can be deployed using docker (recommended) or through manual LAMP/LEMP setup depending on your taste (you will need composer).
Try watching some tutorials on yii2 (very important.. not Yii or Yii3, but Yii2; they are different architectures) if you are interested. This is the quickest and most secure way I know of for building a panel.