简体   繁体   中英

download repository from github directly to your laravel website

I am making a Resources page on my website where i am going to put all my plugins and packages and other stuff ..
i was wondering if there is a way to straightly download a github repository to your client's computer when he clicks a link. or using some javascript or something

Each repository has a download link (clone/download). Copy the download links from each repository and create anchor tags.

Thats the easy way and will get you going quickly.

Alternatively, if looking for an automated way, the API is robust:

https://developer.github.com/v3/repos/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM