How do I set up the Moodle API in laravel?

How do I set up the Moodle API in laravel?

by Dhrushil Sedani -
Number of replies: 2

Is there any guides in order to setting up the API on laravel, or alternatively, is it possible to use Javascript to access the API information?

Average of ratings: -
In reply to Dhrushil Sedani

Re: How do I set up the Moodle API in laravel?

by Brian Merritt -
Picture of Particularly helpful Moodlers
What are you trying to achieve? It's possible to access the webservice api via javascript or laravel, and the api is just a series of end points.

The quickest method is to create a web token with appropriate permissions in Moodle and use that in laravel or javascript to authenticate.