Download the PHP package coyotito/ipp without Composer

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

coyotito/ipp

A clean, standards-compliant IPP (Internet Printing Protocol) client for PHP. Discover network printers, read their capabilities, and submit print jobs — vendor and model agnostic, conformant to RFC 8011 (model/semantics) and RFC 8010 (encoding/transport).

No CUPS required: it speaks IPP directly over HTTP(S) to port 631.

Requirements

Installation

Quick start

Discovery

Platform support

Discovery has two interchangeable strategies; pick what fits the host OS:

Strategy How macOS Linux Windows
Discovery::ippfind() CUPS' ippfind (wraps Bonjour/dns-sd & Avahi) ✅ built-in ✅ via CUPS ❌ no CUPS by default
Discovery::mdns() pure-PHP multicast DNS (clue/socket-raw)
…->manual(host) known IP/host, no discovery

On Windows, use Discovery::mdns() — there is no ippfind. Make sure ext-sockets is enabled and allow the app inbound UDP in Windows Firewall, or fall back to manual(). (In an Electron/NativePHP app you can also discover with a Node mDNS library and feed the URI straight into Printer::connect().)

Both strategies, and the underlying command/socket runners, are interfaces — swap or fake them freely.

Transport

The default transport is Guzzle, but it only depends on the PSR-18 ClientInterface, so you can inject any client (or a Guzzle MockHandler in tests):

Notes for real network printers:

Printers don't always accept PDF

Many printers (most inkjets) do not list application/pdf in document-format-supported — they expect raster. Decide per printer:

Rasterizing PDF → PWG Raster/URF is your application's job (e.g. Ghostscript / mutool / CUPS filters); this package reports what the printer accepts and ships the bytes you give it with the right document-format.

Supported operations

Get-Printer-Attributes, Print-Job, Validate-Job, Create-Job, Send-Document, Get-Job-Attributes, Get-Jobs, Cancel-Job. The wire format supports every IPP value syntax, including 1setOf values and nested collections (media-col).

Conformance & testing

License

MIT.


All versions of ipp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
clue/socket-raw Version ^1.6
guzzlehttp/guzzle Version ^7.9
symfony/process 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 coyotito/ipp contains the following files

Loading the files please wait ...