In this article we’ll learn step by step how to build a Laravel app using docker compose
Sometimes we get the error Failed to listen to address when starting a new application, since the address is already in use. Follow the next steps due to kill the process and work with the desired address.
Some simple useful actions to perform succesful MySQL databases backups from terminal
In this example I show how to add ‘null’ option to ‘pluck’ method; that’s a very useful tip for our select inputs.
Laravel comes with authentication out of the box. This means that we need to set it up to allow users to create their accounts and let them login into our site.
«Laravel Collective» is a GREAT tool for building our forms very quickly. In this post I show you how to set it up into our project and take profit of it.
When we have development with some other apps trying to connect with our backend, we’ll have some console CORS errors. This means we need to setup CORS into our project to be enabled for backend route.
In this post I’ll show you how to setup taks that need to be executed automatically and periodically ( every hour, every day, evey week,… )
Storage file into folder with contents Storage::disk(‘local’)->put(«/path-to-file/file.json», json_encode($data)); Run single Migration php artisan migrate –path=/database/migrations/migration_php_file.php Run single Seeder php artisan db:seed –class=Seeder Recreate containers docker-compose up –force-recreate –build -V