Jun 7, 2024
composer create-project --prefer-dist laravel/laravel <project-name>
npm install
npm run dev
app
: Contains HTTP
, Models
, and Providers
.config
: Configuration files for various services.database
: Migrations, factories, and seeds.public
: Entry point for web requests.resources
: CSS, JavaScript, and Blade views.routes
: Define application routes.storage
: Stores files generated by the framework.tests
: Unit tests.vendor
: Third-party packages..env
: Configuration file for environment variables.php artisan vendor:publish
.auth
, verify
, etc.php artisan make:model Note -m
: Creates model and migration.php artisan make:controller NoteController --resource --model=Note
resources/views/note/*.blade.php
Route::resource('notes', NoteController::class);
composer require laravel/breeze --dev
, php artisan breeze:install