PHPackages                             shahariaazam/gdrive-direct-download-link - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. shahariaazam/gdrive-direct-download-link

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shahariaazam/gdrive-direct-download-link
========================================

Extract downloadable link from any Google Drive sharable link. Easy to use to embed or use direct Google Drive download link

v1.0(5y ago)2782[1 issues](https://github.com/shahariaazam/gdrive-direct-download-link/issues)MITPHPPHP &gt;=5.6CI failing

Since May 30Pushed 5y agoCompare

[ Source](https://github.com/shahariaazam/gdrive-direct-download-link)[ Packagist](https://packagist.org/packages/shahariaazam/gdrive-direct-download-link)[ RSS](/packages/shahariaazam-gdrive-direct-download-link/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Google Drive Download Link Extractor
====================================

[](#google-drive-download-link-extractor)

[![Code Checks](https://github.com/shahariaazam/gdrive-direct-download-link/workflows/Tests/badge.svg)](https://github.com/shahariaazam/gdrive-direct-download-link/workflows/Tests/badge.svg)[![Build](https://camo.githubusercontent.com/6730449a0d9512c84d0e9a64be04b0b44e1e67a75c54b1366e9b176279780378/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f6275696c642e706e67)](https://camo.githubusercontent.com/6730449a0d9512c84d0e9a64be04b0b44e1e67a75c54b1366e9b176279780378/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f6275696c642e706e67)[![Code Coverage](https://camo.githubusercontent.com/9d6820597a7045b6f271b66f44dc5c80e4cdd2d24e463a750e81a4d1f1a3f15f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f636f7665726167652e706e67)](https://camo.githubusercontent.com/9d6820597a7045b6f271b66f44dc5c80e4cdd2d24e463a750e81a4d1f1a3f15f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f636f7665726167652e706e67)[![Code Rating](https://camo.githubusercontent.com/0aca52804e9d2faf49f57f35d9ae6857c49ddf019eda29267b79fc105b3aa8fe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f7175616c6974792d73636f72652e706e67)](https://camo.githubusercontent.com/0aca52804e9d2faf49f57f35d9ae6857c49ddf019eda29267b79fc105b3aa8fe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f7175616c6974792d73636f72652e706e67)[![Code Intellegence](https://camo.githubusercontent.com/c3eb606a2bd05f1d28cda77866c7bc88f08fe5eee4bd2c33eca6253f9d6a8dc7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f636f64652d696e74656c6c6967656e63652e737667)](https://camo.githubusercontent.com/c3eb606a2bd05f1d28cda77866c7bc88f08fe5eee4bd2c33eca6253f9d6a8dc7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f6764726976652d6469726563742d646f776e6c6f61642d6c696e6b2f6261646765732f636f64652d696e74656c6c6967656e63652e737667)

Get direct download link from any Google Drive sharable link. So you don't need to open Google Drive webpage to download the file.

Also it can help you to embed assets anywhere because the link you will extract from this library will directly download the assets without going to any middle-page.

### Installation

[](#installation)

It's very easy to use with `composer`. Run the following command -

```
composer require shahariaazam/gdrive-direct-download-link
```

It will add the package `shahariaazam/gdrive-direct-download-link` in your project.

Usage
-----

[](#usage)

### Via Composer

[](#via-composer)

```
