php - How to install custom package from a zip file (MVC) - Laravel -


i'll try not steal time , short possible..

  1. 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)

  1. 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

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -