- How do I install tzsk/collage in a Laravel project?
- Install it with Composer using composer require tzsk/collage. Laravel's package auto-discovery registers the service provider, so no manual wiring is normally required. Check the README for any publishable configuration file and for the exact namespace of the collage entry point before writing your first render call.
- Which Laravel and PHP versions does tzsk/collage support?
- Release 7.0.0 adds Laravel 10.x support and requires PHP 8.1 or newer, since PHP 8.0 support was dropped. That PHP floor matches Laravel 10's own requirement, so adopting 7.0.0 introduces no constraint beyond the framework upgrade you are already making. Applications on older Laravel versions should stay on the matching older major line.
- Is tzsk/collage 7.0.0 a breaking change from 6.x?
- Yes, but only because it removes PHP 8.0 support, which justifies the major version bump under semver. There are no new features and no reported API changes beyond that PHP floor. The other change, replacing PHP CS Fixer with Pint, is developer tooling and does not affect runtime behaviour.
- What can I use tzsk/collage for?
- It is designed for combining multiple images into a single composited image, which fits galleries, thumbnail sheets, product grids and social media previews. Anything where you would otherwise stitch images together by hand in an image editor is a reasonable candidate. Because layout, sizing and spacing are configurable, the same package can serve several output formats in one application.
- Can I configure the collage layout, image sizes and spacing?
- Yes. The package lets you configure layouts, sizing and spacing, then render the composited image through a simple API call. That means grid shapes and gutters are set in configuration or per-render options rather than hard-coded in your controller. Consult the README for the exact option names supported by your installed version.
- My application is still on PHP 8.0, which version of tzsk/collage should I use?
- Stay on the 6.x line, since 7.0.0 requires PHP 8.1 or newer. Before you accept that as a long-term resting place, confirm with the maintainers that 6.x still receives fixes, especially security fixes. Track the pin as a documented exception with a target date for reaching PHP 8.1 and Laravel 10.
- Does tzsk/collage 7.0.0 add new features or change how collages are generated?
- No, 7.0.0 is a compatibility and tooling release rather than a feature release. Its substantive changes are Laravel 10 support, the removal of PHP 8.0, and swapping PHP CS Fixer for Pint. Verify against the changelog before upgrading to confirm no behavioural changes were slipped in silently.
- Is tzsk/collage actively maintained and safe to run in production?
- The 7.0.0 release shows continued maintenance and alignment with the current Laravel LTS track, which is a positive health signal. However, no internal assessment of this package previously existed, so its maintenance cadence, security posture and bus factor have not been validated by your team. Before relying on it, confirm ownership, add it to vulnerability scanning and licence review, and check the support window for older branches.
- Is tzsk/collage a production dependency or a development-only dependency?
- That depends entirely on how your applications use it, and it must be answered per project. If the package renders images at request time or during asset generation, it is a runtime dependency and the upgrade is urgent. If it only supports local tooling, the risk and priority are far lower.
- Are there alternatives to tzsk/collage for compositing images in Laravel?
- General-purpose image manipulation libraries such as Intervention Image can compose images but leave you to write the grid and spacing logic yourself. ImageMagick's montage command is another option if you already have the binary available. tzsk/collage is the narrower choice when you specifically want configurable collage layouts behind a simple Laravel-friendly API.