Skip to content

About

Module template for Pollora: discovered classes, Blade blocks, shared Vite build

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Pollora module template

The template php artisan pollora:make:module downloads to create a Laravel module in a Pollora project: discovered classes, Blade blocks and a Vite build shared with themes and plugins through @pollora/vite-config.

php artisan pollora:make:module Crm
php artisan pollora:make:module Crm --provider --routes --database   # opt-in Laravel layers

Placeholders

Placeholder Example
%module_name% Crm
%module_slug% crm
%module_namespace% Modules\Crm
%module_namespace_json% Modules\\Crm
%module_description% Customer relations
%module_author% RuBee group

.stub files become .php; bin/ and .github/ are not copied. php bin/scaffold.php <dir> [Name] writes the template out the same way, and php bin/check.php <dir> checks the result; CI runs both, then builds the module.

License

MIT, © RuBee group.

About

Module template for Pollora: discovered classes, Blade blocks, shared Vite build

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages