Skip to content

thedarkkid/laravel_api_framework

Repository files navigation

This code is published as part of the corresponding blog article at the Toptal Engineering Blog.

Visit https://www.toptal.com/blog and subscribe to our newsletter to read great articles!


Laravel Api Framework

This is a framework of basic things you would need to set up a Laravel REST API. If you get an error when trying to composer install that reads:

PackageManifest.php line 131:
 Undefined index: name

You can try running the following commands to fix:

rm -rf composer.lock // removes composer.lock
rm -rf vendor // removes vendor folder
composer install // re-runs composer install