Motivation
When a problem arises, what do most of us developers do with some frequency? CTRL+C + Google + CTRL+V.
We usually look for ready-made scripts that solve the problem, whether through AIs, forums or other means, but we rarely resort to documentation, which is the mother of our development tools.
With the spread of "from zero to hero" courses, definitive guides and the possibility of becoming an expert in something "in the blink of an eye", it seems that studying documentation has become an increasingly distant practice.
Therefore, today we will explore, understand and build a project with more advanced features, step by step, using only our beloved documentation.
Tools
For this project, we will use Laravel, one of the biggest, most popular and most complete frameworks for PHP, along with Livewire, which will help us make our notifications real-time and reactive. Let's create a project from scratch and implement authentication and notification features for users tagged in posts.
Installation
Let's access the documentation installation tab: https://laravel.com/docs/10.x/installation which will explain to us that we need PHP and Composer to be able to install it:
composer create-project laravel/laravel still-loving-docs
cd still-loving-docs
php artisan serve
Okay, our Laravel project is already working at: http://localhost:8000, you can also choose to use Nginx as a server, but in this tutorial we will follow the documentation.
Don't forget to update your .env with the environment variables: https://laravel.com/docs/10.x/installation#environment-based-configuration](https://laravel.com/docs/10.x/installation#environment-based-configuration)
Top comments (0)