{"id":13563927,"url":"https://github.com/ConsoleTVs/Invoices","last_synced_at":"2025-04-03T20:32:09.949Z","repository":{"id":21474040,"uuid":"92863426","full_name":"ConsoleTVs/Invoices","owner":"ConsoleTVs","description":"Generate PDF invoices for your customers in laravel","archived":false,"fork":false,"pushed_at":"2024-03-13T07:06:47.000Z","size":74,"stargazers_count":450,"open_issues_count":16,"forks_count":128,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-11T09:42:03.204Z","etag":null,"topics":["download","generate","invoice","laravel","modern","pdf","pdf-invoice"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConsoleTVs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-05-30T18:25:10.000Z","updated_at":"2025-02-27T03:53:55.000Z","dependencies_parsed_at":"2024-01-14T03:47:45.606Z","dependency_job_id":"aa531cc2-61c4-4e30-a36f-050b13b5b2bf","html_url":"https://github.com/ConsoleTVs/Invoices","commit_stats":{"total_commits":62,"total_committers":12,"mean_commits":5.166666666666667,"dds":0.6290322580645161,"last_synced_commit":"9a6666953c15007e27b74cc0114bb5d34b4d7ed6"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FInvoices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FInvoices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FInvoices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FInvoices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConsoleTVs","download_url":"https://codeload.github.com/ConsoleTVs/Invoices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247075182,"owners_count":20879401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["download","generate","invoice","laravel","modern","pdf","pdf-invoice"],"created_at":"2024-08-01T13:01:24.652Z","updated_at":"2025-04-03T20:32:09.720Z","avatar_url":"https://github.com/ConsoleTVs.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://erik.cat/projects/invoices\"\u003e\u003cimg height=\"250\" src=\"http://i.imgur.com/t9G3rFM.png\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://styleci.io/repos/92863426\"\u003e\u003cimg src=\"https://styleci.io/repos/92863426/shield?branch=master\u0026style=flat\" alt=\"StyleCI Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://styleci.io/repos/92863426\"\u003e\u003cimg src=\"https://img.shields.io/badge/Built_for-Laravel-orange.svg\" alt=\"Build For Laravel\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/consoletvs/invoices\"\u003e\u003cimg src=\"https://poser.pugx.org/consoletvs/invoices/d/total.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/consoletvs/invoices\"\u003e\u003cimg src=\"https://poser.pugx.org/consoletvs/invoices/v/stable.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/consoletvs/invoices\"\u003e\u003cimg src=\"https://poser.pugx.org/consoletvs/invoices/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## What is Invoices?\n\nInvoices is a Laravel library that generates a PDF invoice for your customers. The PDF can be either downloaded or\nstreamed in the browser. It's highly customizable and you can modify the whole output view as well.\n\n## Sample Invoice\n\nThis is a sample invoice generated using this library:\n\n![Sample Invoice](https://i.gyazo.com/768f5b59791162e432f9cdfa15f017bc.png)\n\n```php\n$invoice = \\ConsoleTVs\\Invoices\\Classes\\Invoice::make()\n                -\u003eaddItem('Test Item', 10.25, 2, 1412)\n                -\u003eaddItem('Test Item 2', 5, 2, 923)\n                -\u003eaddItem('Test Item 3', 15.55, 5, 42)\n                -\u003eaddItem('Test Item 4', 1.25, 1, 923)\n                -\u003eaddItem('Test Item 5', 3.12, 1, 3142)\n                -\u003eaddItem('Test Item 6', 6.41, 3, 452)\n                -\u003eaddItem('Test Item 7', 2.86, 1, 1526)\n                -\u003eaddItem('Test Item 8', 5, 2, 923, 'https://dummyimage.com/64x64/000/fff')\n                -\u003enumber(4021)\n                -\u003ewith_pagination(true)\n                -\u003eduplicate_header(true)\n                -\u003edue_date(Carbon::now()-\u003eaddMonths(1))\n                -\u003enotes('Lrem ipsum dolor sit amet, consectetur adipiscing elit.')\n                -\u003ecustomer([\n                    'name'      =\u003e 'Èrik Campobadal Forés',\n                    'id'        =\u003e '12345678A',\n                    'phone'     =\u003e '+34 123 456 789',\n                    'location'  =\u003e 'C / Unknown Street 1st',\n                    'zip'       =\u003e '08241',\n                    'city'      =\u003e 'Manresa',\n                    'country'   =\u003e 'Spain',\n                ])\n                -\u003edownload('demo')\n                //or save it somewhere\n                -\u003esave('public/myinvoicename.pdf');\n```\n\n## Documentation\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://erik.cat/projects/invoices\"\u003e\u003cimg src=\"http://i.imgur.com/47WnADd.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2017 Erik Campobadal\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n\n## Special thanks\n\n* [Codevio](https://github.com/codevio);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FConsoleTVs%2FInvoices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FConsoleTVs%2FInvoices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FConsoleTVs%2FInvoices/lists"}