'Berlin' is a example of the name of project. 'Bootstrap' is a example of the ui framework used.
laravel new berlin
- Create the database in your DBMS
- Put the database credentials in
.env
file - You need enter in project now:
cd berlin
composer require laravel/ui
- If you want, you can run
php artisan ui --help
now php artisan ui bootstrap --auth
npm install
npm run dev
(sometimes two times)
php artisan migrate
Sometimes, we need to update our depedences and projects
composer self-update
will not change project, but will update the Composercomposer update
This will update all dependences ofcomposer.json
including the self Laravel Frameworknpm update
This will update all dependences ofpackage.json
- In https://windows.php.net/download you can download the Non Thread Safe php and install to update
git update-git-for-windows
to update git
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan view:clear