Skip to content

PHP Codes Blog

By Nikunj Joshi

Search for
  • PHP
    • PHP Settings
    • OOPs
    • MySQL
    • AngularJS
    • Jquery
    • Javascript
    • HTML
    • Server Apache
    • Server Nginx
  • Laravel
  • Magento
  • WordPress
  • About Nikunj
    • Contact Nikunj
  • Hire Dedicated Developer

Category: Laravel

Force User to Verify Email after Registration in Laravel

Posted By: Nikunj Joshi July 19, 2022September 16, 2022

In this post, I will share with you how to implement email verification for your Laravel 8, and 9 projects. New user must be verify email address after registration in …

Read More “Force User to Verify Email after Registration in Laravel”

Mutators and Accessors in Laravel

Posted By: Nikunj Joshi August 26, 2020September 16, 2022

In this article, we’ll go through mutators and accessors of the Eloquent ORM in the Laravel web framework. After the introduction, we’ll go through a handful of examples to understand …

Read More “Mutators and Accessors in Laravel”

Laravel Two-Step Registration

Posted By: Nikunj Joshi August 21, 2020

Laravel Two-Step Registration: Optional Fields for Country and City Imagine a project where you need to have two-step registration process, with some optional fields in the second step. Let’s build …

Read More “Laravel Two-Step Registration”

Disable Timestamps in Laravel

Posted By: Nikunj Joshi March 5, 2020

If your DB table doesn’t have timestamp fields (created_at and updated_at), then <?php $password = Hash::make(‘password’); $arrayOfValues = array(‘name’=>’Nikunj Joshi’,’email’=>’info@nikunjjoshiphpdeveloper.com’,’password’=>$password); User::create($arrayOfValues); ?> you will get SQL error. Laravel would try …

Read More “Disable Timestamps in Laravel”

Install a specific version of package using Composer

Posted By: Nikunj Joshi April 18, 2019

How to install a specific version of package using Composer? Syntax composer require vendor/package:version

Laravel Artisan Route Command The route:list Command

Posted By: Nikunj Joshi April 18, 2019April 18, 2019

Laravel Artisan Route Command: The route:list Command The route:list command can be used to show a list of all the registered routes for the application. This command will display the …

Read More “Laravel Artisan Route Command The route:list Command”

Laravel Create Controller, Model and Migration in one Artisan Command

Posted By: Nikunj Joshi April 3, 2019April 18, 2019

Create Controller, Model and Migration using one artisan command in Laravel Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you …

Read More “Laravel Create Controller, Model and Migration in one Artisan Command”

Run Laravel 5 on GoDaddy Shared Hosting

Posted By: Nikunj Joshi March 28, 2019April 18, 2019

Run Laravel 5 on GoDaddy Shared Hosting Requirements Here are some things that you need before we get started: A GoDaddy shared hosting account SSH access FTP access Laravel Project …

Read More “Run Laravel 5 on GoDaddy Shared Hosting”

Laravel Migration Specified key was too long error

Posted By: Nikunj Joshi March 21, 2019September 16, 2022

Laravel 5: Specified key was too long error [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table …

Read More “Laravel Migration Specified key was too long error”

Creating Foreign Keys via Laravel Migration

Posted By: Nikunj Joshi July 4, 2018May 5, 2019

Adding foreign keys with Migrations Laravel really excels at facilitating deft management and navigation of table relations, but you’ll need to understand how to properly configure these relationships before taking …

Read More “Creating Foreign Keys via Laravel Migration”

Posts navigation

1 2 3 4

Hire PHP Freelancer

Please like this video and subscribe to my YouTube channel.

Contact

Recent Posts

  • Force User to Verify Email after Registration in Laravel
  • Mutators and Accessors in Laravel
  • Laravel Two-Step Registration
  • Display Featured Products on Homepage in Magento
  • Function array_column() in PHP
  • Disable Timestamps in Laravel
  • Difference between implode and explode function in php
  • Build Single Page Application Using AngularJS
  • Use of the PHP substr_count() function
  • MySQL Create Table and Data Types

Categories

  • AngularJS (1)
  • HTML (1)
  • Javascript (5)
  • Jquery (8)
  • Laravel (34)
  • Magento (8)
  • MySQL (6)
  • OOPs (7)
  • PHP (27)
  • PHP Settings (3)
  • Server Apache (3)
  • Server Nginx (1)
  • Wordpress (5)

Tags

abstract (2) ajax (4) apache (4) array (7) arrays (4) artisan (18) authentication (3) cache (3) class (8) command (7) composer (11) config (2) console (3) controller (7) database (7) errors (4) features (2) function (28) functions (5) html (8) ini (2) javascript (8) jquery (9) Laravel (35) localhost (2) magento (8) method (4) methods (4) migration (5) model (7) mvc (3) mysql (10) notice (2) oops (6) php (66) programming (6) query (2) reviews (2) schedule (4) service (3) ssh (3) trigger (2) view (8) wordpress (4) xampp (3)

Comments

  • JSN Web Solutions on Difference between array_merge and array_combine in php
  • JSN Web Solutions on Laravel Two-Step Registration
  • JSN Web Solutions on Mutators and Accessors in Laravel
  • james on Start / Stop / Restart Apache Web Server Via SSH
  • web design company in coimbatore on Run custom query in Laravel

PHP Codes Blog by Nikunj Joshi

  • Register
  • Log in
PHP Codes Blog By Nikunj Joshi © 2018