Ella  Windler

Ella Windler


Learn About Views in Your Laravel Application

In this video we'll be teaching you about views in your Laravel application. Your application views are what the user will typically see and these are the files that contain the HTML elements of your web application.


What is GEEK

Buddha Community

Learn About Views in Your Laravel Application
Seamus  Quitzon

Seamus Quitzon


Php how to delete multiple rows through checkbox using ajax in laravel

First thing, we will need a table and i am creating products table for this example. So run the following query to create table.

CREATE TABLE `products` (
 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
 `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
 `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
 `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
 `updated_at` datetime DEFAULT NULL,

Next, we will need to insert some dummy records in this table that will be deleted.

INSERT INTO `products` (`name`, `description`) VALUES

('Test product 1', 'Product description example1'),

('Test product 2', 'Product description example2'),

('Test product 3', 'Product description example3'),

('Test product 4', 'Product description example4'),

('Test product 5', 'Product description example5');

Now we are redy to create a model corresponding to this products table. Here we will create Product model. So let’s create a model file Product.php file under app directory and put the code below.


namespace App;

use Illuminate\Database\Eloquent\Model;

class Product extends Model
    protected $fillable = [

Step 2: Create Route

Now, in this second step we will create some routes to handle the request for this example. So opeen routes/web.php file and copy the routes as given below.


Route::get('product', 'ProductController@index');
Route::delete('product/{id}', ['as'=>'product.destroy','uses'=>'ProductController@destroy']);
Route::delete('delete-multiple-product', ['as'=>'product.multiple-delete','uses'=>'ProductController@deleteMultiple']);

#laravel #delete multiple rows in laravel using ajax #laravel ajax delete #laravel ajax multiple checkbox delete #laravel delete multiple rows #laravel delete records using ajax #laravel multiple checkbox delete rows #laravel multiple delete

mehul bagada

mehul bagada


Select2 Ajax Autocomplete in Laravel

Hi Guys,

In this blog,I will create auto complete using Select2 and Ajax in laravel. we will show auto complete using select2.js in laravel. you can easyli create auto complete using select2 and ajax in laravel.

I will give you full example of select2 ajax in laravel.

Link :- https://www.nicesnippets.com/blog/laravel-select2-ajax-autocomplete-example

#laravel #laravel tutorial #laravel tutorial for beginner #learn laravel #learn laravel for free

mehul bagada

mehul bagada


Laravel Summernote Image Upload Example

Hello Friends,

Today, I am going to learn you how to image upload in sumernote editor laravel application.We will using summernote editor in image upload laravel app. I would like to show you laravel image upload in summernote editor example.

Summernote Wysiwyg is very simple and cool editor. If you use simply textarea and you require to make more tools like bold, italic or image upload, Then you have to choose Summernote plguin.

In this example, I am going to use summernote with bootstrap. So you can simply use summernote editor. If You need summernote editor with image upload in laravel app.

Here I will gove you full example for laravel summernote editor with image upload.

Link:- https://www.nicesnippets.com/blog/laravel-summernote-image-upload-example

#laravel #laravel tutorial #laravel tutorial for beginner #learn laravel #learn laravel for free

mehul bagada

mehul bagada


Laravel add Custom Route File

Hi Guys,

In this blog, You can create Custom laravel route file in your project. we will create you how to Custom route file in laravel. i will show step by step create custom route file in laravel.This is a very easy way to manage laravel custom route files in your projects.i will create different route files like user_route, customer_route.

I will give full example of laravel custom route file, the example.

Link :- https://www.nicesnippets.com/blog/laravel-custom-route-file

#laravel #laravel tutorial #laravel tutorial for beginner #learn laravel #learn laravel for free

mehul bagada

mehul bagada


Laravel Google Bar Charts Example Tutorial

Hi Guys,

In this tutorial.I will learn you how to use dynamic char bar using google charts in laravel.you can easy and simply use dynamic chart in laravel.

Google has provide us different type of Google chart. So, in this post we are going to create dynamic bar chart by using Google Chart API in Laravel application.

I will just create a simple employee model and a employee controller to create this laravel google charts example. Then i will fetch employee data from database and finally set in google bar chart function.

Link :- https://www.nicesnippets.com/blog/laravel-google-bar-charts-example-tutorial

#laravel #laravel tutorial #laravel tutorial for beginner #learn laravel #learn laravel for free