Saturday, May 7, 2022

Laravel Fast Project Startup Tricks | লারাভেলে প্রোজেক্ট শুরু করার সহজ কৌশল

Laravel Few Startup

 or 

Testing Command

It will be life saver which you  mayn't know. 

//Create New Project

    composer create-project laravel/laravel

//Install or Update composer Then Back to back Hit Command

    composer install

    npm install

    npm run dev

// or use it together

    npm install && npm run dev

    npm run watch

// If you Want to add User Interface(UI)

    composer require laravel/ui

// User Authentication Command

    php artisan ui:auth

// If you Find any error in Composer install or update then try this

    composer install --ignore-platform-reqs

// Generate Key Which is need for every Project

    php artisan key:generate

//Migration command

    php artisan migrate

// Use this command to migrate which will not struck you for previous action

    php artisan migrate:fresh --seed

// Create Storage Link if you use Separate Storage for you file

    php artisan storage:link

// You can use this if  you need Optimize autoloader without any stuck

    composer install --no-dev --optimize-autoloader

// Finally You run this command to browse your project

    php artisan serve


// All Command Together if you are an Expert

    composer create-project laravel/laravel

    composer install

    npm install

    npm run dev

    npm install && npm run dev

    npm run watch

    composer require laravel/ui

    php artisan ui:auth

    composer install --ignore-platform-reqs

    php artisan key:generate

    php artisan migrate

    php artisan migrate:fresh --seed

    php artisan storage:link

    composer install --no-dev --optimize-autoloader

    php artisan serve


Collected by MD AL AMIN (B.sc in Pharmacy) [contempt by Tania]


No comments:

Post a Comment

Thank you for your valuable time