Page 1 of 1

Using Laravel in PM

Posted: Wed May 15, 2019 6:30 am
by antonioDS
Processmaker uses Laravel, is it possible to create a Laravel project inside a plugin and use vendor from PM?

Re: Using Laravel in PM

Posted: Wed May 15, 2019 10:06 pm
by amosbatto
I know that you can instantiate the ProcessMaker classes which use Laravel in your plugin, and define new classes. I'm not sure whether you can create a new Laravel project. Try it and see what happens.

Re: Using Laravel in PM

Posted: Thu May 16, 2019 11:14 am
by antonioDS
I already tried to install a new Laravel inside the plugin folder, but then it creates conflict in the classes. If I do a symlink to the vendor of PM I found that the routes are wrong. Any solution?

Re: Using Laravel in PM

Posted: Thu May 16, 2019 8:36 pm
by amosbatto
I have no clue how to start a new Laravel projects in PM.
What are you trying to do that requires a new Laravel project? Why can't you use ProcessMaker's existing project?