Laravel-4-Generators icon indicating copy to clipboard operation
Laravel-4-Generators copied to clipboard

File Path in each file

Open ChristopherDosin opened this issue 10 years ago • 3 comments

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

ChristopherDosin avatar Aug 06 '14 15:08 ChristopherDosin

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

ramon-villain avatar Aug 06 '14 15:08 ramon-villain

Ah great thank you !

ChristopherDosin avatar Aug 06 '14 16:08 ChristopherDosin

If i fork this repo, what do i have to write in my composer.json ?

"require-dev": {
    "hostianer/Laravel-4-Generators": "2.*"
},

?

ChristopherDosin avatar Aug 06 '14 16:08 ChristopherDosin