Download the PHP package poetry/phpreaddocxmath without Composer

On this page you can find all versions of the php package poetry/phpreaddocxmath. 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 phpreaddocxmath

phpreaddocxmath

介绍

php 读取远程docx文件,支持数学公式

这是一个php读取word的docx\ 我写这个的目的是为了完成公司的一个需求,要求能读取word中的公式,图片,文字数据。大部分都是数学题,物理题,化学题\ 目前支持读取文本,图片,公式,表格 文本目前只支持下划线,加粗,删除线。不只是大小,颜色 不支持docx域。能读到内容,但是回现还没有找到解决方案 不支持适量矢量图(譬如wmf,emf)

安装教程

(1)git clone下来可以直接用cli运行demo

(2)支持composer安装

使用说明

  1. php7.0以上版本
  2. 需要php拓展 XSL extension 文档 https://www.php.net/manual/zh/class.xsltprocessor.php

公式mathml兼容性

读取出出来的数学公式是mathml格式 IE浏览器,QQ浏览器,safri浏览器显示都没问题,但是Google显示有问题\ 查询了相关资料,Chrome浏览器在版本24的时候曾经昙花一现支持了下,不过很快就取消了支持,据说是出于安全考虑

我发先这个东西可以完美解决因浏览器问题,导致的数学公式显示问题 convent MATHML to MathJax,MathJax https://www.mathjax.org/

js渲染的公式,如果是vue的页面,必须在页面加载完成后,再引入js才有效果。


All versions of phpreaddocxmath with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
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 poetry/phpreaddocxmath contains the following files

Loading the files please wait ....