authanram / generators
语言无关的代码生成
1.1.0
2022-02-11 18:12 UTC
Requires
- php: ^8.0
- illuminate/container: ^9.0
- illuminate/filesystem: ^9.0
- illuminate/pipeline: ^9.0
- illuminate/support: ^9.0
- webmozart/assert: ^1.10
Requires (Dev)
- nunomaduro/phpinsights: ^2.0
- pestphp/pest: ^1.20
- pestphp/pest-plugin-mock: ^1.0
This package is auto-updated.
Last update: 2024-09-20 23:28:56 UTC
README
此包关于 语言无关的代码生成,迅速完成。
安装
您可以通过composer安装此包。
composer require authanram/generators
基本使用示例
这里有一个如何在非常基本的方式中使用它的示例
(new Authanram\Generators\Generator()) ->withTemplate('first {{ second }} third {{ fourth }}') ->withInput(['second' => '2nd', 'fourth' => '4th']) ->get();
这将导致以下结果
first 2nd third 4th
文档
要了解有关此包的所有信息,请访问文档。
(注意:文档目前正在建设中。)
变更日志
请参阅变更日志以获取有关最近更改的更多信息。
贡献
请参阅贡献指南以获取详细信息。
安全漏洞
请审查我们的安全策略了解如何报告安全漏洞。
致谢
许可证
MIT许可证(MIT)。请参阅许可证文件以获取更多信息。