QaMar ALi
QaMar ALi

Reputation: 237

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

Upvotes: 1

Views: 79

Answers (1)

Randy Casburn
Randy Casburn

Reputation: 14175

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/

Upvotes: 2

Related Questions