laravel quickly create login registration

1: dos command or linux to enter the project root directory

2: If PHP is not configured in the global environment variable, it can be executed in the project root directory

..\ until jumping to the folder where PHP.EXE is located

implement:

php.exe (linux environment is php) artisan make:auth

You can automatically create routes, control layers and views corresponding to login registration

3: Create a database

The downloaded laravel has its own migration file,

implement

php.exe (linux environment is php) artisan migrate

The corresponding data table can be automatically created


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325898220&siteId=291194637