Answer the question
In order to leave comments, you need to log in
Is it possible and how to use js library for parsing in laravel?
I have a local laravel application, one of the functions of which is an English dictionary.
I would like to parse pronunciation from sites like this one on the server side for every word, enter a link or file into the database, and not use a PHP library for this, but for example slimerjs or phantomjs.
How can this be done with laravel, or is it better without?
JhaoDa , why are you editing the laravel tag? The question is about how to build a bridge between Laravel and the js parsing library.
Answer the question
In order to leave comments, you need to log in
This can be done like this:
use Symfony\Component\Process;
$process = new Process('terminal call js pacing library');
$process->run();
$process->getOutput();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question