dotkernel / dot-maker
Dotkernel library for programmatically generating structured code files
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
Requires (Dev)
- laminas/laminas-coding-standard: ^3.1.0
- mikey179/vfsstream: ^1.6.12
- phpstan/phpstan: ^2.1.17
- phpstan/phpstan-phpunit: ^2.0.6
- phpunit/phpunit: ^10.5.47
This package is auto-updated.
Last update: 2025-08-27 15:33:55 UTC
README
Programmatically generate Dotkernel project files and directories.
Documentation
Documentation is available at: https://docs.dotkernel.org/dot-maker/.
Badges
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.