If you are geting the error class not found when executing the command php artisan migrate:rollback in a project with the Laravel framework, this article shows how to solve the error and execute rollback.

Migrations

When working with Migations, the migrations of databases in the Laravel, mainly in the initial...

featured-vite.jpg

Twitter Bootstrap and jQuery are Html/CSS and JavaScript framework and library still in heavy use in the Laravel community to this day.

It’s ease add then with Laravel Mix, but since Laravel v9.2.0 Vite is now the default bundler and a lot of users have had trouble getting it to work.

In this post we will go over...

laravel-mix-featured.webp

I had a lot of problems with using laravel/ui to install and then use the last updated versions of packages Twitter Bootstrap, jQuery and Popper.js. Since, for example, the Bootstrap version laravel ui installs is outdated, for example on Laravel 8 it is only version 4.6, and the newest version is, as of today: 5.2.2...

php-ini-featured.webp

There are a few ways to locate php.ini file by command line on Linux Ubuntu, Linux Mint, and other Linux distributions. Some of the options showed here are also compatible with Windows, specially usin WSL.

What is php.ini

The php.ini file is the configuration file that is read when PHP starts up. For the server module...

featured-laravel-session-lifetime.webp

A session is a way to store information (in variables) to be used across multiple HTTP Requests, to simulate a “state” across pages navigation.

Laravel ships with a variety of session backends managers that are accessed through an expressive, unified API. Support for popular backends such as Memcached,...

featured-php-session-timeout.webp

A session is a way to store information (in variables) to be used across multiple HTTP Requests, to simulate a “state” across pages navigation.

Unlike a cookie, the information is not stored on the end users computer but in the application server.

For security reasons, sessions has a time limit to exist...

As with any essential software project back up database data, as well as restore these backups, your MySQL or Mariadb databases, as well as PostgreSQL.

When you are working with the developmental environment of your Laravel PHP projects in Laradock Docker containers, it is important to understand how the directories...

If you want to set up the Best environment for software development in Linux Mint (or Ubuntu and other Debian based distros), this is the right article for this.

Every software developer organizes their development environment for programming using a mix of technologies and tools to use to program, improve productivity...

featured-class-numberformatter-not-found.webp

If you have ever come across “NumberFormatter Class Not Found” error when installing a PHP Laravel application on a Windows or Linux server, this article will help you resolve this issue.

Let’s explore in this article the cause for the error class "numberformatter" not found in PHP Laravel,...

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

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

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...