We are using Laravel artisan commands in localhost for create some laravel resources like creating controllers, models, middleware, jobs, etc. But on serve, we have
Category: Laravel
Laravel is a Php Framework
Clear caching in Laravel
We can clear cache using command line with Laravel artisan commands. Run following command in command line one by one. Now we can clear all
Dependency Injection In Php
Dependency Injection(DI) is a part of software design. DI is a procedure for managing object dependencies with another object so it will eliminate hard-coding dependencies
Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column can’t have a default value
Today we discuss about an error in Laravel migration for json type and text type. Laravel provide migration feature for quickly create DB table through
How to setup laravel git project
1. First of all Create a database for project in your system 2. Download composer https://getcomposer.org/download/ and install it in your system 3. Copy git
Laravel 7.x Installation
Server requirements PHP >= 7.2.5 BCMath PHP Extension Ctype PHP Extension Fileinfo PHP extension JSON PHP Extension Mbstring PHP Extension OpenSSL PHP Extension PDO PHP
Laravel: Specified key was too long error
This Error ‘Specified key was too long error’ will come when Laravel migrate artisan will execute because of mysql version. For fix this, We need