---
# System prepended metadata

title: Open a new blade.php page
tags: [php]

---

###### tags:`php` 
# Open a new blade.php page  

### Step1

open **routes file** , and open **web.php**

![](https://i.imgur.com/Fim88V5.jpg)


### Step2
create and **new php** in the **\resources\views**
this example , its name is **teacherScadule.blade.php**

### Step3

back to the **web.php** 
and copy and post the code

```
Route::get('aaa', function () {
    return view('bbb');
});
```

the aaa means url name it coulbe be customize by yourselft ,
the bbb means the new blade.php you just created , 

in this example the code will be 


```
Route::get('teacherScadule', function () {
    return view('teacherScadule');
});
```

*you cake let aaa and bbb has same name and easy to manage ! 