laravel

Framework
Laravel
Web Programming

How to convert html template into Laravel 7 project – Part 1

It is helpful for the new Laravel users to know the way of converting any static HTML template into a Laravel project and convert it into a dynamic web project. I have shown in my previous tutorials that how to convert any html template into angular project and codeigniter project. But the process of converting […]

Read More
Framework
Laravel
Web Programming

Laravel 7 CRUD using DataTables

Simple Laravel 7 CRUD using modal is shown in the previous tutorial. DataTables is a popular Jquery plugin to work with the large list of data with pagination and search option. How you can use DataTables in Laravel 7 and implement CRUD operation are shown in this tutorial. Steps: 1. First of all you have […]

Read More
Framework
Laravel
Web Programming

How to work with database in Laravel

Steps: 1. Create a MySQL database 2. Open the .env file and set the database connection 3. Run the following command to set project namespace php artisan app:name todoparrot 4. Create a model named todolist using the following command php artisan make:model Todolist 5. Open the migration folder and delete all existing file 6. Run […]

Read More
Framework
Laravel
Web Programming

Create CRUD operation using Laravel

Steps: 1. Create a new Laravel Project 2. Install html package using Laravel composer require laravelcollective/html 3. Change app.php file Collective\Html\HtmlServiceProvider::class, ‘Form’ => Collective\Html\FormFacade::class, ‘Html’ => Collective\Html\HtmlFacade::class 4. Create a new view file welcome2.blade.php by Copying default welcome.blade.php file. 5. Replace the code of body with the following code, <div class=”flex-center position-ref full-height”> <div class=”content”> […]

Read More
Framework
Laravel
Web Programming

How to setup print option in Laravel

Steps: 1. Select any table with data from the database that you want use for printing. Here students table is selected from the database. 2. Create a controller named PrintController php artisan make:controller PrintController 3. Create a Course model for courses table php artisan make:model Student You can download or use the jquery print plugin from the following […]

Read More