Laravel-4-Generators
Laravel-4-Generators copied to clipboard
File Path in each file
Each file which i create there is the path of the file in the file. For example i do: g:v pages/agentur
If i open the pages/agentur.blade.php i have the path in my file . In this case: /home/vagrant/code/project/app/views/pages/agentur.blade.php
How can i remove this ? Or better how can i say: "If you create a new view, start with @extends('layouts.master') @section('content')" @stop ?
I use Sublime Text 3
I encourage you to do it manually, but you can clone this repo and change this file: https://github.com/JeffreyWay/Laravel-4-Generators/blob/master/src/Way/Generators/templates/view.txt
Ah great thank you !
If i fork this repo, what do i have to write in my composer.json ?
"require-dev": {
"hostianer/Laravel-4-Generators": "2.*"
},
?