Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
PHP documentation #582
Where do I find the PHP documentation, examples, best practices? It seems there is a lack of PHP documentation for this project. I don't mean the PHP API to classes or functions rather than code examples, how to achieve something.
For example here: https://docs.craftcms.com/commerce/v2/making-payments.html
This is the documentation for the frontend, but where do I find the corresponding documentation doing the same using PHP?
Right, I was not sure you were using it for Craft.
As a rule of thumb, if you want to interact with Commerce, you should be using the Service classes provided by Commerce, so the class reference is actually a good place to go to.
For more specific tips on how to accomplish certain things, Craft Slack or Stack Exchange would probably be your best bet: https://craftcms.com/community