Skip to content

Commit

Permalink
Merge pull request #8 from amattu2/amattu2/issue7
Browse files Browse the repository at this point in the history
feat: Add Avery 5163 Template
  • Loading branch information
amattu2 authored Jul 24, 2024
2 parents a85674c + 46f5d98 commit ccf75dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This is a PHP project to implement support for generating [Avery.com](https://ww
The currently implemented templates are listed below.

- Avery 5160
- Avery 5163
- Avery Presta 94107
- Avery 5392

Expand All @@ -17,7 +18,6 @@ The currently implemented templates are listed below.
Upcoming support for the following templates is planned. Feel free to contribute to the development effort by submitting a pull request. See [/templates](/templates/) for the PDF template that can be used during development to ensure sizing and spacing accuracy. **If you have an urgent need for a specific template to be supported, open a issue to let me know.**

- Avery 5162
- Avery 5163
- Avery 5195
- Avery 5816
- Avery 5817
Expand Down
14 changes: 14 additions & 0 deletions src/LabelSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ class LabelSheet
"border_width" => 0.2,
"size" => "Letter",
],
"Avery5163" => [
"top" => 12.9,
"left" => 4,
"rows" => 5,
"row_height" => 50.6,
"row_gap" => 0.15,
"column_gap" => 5,
"columns" => 2,
"column_width" => 101.5,
"max_lines" => 10,
"border_radius" => 4.85,
"border_width" => 0.1,
"size" => "Letter",
],
"AveryPresta94107" => [
"top" => 15.9,
"left" => 15.9,
Expand Down

0 comments on commit ccf75dc

Please sign in to comment.