Download the PHP package ypio/php-microsoft-graph-file-converter without Composer

On this page you can find all versions of the php package ypio/php-microsoft-graph-file-converter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-microsoft-graph-file-converter

PHP Microsoft Graph File Converter

This library allow you to convert file using the Microsoft Graph API and microsoft engine conversion.
Particularly usefull to convert Office files (xlsx, docx...) to PDF.

Supported input and output formats

Input format Output format
doc, docx, epub, eml, htm, html, md, msg, odp, ods, odt, pps, ppsx, ppt, pptx, rtf, tif, tiff, xls, xlsm, xlsx pdf
cool, fbx, obj, ply, stl, 3mf glb
eml, md, msg html
3g2, 3gp, 3gp2, 3gpp, 3mf, ai, arw, asf, avi, bas, bash, bat, bmp, c, cbl, cmd, cool, cpp, cr2, crw, cs, css, csv, cur, dcm, dcm30, dic, dicm, dicom, dng, doc, docx, dwg, eml, epi, eps, epsf, epsi, epub, erf, fbx, fppx, gif, glb, h, hcp, heic, heif, htm, html, ico, icon, java, jfif, jpeg, jpg, js, json, key, log, m2ts, m4a, m4v, markdown, md, mef, mov, movie, mp3, mp4, mp4v, mrw, msg, mts, nef, nrw, numbers, obj, odp, odt, ogg, orf, pages, pano, pdf, pef, php, pict, pl, ply, png, pot, potm, potx, pps, ppsx, ppsxm, ppt, pptm, pptx, ps, ps1, psb, psd, py, raw, rb, rtf, rw1, rw2, sh, sketch, sql, sr2, stl, tif, tiff, ts, txt, vb, webm, wma, wmv, xaml, xbm, xcf, xd, xml, xpm, yaml, yml jpg

Http client psr-7 compliant

You can use any of the http client that is psr-7 compliant and implement Psr\Http\Client\ClientInterface. I recommend to "guzzlehttp/guzzle": "^7.0" which I use for testing or "guzzlehttp/guzzle": "^6.0"

Usage

Installation

composer require ypio/php-microsoft-graph-file-converter

require 'vendor/autoload.php';

Require a token

You first need to register an application with the Microsoft identity platform https://docs.microsoft.com/en-us/graph/auth-register-app-v2

Then there is two different way to get a token depending on your need https://docs.microsoft.com/en-us/graph/auth-v2-user or https://docs.microsoft.com/en-us/graph/auth-v2-service

Here is an example about how to get a token without a

Convert file

Size limitation

For the moment only supports files up to 4MB in size


All versions of php-microsoft-graph-file-converter with dependencies

PHP Build Version
Package Version
Requires psr/http-client Version ^1.0
guzzlehttp/psr7 Version ^1.6
php Version ^7.2.0
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ypio/php-microsoft-graph-file-converter contains the following files

Loading the files please wait ....