Download the PHP package italystrap/theme-json-generator without Composer
On this page you can find all versions of the php package italystrap/theme-json-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download italystrap/theme-json-generator
More information about italystrap/theme-json-generator
Files in italystrap/theme-json-generator
Package theme-json-generator
Short Description WordPress theme.json generator from a PHP array
License MIT
Informations about the package theme-json-generator
ItalyStrap Theme Json Generator
WordPress Theme Json Generator: The OOP Way
Work in Progress: This project is experimental and currently in development. As we navigate through the 0.x.x versions, please note that API changes may occur. For understanding versioning, refer to the SemVer specification.
Project Vision: The aim is to revolutionize the way theme.json
files (and other *.json
files within the styles
folder) are generated because json sucks π (just kidding).
PHP offers the flexibility to divide configurations into multiple files, include comments, and generate dynamic content, overcoming the limitations of JSON.
Who is This For?
- Ideal for those seeking a more maintainable and predictable method to generate JSON files for WordPress themes.
- Perfect if you prefer writing your configurations once and reusing them efficiently.
Not Suited For:
- Users content with direct JSON file manipulation without the need for PHP generation.
- Those who believe this approach complicates the JSON generation process.
- Individuals comfortable managing extensive JSON configurations manually.
Explore With Us: Join us in exploring this CLI and WP_CLI tool for generating and validating JSON files for Block Themes, and see how it can streamline your development process.
Important Considerations for Developers:
This package is designed with the development phase in mind and should only be used for development purposes. For performance reasons, it is not recommended to use this tool in production environments. JSON files should be generated in advance during the development process and considered as a form of cache in your project. Generating these files on the fly in a production environment is strongly discouraged. Therefore, this package should not be used in production.
Extending Functionality with CLI Commands:
To enhance your development workflow, this package includes CLI commands that simplify the initialization, generation, and validation of JSON files. These tools are crafted to streamline the creation and management of your themeβs configuration, ensuring a smooth and efficient development process.
Table Of Contents
- Installation
- Documentation
- Contributing
- License
- Credits
- Resources
Installation
The best way to use this package is through Composer:
This package adheres to the SemVer specification and will be fully backward compatible between minor versions.
Documentation
- Basic Usage
- Advanced Usage
π
Changelog
Until the first stable version is released BC breaks may occur.
π
Contributing
All feedback / bug reports / pull requests are welcome.
License
Copyright (c) 2021 Enea Overclokk, ItalyStrap
This code is licensed under the MIT.
Credits
Resources
All versions of theme-json-generator with dependencies
ext-json Version *
composer/composer Version ^2.1
composer-plugin-api Version ^2.0
italystrap/config Version ^2.4
italystrap/empress Version ^2.0
italystrap/finder Version dev-master
mexitek/phpcolors Version ^1.0
spatie/color Version ~1.5.0
phenx/php-font-lib Version ^0.5.4
justinrainbow/json-schema Version ^5.2
scssphp/scssphp Version ^1.12.1
sabberworm/php-css-parser Version ^8.5
brick/varexporter Version ^0.3.8
webimpress/safe-writer Version ^2.2
symfony/polyfill-php80 Version ^1.22
symfony/event-dispatcher Version ^5.4
webmozart/assert Version ^1.11