Answer the question
In order to leave comments, you need to log in
How to correctly connect a third-party PHP file (library) to Laravel (using UMI.CMS as an example)?
Perhaps my question is not quite correct, but tell me at least the right direction :).
A separate application is being developed on Laravel, but some of the data is taken from UMI.CMS. Two projects are on the same server.
In UMI.CMS, there is something in the form of a connector for using your API and with it you can already pull and work with data, this is a PHP file that is simply included and all classes and methods become available. This file itself lies in the root of the project on UMI.CMS.
include "standalone.php";
// использование API, UMI.CMS
Cannot redeclare startsWith() (previously declared in /vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php:664)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question