{"id":22276161,"url":"https://github.com/noud/laravel-invoices-usage","last_synced_at":"2026-04-12T17:52:36.437Z","repository":{"id":72328680,"uuid":"278716197","full_name":"noud/laravel-invoices-usage","owner":"noud","description":"Laravel Invoices usage","archived":false,"fork":false,"pushed_at":"2023-02-01T21:07:18.000Z","size":833,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-09T14:54:17.156Z","etag":null,"topics":["invoice","invoices","laravel","pdf"],"latest_commit_sha":null,"homepage":"","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/noud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-10T19:24:24.000Z","updated_at":"2020-09-26T10:14:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f7806e2-aa2b-4b7d-a3e6-9d6a60ba105f","html_url":"https://github.com/noud/laravel-invoices-usage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/noud/laravel-invoices-usage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-invoices-usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-invoices-usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-invoices-usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-invoices-usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noud","download_url":"https://codeload.github.com/noud/laravel-invoices-usage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-invoices-usage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273302432,"owners_count":25081233,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["invoice","invoices","laravel","pdf"],"created_at":"2024-12-03T14:13:45.260Z","updated_at":"2026-04-12T17:52:31.378Z","avatar_url":"https://github.com/noud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Laravel Invoices](http://github.com/LaravelDaily/laravel-invoices) usage\n\nDemonstrates Laravel-invoices usage.\n\n## Installation\n\nInstall the package by running this command in your terminal/cmd:\n```\ncomposer require noud/laravel-invoices-usage\n```\n\n## Usage\n\nAfter install the package gives 3 URLs to see Laravel-invoices at work.\n```\nhttp://localhost/invoices/example/random\nhttp://localhost/invoices/example/advanced\nhttp://localhost/invoices/example/alternatives\n```\n\nSee result [Invoice_AA_00001.pdf](docs/examples/invoice_AA_00001.pdf).\n\nSee result [Roosevelt Lloyd Ashley Medina.pdf](docs/examples/Roosevelt%20Lloyd%20Ashley%20Medina.pdf).\n\n## Advanced Usage Localized to Dutch\n\n``` php\nuse LaravelDaily\\Invoices\\Invoice;\nuse LaravelDaily\\Invoices\\Classes\\Party;\nuse LaravelDaily\\Invoices\\Classes\\InvoiceItem;\n\n\u003c...\u003e\n\n        $client = new Party([\n            'name'          =\u003e 'Secure Code',\n            'address'       =\u003e 'Voldijkje 13, 5053 AG  GOIRLE',\n            'vat'           =\u003e 'NL003331926895',\n            'phone'         =\u003e '06 1987 3003',\n            'custom_fields' =\u003e [\n                'kvk'   =\u003e '783999505',\n                'bank_number'  =\u003e 'NL64RABO0116846267',\n                'bank_name'  =\u003e 'Rabobank',\n                'swift' =\u003e 'RABONL2U',\n            ],\n        ]);\n\n\u003c...\u003e\n\n        $this-\u003ename = 'Factuur';\n        $this-\u003edateFormat = Config::get('invoice.date.format');\n        $this-\u003ecurrencySymbol = Config::get('invoice.currency.symbol');\n        $this-\u003ecurrencyCode = strtolower(Config::get('invoice.currency.code'));\n        $this-\u003ecurrencyDecimalPoint = Config::get('invoice.currency.decimal_point');\n        $this-\u003ecurrencyThousandsSeparator = Config::get('invoice.currency.thousands_separator');\n        $this-\u003ecurrencyFormat = Config::get('invoice.currency.format');\n        $this-\u003eclient = new Party(Config::get('invoice.seller.attributes'));\n        $this-\u003eserialNumberSequence = Config::get('invoice.serial_number.sequence');\n        $this-\u003eserialNumberSeries = Config::get('invoice.serial_number.series');\n        $this-\u003eserialNumberFormat = Config::get('invoice.serial_number.format');\n        $this-\u003etaxRate = 21;\n\n        $invoice = Invoice::make('receipt')\n            -\u003ename($this-\u003ename)\n            -\u003eseries('BIG')\n            -\u003esequence(667)\n            // @todo serialNumberFormat does not format\n            -\u003eserialNumberFormat($this-\u003eserialNumberSeries . '/' . $this-\u003eserialNumberSequence)\n            // -\u003eserialNumberFormat($this-\u003eserialNumberSeries . '/' . $this-\u003eserialNumberSequence)\n            // -\u003eserialNumberFormat($this-\u003eserialNumberFormat)\n            -\u003eseller($this-\u003eclient)\n            -\u003ebuyer($customer)\n            -\u003edate(now()-\u003esubWeeks(3))\n            -\u003edateFormat($this-\u003edateFormat)\n            -\u003epayUntilDays(14)\n            -\u003ecurrencySymbol($this-\u003ecurrencySymbol)\n            -\u003ecurrencyCode($this-\u003ecurrencyCode)\n            // @todo currency does not work\n            -\u003ecurrencyFormat($this-\u003ecurrencySymbol . $this-\u003ecurrencyValue)\n            -\u003ecurrencyThousandsSeparator($this-\u003ecurrencyThousandsSeparator)\n            -\u003ecurrencyDecimalPoint($this-\u003ecurrencyDecimalPoint)\n            -\u003efilename($this-\u003eclient-\u003ename . ' ' . $customer-\u003ename)\n            -\u003eaddItems($items)\n            -\u003enotes($notes)\n            -\u003elogo(public_path('vendor/invoices/sample-logo.png'));\n\n       if (isset($this-\u003etaxRate)) {\n            $invoice-\u003etaxRate($this-\u003etaxRate);\n        }\n\n        // You can additionally save generated invoice to configured disk\n        $invoice-\u003esave('public');\n            \n        $link = $invoice-\u003eurl();\n        // Then send email to party with link\n\n        // And return invoice itself to browser or have a different view\n        return $invoice-\u003estream();\n```\nSee result [Secure Code Ashley Medina.pdf](docs/Secure%20Code%20Ashley%20Medina%20(nl).pdf).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Flaravel-invoices-usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoud%2Flaravel-invoices-usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Flaravel-invoices-usage/lists"}