Download the PHP package chapdel/laravel-invoices without Composer

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

![Banner]

Laravel Invoices

Latest Stable Version Total Downloads Latest Unstable Version License

version 2 version 1

This Laravel package provides an easy to use interface to generate Invoice PDF files with your provided data.

Invoice file can be stored, downloaded, streamed on any of the filesystems you have configured. Supports different templates and locales.

Originally package was developed on PHP 7.3.11 and Laravel 6.2, but should work on lower versions too.

Features

Change log

Please see the changelog for more information on what has changed recently.

Installation

Via Composer

Laravel version <= 10

Laravel version <= 8

Laravel version <= 7

After installing Laravel Invoices, publish its assets, views, translations and config using the invoices:install Artisan command:

Updates

Since it is evolving fast you might want to have latest template after update using Artisan command:

It will give a warning if you really want to override default resources

Or alternatively it can be done separately.

For Laravel version < 5.5

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

If you want to use the facade to generate invoices, add this to your facades in config/app.php

Basic Usage

RandomController.php

See result Invoice_AA_00001.pdf.

Advanced Usage

See result Roosevelt Lloyd Ashley Medina.pdf.

Alternatives using facade

Optionally you can use a facade to make new party or item

Templates

After publishing assets you can modify or make your own template for invoices.

Templates are stored in the resources/views/vendor/invoices/templates directory. There you will find default.blade.php template which is used by default.

You can specify which template to use by calling template method on Invoice object.

For example if you have resources/views/vendor/invoices/templates/my_company.blade.php it should look like this:

Too see how things work in a template you can view default.blade.php as an example.

Config

Available Methods

Almost every configuration value can be overrided dynamically by methods.

Invoice

General

Serial number

Date

Currency

File

InvoiceItem

Testing

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Author

License

GPL-3.0-only. Please see the license file for more information.


All versions of laravel-invoices with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0|^8.2
barryvdh/laravel-dompdf Version ^2.0
illuminate/http Version ^9|^10
illuminate/support Version ^9|^10
symfony/http-foundation Version ^6.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 chapdel/laravel-invoices contains the following files

Loading the files please wait ....