Download the PHP package lxclass/phpautoword without Composer

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

PHPAutoword

适用于THINKPHP5框架 其他框架待完善

  1. 安装: 直接执行:

或者修改composer.json文件

  1. 使用方法

在 application/extra 目录下创建文件名为 documents_v1.php 的配置文件。

配置文件内容如下:

其中 template 为模板类型,暂时提供两种模板风格,分别为苹果绿(未完善)和葡萄紫,虽然两套模板都是巨丑无比。所以使用的过程中也可以自己开发模板。

重点: class 为将要生成文档的类(带命名空间)

  1. 示例:
注释参数 含义 说明
@title 标题 文档生成的类方法标题
@desc 描述 格式如下,地址、请求方式、备注等
@param 接收参数 格式如下,name:名称、type:类型、required:是否必须、default:默认值、desc:说明
@paramcode 接收参数示例 代码块
@return 返回参数 格式如下,name:名称、type:类型、required:是否必须、desc:说明、level:层级
@showcode 返回参数示例 代码块

类的具体实现方法:

编辑好配置文件之后 直接打开浏览器访问 http://localhost/api/doc 即可看到文档页。

  1. 展示样式: image image

All versions of phpautoword with dependencies

PHP Build Version
Package Version
No informations.
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 lxclass/phpautoword contains the following files

Loading the files please wait ....