How to create the app blocks for our php based shopify app

Hello

currently, I am using php for creating the app .i put my snippet code and used the scriptTag Api for calling by JS

But after the app blocks and app embed blocks concept, I don’t know how to deploy my code. Please help me with my doubt.

Thank you