Integration With PHP based framework(laravel) #190
-
|
Hello, I’m working on a course scheduling project using Laravel (PHP-based framework) and I’d like to integrate UniTime's timetabling functionality. Since UniTime is Java-based, is there any recommended approach to interact with UniTime’s solver or backend logic from a PHP/Laravel application? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
There is no recommended approach. Most of the integration is usually done through moving data in and out of UniTime, e.g., using our XML interfaces, APIs, or directly accessing the database. There is also the option of using just the UniTime solver (see github.com/uniTime/cpsolver), which can also be used from the command line. I do not know if there is something like Python's JNI for PHP. |
Beta Was this translation helpful? Give feedback.
-
|
You can see more details at unitime.org/cpsolver_examples.php, University Course Timetabling section. The course timetabling solver can be run using the following command line: You can export the solver configuration from UniTime, using the Export button on the Administration > Solver > Configurations page. The solver data can be exported using the Export XML button on the Course Timetabling Solver page, see help.unitime.org/exporting-solver-xml for more details. |
Beta Was this translation helpful? Give feedback.

There is no recommended approach. Most of the integration is usually done through moving data in and out of UniTime, e.g., using our XML interfaces, APIs, or directly accessing the database.
There is also the option of using just the UniTime solver (see github.com/uniTime/cpsolver), which can also be used from the command line. I do not know if there is something like Python's JNI for PHP.