Download the PHP package matronator/mtrgen without Composer
On this page you can find all versions of the php package matronator/mtrgen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download matronator/mtrgen
More information about matronator/mtrgen
Files in matronator/mtrgen
Package mtrgen
Short Description PHP file generator engine for generating files from templates.
License MIT
Informations about the package mtrgen
MTRGen
Generate files from templates with ease.
Official Website | Documentation | Template Repository
File generator for source code files.
MTRGen is a CLI tool that can be used in any project and generate files in any language. Create your own templates or use templates from the online repository. MTRGen is a great tool for generating boilerplate code, but it can also be used to generate any other type of file.
Requirements
- PHP >= 8.1
- Composer
Instalation
Install with Composer:
Troubleshooting
If you get this error when trying to install:
Run this command to update composer to the latest version:
If you can't or don't want to update composer, use version "^1.0"
of this package as that doesn't depend on Composer runtime API 2.2.
Documentation
Read the full documentation here - needs to be updated to version 2!
Quickstart
Here are some examples of commands you can run with MTRGen:
License
MIT License
Copyright (c) 2022 Matronator
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of mtrgen with dependencies
nette/php-generator Version ^3.0 || ^4.0
symfony/console Version ^6.2 || ^7.0
nette/neon Version ^3.3
nette/safe-stream Version ^3.0
symfony/yaml Version ^6.2 || ^7.0
symfony/validator Version ^6.2 || ^7.0
nette/finder Version ^3.0
opis/json-schema Version ^2.3
matronator/parsem Version ^3.2
guzzlehttp/guzzle Version ^7.5