Although I wrote about how to create a model and controller with one command line, it will be unlikely that I will need to do this for the API I build because I am actually going to be using GraphQL. I first used GraphQL last year when I maintained an API for a company and also built a new API with it for a messaging service to be used within the same company internally. To use GraphQL with Laravel I will be using the lighthouse-php framework.
(more…)Category: PHP
-
Creating a Controller and Model in Laravel
I recently started building a new SaaS product for note-taking. It’s very early on in development. This series of posts serves partly to remind me how to do something, and also as a way to help anyone who is searching. This series is not intended to be a comprehensive series of posts to cover everything Laravel, but rather just what I come across and need reminding of at a later date.
(more…)