Comment #⁨1⁩

Toby Toby Waterhole Founder Sep 16, 2024

Hi @Gareth. If you've integrated Waterhole as a package into your Laravel app, then you can access the Waterhole models directly:

$posts = Waterhole\Models\Post::latest()->take(10)->get();

If your Waterhole installation is separate from your app, then an upcoming Waterhole release will contain a JSON API which will allow you to retrieve data from your Waterhole installation remotely.