php - Framework multiple projects file update control -


i have create laravel framework website multiple projects. projects share same controllers, modal, etc. problem is, every time change inside of controller, have update each file each project.

is there software php laravel can me controller this, need update once (only change 1 file, file updated)?

/project_a/app/http/indexcontroller.php /project_b/app/http/indexcontroller.php /project_c/app/http/indexcontroller.php 

even though not idea. can write bash script automatically copy modified files server if have git, ssh access , linux. should this.

i used use script copy changed files on computer remote server.

mapfile -t lines < <(git ls-files --modified)  (( i=0; i<${#numbers[@]}; i++ )); echo ${numbers[i]}; done echo rsync -r "%s\n" "${lines[@]}" your/path/local:your/path/onserver/"${lines[@]}" 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -