Category: Laravel
HOW TO CHECK VERSION OF LARAVEL
1. by command line method open command prompt and go to the laravel application directory. type php artisan –version 2. By checking laravel file…
LARAVEL PROBLEM IMAGE NOT UPLOAD PROBLEM (THE SAME PROBLEM WORKED IN LOCALHOST)
Problem Description: I have recently created a site in laravel and I had the no issue. But when I uploaded the script in the live…
Problem in composer create-project
To start a new project in laravel we generally do the following code composer create-project –prefer-dist laravel/laravel projectname OR composer create-project –prefer-dist laravel/laravel projectname “version_of_laravel”…
HOW TO ADD A NEW COLUMN TO EXISTING DATABASE [LARAVEL]
First of all make a new migration php artisan make:migration add_mobile_to_userinfo 2. put this code in up() function public function up() { Schema::table(‘users’, function($table) {…
Allowed memory size of ~ bytes exhausted in Laravel issue in laravel [solved]
1. Open and edit php.ini file. You can find inside xampp/php 2) Search and find memory_limit (control+F) 3) change this memory limit memory_limit=512M 4) To…
How to Pass Value from Model to all the views in Laravel ? with video
It is a bit tricky to pass all the values to the view from the model in laravel. First of all, make controllers and model…
Cant Delete File in Laravel? [SOLUTION]
[Q] I am using laravel and while deleting a file in laravel It got error while code is live but worked fine in localhost. Error…
How to send a data to all views in laravel
It is sometimes necessary to send data or an array to all the views sometimes. but this is the rare case. For this problem, you…
HOW TO SHOW IMAGE IN YAJRA DATATABLE COLUMN [SOLUTION]
I have a table where I need to show title, image and option. I have already made a datatable jquery and called the data. My…
How to implement Yajra Datatable in Laravel ?
Datatable is an excellent pacakage for those who wants to make a normal table interactive. The step to implement the Datatable is as follow. You…