The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
7.x
make:component
🖥
make:component
Create a new view component class
Options
force
- Create the class even if the component already exists
Optional
inline
- Create a component that renders an inline view
Optional
Arguments
name
- The name of the class
Required
php artisan make:component [--force] [--inline] [--] <name>
Click to copy