Overview of good practices that can be applied as techniques in clean code writing, regardless of programming language or framework.
When using Laradock, by accessing the container Workspace
I have sometimes received the following error when trying to execute PHP composer
:
COMPOSER_AUTH" does not match the expected JSON schema, this may result in errors and should be resolved:
- Boolean value found, but an object is required
According to...
![featured-image-upload-scaled.webp](/en/laravel/posts/how-fill-file-upload-input-field-with-old-data-php-laravel/featured-image-upload-scaled.webp)
After validating data entry forms, which return to the user with information from the errors that should be corrected, the best practice is to fill the fields with the last (old) values, but is not possible to apply this techinique to upload field files, both in Laravel PHP and in any other language.
This is a browse...
![featured-people-with-databases.webp](/en/docker/laradock/database-laravel-connections-laradock/featured-people-with-databases.webp)
The Laravel database connection using Laradock is very straightforward and intuitive with MySQL or Mariadb database servers in a Laravel PHP project when using Laradock Project Docker containers.
But some tips and reminders are important to prevent you from wasting time when preparing your environment of developing a...
![featured-laradock-laravel-docker.webp](/en/docker/laradock/installation-and-configuration/featured-laradock-laravel-docker.webp)
Learn now how to install and configure Laradock, which is, as presented in the Introductory Article, a project for quick and simple configuration of PHP Web Systems Development Environments using Docker.
In this tutorial article, we will see more in detail how to install and configure a Laradock environment to work by...
![featured-dados-brasil.webp](/en/blog/posts/open-data-repositories-for-developers/featured-dados-brasil.webp)
Where to find open data for statistical analyzes, seed databases with initial data or even create auxiliary tables for certain business areas? The developer community works hard to create repositories that offer data to meet these needs, how about checking and contributing to these repositories.
![featured-laradock.webp](/en/docker/laradock/introduction-containers-docker-php-laravel/featured-laradock.webp)
Laradock is a complete web development environment for Docker, which was born to meet the development of Laravel systems and currently provides containers for various situations for PHP development.
It supports a variety of common services, all pre-configured to provide a PHP development environment,...
![featured-laravel-route.webp](/en/laravel/troubleshooting/rounting-laravel-does-not-working/featured-laravel-route.webp)
This article deals with the Laravel routing not to working in new projects, taking into account a very specific context, when you have new Apache server installations.
Problem script
At some point you will start a new project with the newly installed project with the Laravel Framework, after running the standard...
At sometimes your application or website developed with Laravel Framework, there is a need to, via a “link”, allow user to return to the URL- Page or route, previously called.
This is commonly necessary when showing a HTTP 404 error message screen - Page Not Found, or 403 - Forbidden (unauthorized)....
![featured-install.webp](/en/laravel/deploy/install-deploy-laravel-php-application-subdirectory-cpanel/featured-install.webp)
If you work with the PHP Framework Laravel, you know that installing your application in a default directory of a VPS account or a shared server, without changes, will force you to run the application leaving the root directory as it will need to access it by the subdirectory /public
. For example:...
Only the "Target Class XXX does not exist" error is common in PHP, a specific change in the LARABLE VERSION 8 brought a punctual problem with not finding the controllers, see how to solve.
![featured-laravel-logo.png](/en/blog/news/novidades-laravel-versao-8/featured-laravel-logo.png)
News brought in the release of version 8 of the PHP framework - Laravel.