Bird
0
0

After running composer create-project laravel/laravel blog, what folder will contain the Laravel app?

medium📝 component behavior Q13 of 15
Laravel - Basics and Architecture
After running composer create-project laravel/laravel blog, what folder will contain the Laravel app?
Alaravel
Bpublic
Cvendor
Dblog
Step-by-Step Solution
Solution:
  1. Step 1: Understand the command structure

    The last argument in the command is the folder name where Laravel installs the app.
  2. Step 2: Identify the folder name

    Since the command ends with blog, the Laravel app is installed inside the blog folder.
  3. Final Answer:

    blog -> Option D
  4. Quick Check:

    Project folder = last argument 'blog' [OK]
Quick Trick: Last word in command is your app folder name [OK]
Common Mistakes:
  • Assuming 'laravel' is the folder name
  • Confusing 'vendor' as the app folder
  • Thinking 'public' is the main app folder

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Laravel Quizzes