• Stars
    star
    444
  • Rank 97,981 (Top 2 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 7 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate PDF invoices for your customers in laravel

StyleCI Status Build For Laravel Total Downloads Latest Stable Version License

What is Invoices?

Invoices is a Laravel library that generates a PDF invoice for your customers. The PDF can be either downloaded or streamed in the browser. It's highly customizable and you can modify the whole output view as well.

Sample Invoice

This is a sample invoice generated using this library:

Sample Invoice

$invoice = \ConsoleTVs\Invoices\Classes\Invoice::make()
                ->addItem('Test Item', 10.25, 2, 1412)
                ->addItem('Test Item 2', 5, 2, 923)
                ->addItem('Test Item 3', 15.55, 5, 42)
                ->addItem('Test Item 4', 1.25, 1, 923)
                ->addItem('Test Item 5', 3.12, 1, 3142)
                ->addItem('Test Item 6', 6.41, 3, 452)
                ->addItem('Test Item 7', 2.86, 1, 1526)
                ->addItem('Test Item 8', 5, 2, 923, 'https://dummyimage.com/64x64/000/fff')
                ->number(4021)
                ->with_pagination(true)
                ->duplicate_header(true)
                ->due_date(Carbon::now()->addMonths(1))
                ->notes('Lrem ipsum dolor sit amet, consectetur adipiscing elit.')
                ->customer([
                    'name'      => 'Èrik Campobadal Forés',
                    'id'        => '12345678A',
                    'phone'     => '+34 123 456 789',
                    'location'  => 'C / Unknown Street 1st',
                    'zip'       => '08241',
                    'city'      => 'Manresa',
                    'country'   => 'Spain',
                ])
                ->download('demo')
                //or save it somewhere
                ->save('public/myinvoicename.pdf');

Documentation

License

MIT License

Copyright (c) 2017 Erik Campobadal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Special thanks

More Repositories

1

Bootpack

Laravel 5 package bootstraper.
PHP
281
star
2

sswr

🔥 Svelte stale while revalidate (SWR) data fetching strategy
TypeScript
234
star
3

UIAdmin

UIAdmin - UI Kit 3 Responsive Admin Panel
HTML
175
star
4

vswr

🔥 Stale-While-Revalidate (SWR) strategy to fetch data in Vue 3
TypeScript
108
star
5

Profanity

PHP library to block bad words in a string
PHP
94
star
6

Laralum

Laralum - Laravel 5.3 Administration Panel
JavaScript
90
star
7

Charts

[Deprecated] Charts for Laravel
PHP
76
star
8

Links

Links statistics & link tracking for laravel 5, It tracks down browsers, operating systems, languages and more
HTML
49
star
9

Support

ConsoleTVs support library
PHP
27
star
10

Apify

API generator for Laravel 5
PHP
26
star
11

Identify

Laravel 5 Package to identify a User's Browser, Operating System, Language and Device, forked from unicodeveloper/laravel-identify
PHP
26
star
12

Payzap

Simple paypal payments for laravel
PHP
23
star
13

swrev

Framework agnostic stale while revalidate (SWR) data fetching strategy
TypeScript
19
star
14

Skara

Sample admin panel with tailwind and nuxtjs
JavaScript
12
star
15

Valar

A Developer Centric Async Rust Web Framework with batteries included
Rust
9
star
16

Progresser

Add progress to your laravel application
PHP
7
star
17

Websok

A high level websocket library. Use it when working with websockets to avoid a few boilerplate and make your code look cleaner.
Dart
7
star
18

VirtualMachine

A simple virtual machine built with c++ that supports multiple types and operations :)
C++
7
star
19

AdonisWebsok

Adonis (adonisjs) high level web sockets. Implements the websocket protocol specified by adonisjs.
Dart
6
star
20

Nuky

Moden UIKit 3 Administration panel
JavaScript
4
star
21

ChartisanReact

React adapter for any chartisan front-end on the web
TypeScript
3
star
22

Procedure

Procedure allows to execute tasks with a visual indication to the end user in the stdout.
Rust
3
star
23

C_Static_Shared_Libraries

Static and shared libraries examples using C.
C
3
star
24

StudentTemplate

Pandoc LaTeX Student Template
TeX
2
star
25

ECL

Erik's Configuration Language
C
2
star
26

ChartsDocs

Documentation for the charts project.
2
star
27

Noxen

Simple PHP CMS
JavaScript
2
star
28

Polaris

URL redirector made with VueJS
PHP
2
star
29

Telegram

Probably the most minimalist and realistically usable telegram API wrapper written in Python.
Python
2
star
30

cVM

A very simple and minimalist register based virtual machine written in C.
C
2
star
31

Rankify

Show your league of legends ranked statistics live on OBS / XSplit
JavaScript
1
star
32

Rust_Shared_Library_Example

Example of creating a Rust shared library on windows and use it with C.
Rust
1
star
33

Nuy

Nuy charting library
JavaScript
1
star
34

EVM

Erik's Virtual Machine - A memory efficient register-based virtual machine written on Rust
Rust
1
star
35

rVM

A very simple and minimalist register based virtual machine written in Rust.
Rust
1
star
36

Raygon

A very optimistic PHP web framework for enthusiasts (Abandoned, Proof of Concept)
PHP
1
star
37

Klib

Klib - A small, well documented, simple and efficient C library used for some of my projects.
C
1
star
38

zVM

A very simple and minimalist register based virtual machine written in Zig (Ziglang).
Zig
1
star
39

nVM

A very simple and minimalist register based virtual machine written in Nim (Nimlang).
Nim
1
star
40

Monotone

An experimental Visual Studio Code theme
1
star
41

Vue3AuthExample

A state of the art authentication example in Vue 3
TypeScript
1
star
42

gVM

A very simple and minimalist register based virtual machine written in Go (Golang).
Go
1
star