Libraries tagged by no boilerplate
snack/snack
14 Downloads
Biblioteca para auxiliar no pontapé inicial em um projeto web. A idéia foi juntar alguns dos projetos que mais utilizávamos como referência e adaptarmos para um modelo de desenvolvimento com um Guia de Estilo incluso.
birb/fancy-stubs-codegen
13 Downloads
Build-time, attribute-driven code generator: write a stub class, mark members with #[DefinerAttribute], and get a real, finished PHP class back — conventions filled in (event names, ids, ...), or whole getters/setters/builder classes generated from the stub's properties. Unlike runtime-reflection tools, the output is a plain PHP file with zero dependency on this library and no per-request reflection cost; useful for scaffolding DDD value objects/aggregates/events, command classes and other boilerplate. Postprocessing (transforming code, e.g. phpcbf/php-cs-fixer/rector), quality checks (evaluating code, e.g. PHPStan/Psalm/PHPCS) and framework-specific conventions (e.g. Laravel table/id naming) ship as separate packages — see birb/fancy-stubs-codegen-postprocessors, birb/fancy-stubs-codegen-code-quality and birb/fancy-stubs-codegen-laravel.
scaleupstack/easy-object
15 Downloads
Convenient object handling for a modern, defensive and strict style of programming in PHP without boilerplate code. E.g. default getters, typed properties, named/default constructors.