Download the PHP package jobsys/print-module without Composer

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

Print 基本模块 (Optional)

该模板提供了打印模板管理,打印模板设计,批量打印等功能。

模块安装

依赖

PHP 依赖 (无)

JS 依赖

配置

权限配置

app/Boot/BootPermission::permisions()

模块功能

打印模板管理

提供了打印模板的增删改查、复制功能并可以设置业务参数。

开发规范

  1. 提供了打印模板的增删改查和复制功能。打印模板有一个 parent_id(原型模板)的属性,没有 parent_id 的模板为原型模板,有 parent_id 的模板为原型模板的副本。

    注意:如果创建的时候选择了一个复制出来的模板(即有 parent_id)做原型模板,那么创建出来的模板 parent_id 为原型模板的 parent_id,而不是原型模板的 id

  2. 打印模板可以设置业务参数,设置的业务参数将会在设计打印模板时列出并可以拖拽使用。

打印模板设计

打印模板设计使用的是 vue-plugin-hiprint 插件,该插件是基于 hiprint 开发的,具体使用方法请参考 vue-plugin-hiprint 插件的文档。 设计好的打印模板将会以 JSON 保存在数据库中。

  1. 需要在页面引入 print-lock.css文件,否则在打印时可能会出现多页内容重叠的情况。可以参考 【vue-plugin-hiprint】使用-入门篇

  2. 引用方式 <link rel="stylesheet" media="print" type="text/css" href="{{asset('print-lock.css')}}">,使用 import 引入方式无效。

  3. main.js

打印

打印功能是依赖模板设计功能完成,由于打印模板插件本身就集成了设计、预览、打印功能,所以在打印的时候将会隐藏设计功能,直接进行预览和打印。

开发规范

  1. 准备打印模板的打印参数,如果只有一个 object 表示只打印一份,如果是一个 array 表示批量打印。

  2. 调用 PrintServiceprint 方法,传入打印模板的 id 和打印参数即可。

模块代码

数据表

数据模型/Scope

Controller

UI

PC 端页面

PC 组件

Service


All versions of print-module 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 jobsys/print-module contains the following files

Loading the files please wait ....