PHP Classes

Google Docs using PHP: Interact with Google Docs

Recommend this page to a friend!
  All requests RSS feed  >  Google Docs using PHP  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Google Docs using PHP


Picture of Jesús Ortega by Jesús Ortega - 8 years ago (2015-07-04)

Interact with Google Docs

This request is clear and relevant.
This request is not clear or is not relevant.


I need to open Google documents from PHP application. I would like to see if anybody has experience in that.

  • 3 Clarification requests
  • 5. Picture of Ganza Respice Respinho by Ganza Respice Respinho - 5 years ago (2018-09-17) Reply

    i like this

    • 3. Picture of Karl by Karl - 8 years ago (2015-07-28) Reply

      You could use the Manuel Lemos OAuth class or use some simple links with file_get_contents or get_data, curl.

      • 4. Picture of Jesús Ortega by Jesús Ortega - 8 years ago (2015-07-28) in reply to comment 3 by Karl Comment

        thanks a lot Karl I've used the examples showed in this page from google- developpers: api-client-library/php/auth/web-app

        I've checked too Manuel Lemos Class Class and it was too very useful thanks again Jesús Ortega

    • 1. Picture of Samuel Adeshina by Samuel Adeshina - 8 years ago (2015-07-05) Reply

      What exactly do you want, a 'package recommendation' or an 'experience'. If you seek for the latter, you could post a job recommendation on the site but you're in the right place if what you need is a php class that can retrieve information from google docs

      • 2. Picture of Jesús Ortega by Jesús Ortega - 8 years ago (2015-07-06) in reply to comment 1 by Samuel Adeshina Comment

        Hi Samuel, thanks for your comment. What I'm trying to find the way (via php classes) to replace an application to hadle MS office word documents for Google Documents, so I need to authentificate in Gdrive (I've seen a php class post by Manuel lemos...) and later to generate and uploading documents to google docs thanks again Jesus Ortega

    Ask clarification

    1 Recommendation

    PHP OAuth Library: Authorize and access APIs using OAuth

    This recommendation solves the problem.
    This recommendation does not solve the problem.


    Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 23325 - 8 years ago (2015-07-05) Comment

    To access Google Docs you can use its API.

    Since Google APIs are based on OAuth, you can use this class to access Google Docs files on behalf of a given user that authorizes the access to his documents.

    Take a look at the login_with_google.php example script and adapt the URL and parameters of the CallAPI function call to make it perform the API operations on Google Docs that you need.

    • 1 Comment
    • 1. Picture of Jesús Ortega by Jesús Ortega - 8 years ago (2015-07-06) Reply

      Thanks Manuel, I'll try it, and it looks nice Do you know if there is any class to upload and convert documents to Google Drive??

    Recommend package