CodeIgniter · Integration
CodeIgniter integration
At a glance
Section titled “At a glance”Use nextpdf/codeigniter when you need your CodeIgniter 4 application to create Portable Document Format (PDF) files from services, return framework-native download responses, and queue PDF generation.
Section map
Section titled “Section map”| Page | Use it for |
|---|---|
| Overview | Package boundaries and supported workflows. |
| Install | Composer install, services, and helper setup. |
| Quickstart | Your first controller response. |
| Configuration | Configuration class keys and defaults. |
| API | Library wrapper, response helpers, and queue job. |
| Developer guide | Service lifecycle, builder callables, and extension points. |
| Production usage | Deployment and operational patterns. |
| Security and operations | Headers, path confinement, and queue safety. |
| Troubleshooting | Common failures and diagnostics. |
Primary APIs
Section titled “Primary APIs”| Symbol | Role |
|---|---|
NextPDF\CodeIgniter\Libraries\Pdf | Controller-facing library wrapper for a single Document. |
NextPDF\CodeIgniter\Http\PdfResponse | Inline, download, streamed inline, and streamed download responses. |
NextPDF\CodeIgniter\Jobs\GeneratePdfJob | Queue job for static builder callables under App\PdfBuilders. |