API for Laravel