Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel project preparation,laravel project create

//global install
composer global require laravel/installer
laravel new example-app
 
 //via composer
composer create-project laravel/laravel example-app
composer require laravel/ui
php artisan ui bootstrap --auth
npm install & npm run dev
npm i bootstrap @fortawesome/fontawesome-free animate.css venobox scrollreveal slick-carousel sweetalert2
php artisan make:model Post --all
post route, post views, CRUD, dbseeding


//useful artisan command
php artisan migrate:fresh --seed
php artisan db:seed
php artisan storage:link
php artisan make:model Modelname --all
php artisan make:controller UserController --mcr
php artisan make:migration create_projects_tabler --create/--table
php artisan make:seeder BooksTableSeeder
 
PREVIOUS NEXT
Tagged: #laravel #project #project #create
ADD COMMENT
Topic
Name
8+2 =