Can We create triggers and classes by php into salesforce. Can anyone please provide the appropriate guideline for this.Any code base guidance would really helpful?

  • Do you want to build a IDE using PHP? There is a good browser based ide available at aside.io. – Prady Sep 16 '15 at 22:50

If I understand your question correctly, you are asking if there is a way to 'port' PHP into Apex (write PHP to achieve results on the force.com platform without having to learn/write Apex).

As per the documentation, triggers and classes are written in Apex and compiled by the Apex Compiler. So the answer to your question is 'no'.

There are however some toolkits where you can use languages like Python and PHP amongst others to do some SOQL queries. Documentation here.

Hope this helps.


  • I know the way this can be achieved by curl and some rest tooling api but didnt know much how to excecute it. – asdwinner Sep 17 '15 at 8:14
  • @Prady No not IDE but can able to upload package to salesforce org by php. – asdwinner Sep 17 '15 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.