php - How to install custom package from a zip file (MVC) - Laravel -
i'll try not steal time , short possible..
say have structure in laravel app (it's rest api, sort of):
- rootfolder/app/models
- rootfolder/app/http/controllers
- rootfolder/app/http/routes.php
- rootfolder/public
(these folders use @ part)
now, have zipped file following structure:
- rootfolder/app/models/mynewmodeltoimport.php
- rootfolder/app/http/controllers/mynewcontrollertoimport.php
- rootfolder/public/somefilesandfolderstoimport
- mynewdatabasetouploadonserver.sql
now, want laravel automatically extract these files corresponding locations , upload mynewdatabasetouploadonserver.sql database private server... overall, install "package" zip file, install plugins wordpress..
thanks time
Comments
Post a Comment