Download the PHP package ytec/rest-pdf-invoice without Composer

On this page you can find all versions of the php package ytec/rest-pdf-invoice. 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 rest-pdf-invoice

![Ytec Rest Pdf Invoice for Magento 2](https://i.imgur.com/d8QEHRb.png) # Ytec Rest Pdf Invoice for Magento 2
[![Packagist Version](https://img.shields.io/packagist/v/ytec/rest-pdf-invoice?logo=packagist&style=for-the-badge)](https://packagist.org/packages/ytec/rest-pdf-invoice) [![Packagist Downloads](https://img.shields.io/packagist/dt/ytec/rest-pdf-invoice.svg?logo=composer&style=for-the-badge)](https://packagist.org/packages/ytec/rest-pdf-invoice/stats) ![Supported Magento Versions](https://img.shields.io/badge/magento-%202.4.x-brightgreen.svg?logo=magento&longCache=true&style=for-the-badge) ![License](https://img.shields.io/badge/license-MIT-green?color=%23234&style=for-the-badge)

Introduction

Introducing Ytec Rest Pdf Invoice for Magento 2: a streamlined module that simplifies retrieving PDF invoices via REST API endpoints, doing exacly what it says. 😎

Features

Prerequisites

Installation

  1. Run composer require ytec/rest-pdf-invoice in your Magento root directory.
  2. Execute bin/magento setup:upgrade.
  3. Clear the cache by running bin/magento cache:clean and bin/magento cache:flush.

How to Use

Retrieving a PDF Invoice for an Order

Send a GET request to /rest/V1/orders/:orderId/pdf-invoice with appropriate authorization. Replace :orderId with the actual order ID.

Retrieving a PDF Invoice for an Invoice

Send a GET request to /rest/V1/invoices/:invoiceId with the header Accept: application/pdf and appropriate authorization. Replace :invoiceId with the actual invoice ID.

Dependencies

This module depends on the following Magento 2 modules:

License

This module is open-source but all credits belong to Ytec, a company of Matheus da Costa Marqui. For the full license, please refer to the LICENSE.md file.

Support and Contribution

For bugs, issues or feature requests, please open an issue on the repository or send an email to [email protected] for more personalized assistance.


Copyright (c) 2023 Ytec, a company of Matheus da Costa Marqui ([email protected])


All versions of rest-pdf-invoice with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ytec/base Version >=1.0.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 ytec/rest-pdf-invoice contains the following files

Loading the files please wait ....