Puli is a new toolkit built on top of Composer that helps to manage and exchange resources like configuration files, images, CSS files, translation catalogs, and others. These are, you’ll agree, often difficult to maintain and share across projects.
Puli provides a framework-agnostic solution to this problem, keeping track of every resource location and avoiding the problems of using absolute or relative paths inside different systems.
How it works
- You map resources via CLI.
- A
puli.json
file keeps track of them. - You use a
ResourceRepository
instance to handle resources.
The Puli project also provides libraries for other functionalities like URL generation, or Twig support.
Continue reading %Can PuliPHP Re-Revolutionize PHP Package Development?%
by Nicola Pietroluongo via SitePoint
No comments:
Post a Comment