You are on page 1of 1

#####Extension

PHP Intelephense

# Create Project in Laravel-8

composer create-project laravel/laravel:^8.0 example-app


cd example-app
php artisan serve

# Create Database Table

php artisan make:migration create_admins_table

# Migrate Database Tables

php artisan migrate

# Clear Cache

php artisan config:cache

# Create Model, View, Controller and migration

**Controller**
php artisan make:controller RegisterController
php artisan make:controller Admin/CategoryControlle -r(for resources of CRUD)

**Model**
php artisan make:model Dashboard -mrc (for model, migration and controller)
php artisan make:model Admin/Category (for only model)

# Change port using terminal

php artisan serve --port=8080

You might also like