fusio
fusio copied to clipboard
Location of action php files
Hi, I want to create an action which launches a PHP script. But where do I place this file? I tried it in the src directory but that did not work. Thanks!
Hi, so the src/
folder is the correct location for PHP source files. There you can create actions i.e.
https://github.com/apioo/fusio/blob/master/src/Todo/Insert.php
which can then also include other PHP scripts.
Hi, so the
src/
folder is the correct location for PHP source files. There you can create actions i.e. https://github.com/apioo/fusio/blob/master/src/Todo/Insert.php which can then also include other PHP scripts.
Provided URL not working anymore :( I still cannot fugure out where to store the PHP files. Can you please update the URL or just add to the comment the correct path to store PHP files. Thanks in advance.
Hi, so we have removed the example Todo files from the main repo but you can also take a look at our documentation s. https://docs.fusio-project.org/docs/use_cases/develop_custom_action or you can also take a look at https://github.com/apioo/fusio-sample-cms for a live example.