Skip to content
codeandtuts-logo

CodeandTuts

Online Programming Tutorials

  • Home
  • PHP
  • LARAVEL
  • JAVASCRIPT
  • AJAX
  • JQUERY
  • Contact Me
Main Menu

PHP

database-seeding-in-laravel
Laravel / PHP

Database Seeding In Laravel With Example [Step By Step]

August 29, 2019September 1, 2019 - by Chintan Panchal - 1 Comment

In this tutorial, I will show you how to create database seeder in laravel and seeding database with test data effectively.

Laravel comes with great easy method to seeding database with test data. Data like order status, countries etc. require to run some functionality and need to add it while …

Read More
soft-delete-in-laravel
Laravel / PHP

How To Add SoftDelete With Unique Validation In Laravel

August 25, 2019August 29, 2019 - by Chintan Panchal - 2 Comments.

In this tutorial, I will show you how to soft delete record and unique validation in laravel.

In soft delete process, instead of actually removing records from your database, Eloquent can also “soft delete” models. When models are soft deleted, they are not actually removed from your database. Instead, a …

Read More
ganarete-fake-data-using-laravel-faker
Laravel / PHP

Generate Fake Data Using Laravel Faker

August 24, 2019August 29, 2019 - by Chintan Panchal - Leave a Comment

In this tutorial, I will show you how to generate fake data using laravel faker. For that we will use this Faker package. Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress …

Read More
implement-yajra datatable in adminlte laravel
Laravel / PHP

Laravel 5.8 – Setup Yajra Datatable with AdminLTE [Step By Step]

July 26, 2019May 17, 2021 - by Chintan Panchal - 2 Comments.

Hello Friends, Today i will show you how to use datatable plugin with AdminLTE admin theme in laravel. DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, built upon the foundations of progressive enhancement, that adds all of these advanced features to any HTML …

Read More
move-laravel-model-into-models-directory
Laravel / PHP

Move laravel eloquent model into Models directory [Step By Step]

July 9, 2019August 29, 2019 - by Chintan Panchal - Leave a Comment

Normally when you create model file using artisan command php artisan make:model Test , It will create model file under app directory. Its fine for small projects where only 2 or 3 model files present but when you are developing big application with lot of model files then it is …

Read More
laravel-5.8-todo-crud
Laravel / PHP

Laravel 5.8 Todo CRUD Example Step By Step

July 1, 2019May 17, 2021 - by Chintan Panchal - Leave a Comment

In this tutorial i will show you how to create simple CRUD example in laravel. In the laravel CRUD example, we will create one Todo module for registered users. So users can create, read, update and delete there daily todos.

Lets install fresh laravel using this command. If you don’t …

Read More
Install Laravel 5.8 In XAMPP localhost (1)
Laravel / PHP

Install Laravel 5.8 On Windows XAMPP Using Composer

March 10, 2019June 24, 2019 - by Chintan Panchal - 2 Comments.

Laravel becomes more powerful and rapid framework day by day. Currently they launched laravel 5.8 version.

Its very easy to install laravel in localhost for experience developer who have worked on prior version of laravel.

New developer can follow below steps to install laravel in localhost. Lets start step by …

Read More
PHP-recognized-internal-external-command
PHP

[SOLVED] PHP is not recognized as an internal or external command

February 16, 2018April 6, 2018 - by Chintan Panchal - 14 Comments.

PHP is not recognized as an internal or external command

Have you ever faced this type of error while running PHP command from command prompt? Some PHP files like cron job and socket server, we need to run them from command prompt. Normally this type of error only produce when …

Read More
run-php-file-from-windows-cmd-line
PHP

How To Run PHP File From Windows Command Line

February 13, 2018February 14, 2018 - by Chintan Panchal - 1 Comment

To run PHP file from windows command line, you must have installed PHP in your windows system. Individually setup PHP environment is tedious and lengthy task in windows system. So we will use fully operational XAMPP environment which comes with PHP, MySQL and Perl. If you haven’t installed XAMPP web …

Read More
php-interview-questions-answers
PHP

50+ PHP Interview Questions And Answers For Freshers

May 13, 2016June 10, 2016 - by Chintan Panchal - 1 Comment

Hello Friends, after a long time i am here with a great list of interview questions and answers. From last couple of months, I was looking for changing my job. Therefore, I had updated my resume on naukari and start giving interviews. Based on that experience i create some list …

Read More

Posts navigation

1 2 3 Next

Like us on Facebook

Codeandtuts

Popular Categories

  • AJAX
  • CSS
  • Framework
  • GitHub
  • HTML
  • JAVASCRIPT
  • JQUERY
  • Laravel
  • Laravel 6
  • MySQL
  • PHP
  • Text Editors

Pages

  • About Us
  • Advertise
  • Contact Us
  • Desclaimer
  • Privacy Policy
Copyright © 2023 CodeandTuts.
Powered by WordPress and HitMag.