Mohammad Towhidul Islam

    05-Sep-21 09:02:20 am

    all kinds of Laravel cache clearing artisan commands

    all kinds of Laravel cache clearing artisan commands
    **After database config >php artisan config:cache Configuration cache cleared! ** Route Cache >php artisan route:clear Route cache cleared! ** View Cache >php artisan view:clear ...

    Read More


    Mohammad Towhidul Islam

    05-Sep-21 08:49:29 am

    Larave Insert ID

    Larave Insert ID
    DB::getPdo()->lastInsertId(); $id = DB::table('users')->insertGetId( ['email' => 'john@example.com', 'votes' => 0] ); ...

    Read More


    Mohammad Towhidul Islam

    15-Nov-20 05:54:28 pm

    Run laravel project without public diretory

    Run laravel project without public diretory
    Create a .htaccess file to your project folder and write as follows: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> ...

    Read More


    Mohammad Towhidul Islam

    05-Aug-20 11:48:28 pm

    Laravel CLR commands for CRUD Operations

    Laravel CLR commands for CRUD Operations
    1. To create Model with migration >php artisan make:mode LeaveCategory -m 2. To create table with migration file >php artisan migrate --path=/database/migrations/...path.php 3. To make see...

    Read More


    Mohammad Towhidul Islam

    02-Aug-20 10:45:59 pm

    Laravel Events and Listeners

    Laravel Events and Listeners