dotkernel/dot-maker
Dotkernel library for programmatically generating structured code files
Maintainers
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
Requires (Dev)
- laminas/laminas-coding-standard: ^3.1.0
- mikey179/vfsstream: ^1.6.12
- phpstan/phpstan: ^2.1.33
- phpstan/phpstan-phpunit: ^2.0.10
- phpunit/phpunit: ^10.5.60
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 5401882a15a82e5152c78a5e8a3d859d7020e5df
- Dotkernel Team <team.woop@dotkernel.com>
README
Programmatically generate Dotkernel project files and directories.
Documentation
Documentation is available at: https://docs.dotkernel.org/dot-maker/.
Badges
👁 OSS Lifecycle
👁 PHP from Packagist (specify version)
👁 GitHub issues
👁 GitHub forks
👁 GitHub stars
👁 GitHub license
👁 Build Static
👁 codecov
👁 PHPStan
Installation
Run the following command in your terminal:
composer require --dev dotkernel/dot-maker
Setup
Once installed, dot-maker is ready for usage, no need for extra configurations.
(Optional) Add dot-maker to composer.json
Open your project's composer.json and locate the scripts section.
If it does not exist, create it at the document's root level.
Register a new script by appending "alias": "dot-maker" to the scripts section, where alias can be any string you want; like, for example, make.
{
"scripts": {
"make": "dot-maker"
}
}
Usage
Invoke dot-maker by executing:
- the bin file in your vendor directory
./vendor/bin/dot-maker - the (optional) Composer script created during Setup:
composer make
Follow the instructions on the screen to create a specific Dotkernel project component.
