DEV Community

Alican Kılıç
Alican Kılıç

Posted on

4 1

Laravel make view

php artisan make:command MakeViewCommand

App
Console
Commands

Replace
MakeViewCommand.php

Gist Url

Creating views

# Create a view 'home.blade.php' in the default directory
php artisan make:view home

# Create a view 'home.blade.php' in a subdirectory ('pages')
php artisan make:view pages.home

Demo

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more