Download the PHP package a-schild/pdfcalendarbuilder without Composer
On this page you can find all versions of the php package a-schild/pdfcalendarbuilder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download a-schild/pdfcalendarbuilder
More information about a-schild/pdfcalendarbuilder
Files in a-schild/pdfcalendarbuilder
Download a-schild/pdfcalendarbuilder
More information about a-schild/pdfcalendarbuilder
Files in a-schild/pdfcalendarbuilder
Vendor a-schild
Package pdfcalendarbuilder
Short Description PDF month calendar generator
License Apache-2.0
Homepage https://github.com/a-schild/pdfcalendarbuilder
Package pdfcalendarbuilder
Short Description PDF month calendar generator
License Apache-2.0
Homepage https://github.com/a-schild/pdfcalendarbuilder
Please rate this library. Is it a good library?
Informations about the package pdfcalendarbuilder
PDFCalendarBuilder
Generate pdf month calendars with autoscaling/sizing
With the addMonth() introduced in 1.0.8 you can generate a PDF containing multiple months. Each month will be on it's own page then.
Unique features
- The class can try to put everything on one page
- In an normal calendar, all rows have the same height
-
This library can shrink/expand rows, so everything fits on one page. See setResizeRowHeightsIfNeeded(true/false);
- If this is not enough, it can reduce the font size until everything fits on one page. See setShrinkFontSizeIfNeeded(true/false);
Additional options
- Full time display: Show times as
9:00instead of9hwithsetShowFullTime(true) - Custom grid height: Override the auto-calculated grid height with
overrideGridHeight($height), useful when embedding the calendar in a larger PDF layout - End time display: Show entry end times with
setPrintEndTime(true) - Categories: Define categories with
addCategory($id, $name, $textColor, $bgColor)and assign entries viaaddEntryCategory(). CallprintCategories()beforebuildCalendar()to render a color legend at the bottom of the page. - Week start: Set Monday as the first day of the week with
setWeekStarts(1)(default is 0 for Sunday) - Font sizes: Customize with
setTitleFontSize(),setHeaderFontSize(),setNumberFontSize(),setEventFontSize(),setCategoryFontSize()
Usage:
In your composer.json add the dependency:
Creating the class and generate calendar
Creating the class and generate calendar for 3 months (Required version 1.0.7 or higher)
Examples
- Empty calendar, no entries, just a month grid
- Overflowing boxes in normal libraries
- Resize row heights to adapt space usage
- Resize row heights and shrink font size if needed
- Day spanning events
(C) 2019 - 2026 A.Schild
All versions of pdfcalendarbuilder with dependencies
PHP Build Version
Package Version
The package a-schild/pdfcalendarbuilder contains the following files
Loading the files please wait ...