7
I have a project (a blog) based on Laravel/Laravel (note that this is the application and not the framework only), but I wish to send to my repository only the contents of the folders app/
and resources/
(native folder of Laravel), this I got, my problem is at the moment of installing the Laravel next to my project, staying only this in my repository:
.
├── composer.json
├── app
| ├── BlogHome.php
| └── Controller.php
└── resources
└── views
└── bloghome.blade.php
For example when I run the command:
composer create-project [meu vendor]/blog
I want you to install together the Laravel/Laravel (the Laravel web application I mentioned earlier) and then the folder app/
and resources/
do Laravel receive the contents of the folders that are in my repository.
I wish to do this way so that if the Laravel/Laravel receive some update when installing run the command composer create-project
will already install from the same source, otherwise I would have to make a copy of the contents of the Laravel/Laravel in my repository, so any update in the Laravel/Laravel I’d have to do it manually, which seems impossible to me.
Is there any way to merge my repository with the Laravel/Laravel the moment you execute the command composer create-project [meu vendor]/blog
?
Really you are right, all the work that will be done would be better to make a manual copy of the "skeleton", so also avoid problems if the skeleton changes shape (as occurred from the Laravel 5.2 to the 5.3).
– Guilherme Nascimento