{"id":15626228,"url":"https://github.com/rawilk/laravel-printing","last_synced_at":"2025-05-14T11:12:33.816Z","repository":{"id":37403690,"uuid":"275178835","full_name":"rawilk/laravel-printing","owner":"rawilk","description":"Direct printing for Laravel apps.","archived":false,"fork":false,"pushed_at":"2025-03-31T18:32:54.000Z","size":607,"stargazers_count":495,"open_issues_count":3,"forks_count":77,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-04T06:00:28.866Z","etag":null,"topics":["cups","ipp","laravel-printing","printer","printnode"],"latest_commit_sha":null,"homepage":"https://randallwilk.dev/docs/laravel-printing","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/rawilk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"rawilk"}},"created_at":"2020-06-26T14:44:58.000Z","updated_at":"2025-03-31T18:32:58.000Z","dependencies_parsed_at":"2023-02-01T02:16:09.622Z","dependency_job_id":"eaff44b3-589e-49d7-85c1-0deeaa1e2683","html_url":"https://github.com/rawilk/laravel-printing","commit_stats":{"total_commits":174,"total_committers":6,"mean_commits":29.0,"dds":"0.20114942528735635","last_synced_commit":"0de2f350bedfd693c9624c08508e1f106245e22c"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":"rawilk/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Flaravel-printing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Flaravel-printing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Flaravel-printing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Flaravel-printing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rawilk","download_url":"https://codeload.github.com/rawilk/laravel-printing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248384521,"owners_count":21094732,"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":["cups","ipp","laravel-printing","printer","printnode"],"created_at":"2024-10-03T10:11:33.128Z","updated_at":"2025-04-11T11:35:03.402Z","avatar_url":"https://github.com/rawilk.png","language":"PHP","funding_links":["https://github.com/sponsors/rawilk"],"categories":[],"sub_categories":[],"readme":"# Printing for Laravel\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/rawilk/laravel-printing.svg?style=flat-square)](https://packagist.org/packages/rawilk/laravel-printing)\n![Tests](https://github.com/rawilk/laravel-printing/workflows/Tests/badge.svg?style=flat-square)\n[![Total Downloads](https://img.shields.io/packagist/dt/rawilk/laravel-printing.svg?style=flat-square)](https://packagist.org/packages/rawilk/laravel-printing)\n[![PHP from Packagist](https://img.shields.io/packagist/php-v/rawilk/laravel-printing?style=flat-square)](https://packagist.org/packages/rawilk/laravel-printing)\n[![License](https://img.shields.io/github/license/rawilk/laravel-printing?style=flat-square)](https://github.com/rawilk/laravel-printing/blob/main/LICENSE.md)\n\n![social image](https://banners.beyondco.de/Printing%20for%20Laravel.png?theme=light\u0026packageManager=composer+require\u0026packageName=rawilk%2Flaravel-printing\u0026pattern=parkayFloor\u0026style=style_1\u0026description=Direct+printing+for+Laravel+apps.\u0026md=1\u0026showWatermark=0\u0026fontSize=100px\u0026images=printer)\n\nPrinting for Laravel allows your application to directly send PDF documents or raw text directly from a remote server\nto a printer on your local network. Receipts can also be printed by first generating the raw text via the `Rawilk\\Printing\\Receipts\\ReceiptPrinter` class, and then sending the text as a raw print job via the `Printing` facade.\n\n```php\n$printJob = Printing::newPrintTask()\n    -\u003eprinter($printerId)\n    -\u003efile('path_to_file.pdf')\n    -\u003esend();\n\n$printJob-\u003eid(); // the id number returned from the print server\n```\n\nSupported Print Drivers:\n\n- PrintNode: https://printnode.com\n- CUPS: https://cups.org\n- Custom: Configure your own custom driver\n\n## Documentation:\n\nFor documentation, please visit: https://randallwilk.dev/docs/laravel-printing\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require rawilk/laravel-printing\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"printing-config\"\n```\n\nThe contents of the default configuration file can be found here: https://github.com/rawilk/laravel-printing/blob/main/config/printing.php\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email randall@randallwilk.dev instead of using the issue tracker.\n\n## Credits\n\n- [Randall Wilk](https://github.com/rawilk)\n- [All Contributors](../../contributors)\n- _Mike42_ for the [PHP ESC/POS Print Driver](https://github.com/mike42/escpos-php) library\n\nInspiration for the PrintNode API wrapper comes from:\n\n- [PrintNode/PrintNode-PHP](https://github.com/PrintNode/PrintNode-PHP)\n- [phatkoala/printnode](https://github.com/PhatKoala/PrintNode)\n\nInspiration for certain aspects of the API implementations comes from:\n\n- [stripe-php](https://github.com/stripe/stripe-php)\n\n## Disclaimer\n\nThis package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawilk%2Flaravel-printing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawilk%2Flaravel-printing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawilk%2Flaravel-printing/lists"}