Skip to content
Aronne Brivio edited this page May 16, 2021 · 6 revisions

Welcome!
Before starting I recommend that you take a look at the Lumen documentation. Not too much, just to understand what we are talking about: we all know that it is really boring to spend hours and hours studying the documentation and that's why we did this little project!

A Lumen Blog is an exercise that will allow you to better understand how PHP and Lumen work.

You will learn to follow the MVC pattern provided by the framework, define the endpoints accessible from the outside and use the main data structures and features provided by the library, including Traits, Middleware, relationships between Models and migrations.


The goal is the development of a very simple blog APIs.

The blog can be consulted both by registered users and in anonymous mode, therefore without access. The registered user can be a Premium subscriber and in this case will have exclusive functions available.
The anonymous user can only view the list of articles or the details of a single article, with its comments.
The registered user can, in addition to what the anonymous user can do, create articles, edit their articles, delete their articles and comment on existing articles.


Table of contents

Environment setup
Description and Requirements
Bonus steps


Live example: https://github.com/aronnebrivio/a-lumen-blog