I have a project (a blog) based on laravel / laravel (note that this is the application and not the framework only) , but I want to send to my repository only the contents of the folders app/
and resources/
(folder native to Laravel), this I got, my problem is when installing laravel next to my project, getting only this in the 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 to install the laravel / laravel (the Laravel web application I mentioned earlier) and then the app/
and resources/
of Laravel to receive the contents of the folders that are in my repository.
I want to do this so that if random laravel / laravel get some update at the moment that install run the command composer create-project
will already install from the same laravel source, otherwise I would have to make a copy of the laravel / laravel content in my repository, so any update on the laravel / laravel I would have to do manually, which seems unfeasible.
Is there any way to merge my repository with the laravel / laravel repository at the time you run the composer create-project [meu vendor]/blog
command?