pyrocms-templates / default-module

The default module template for Pyro Builder

Home Page:https://github.com/websemantics/builder-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                    _(_
 ___      ___     _(o o)___  __ __  _     ______      ___ ___   ____   ___    __ __  _     ___
|   \    /  _] ooO  (_)    ||  |  || |   |      |    |   |   | /    \ |   \  |  |  || |   /  _]
|    \  /  [_ |   __||  o  ||  |  || |   |      |    | _   _ ||  /// ||    \ |  |  || |  /  [_
|  D  ||    _]|  |_  |     ||  |  || |___|_|  |_|    |  \_/  || (OO) ||  D  ||  |  || |_/_   _]
|     ||   [_ |   _] |  _  ||  :  ||     | |  |      |   |   ||  \/  ||     ||  :  ||     | [___
|     ||     ||  |   |  |  ||     ||     | |  |      |   |   ||      ||     ||     ||     |     |
|_____||_____||__|   |__|__| \__,_||_____| |__|      |___|___| \____/ |_____| \__,_||_____|_____|

The default module template for Pyro Builder

Features

  • Scaffold stream entities,
  • Automate bindings and routes,
  • Generate language files,
  • Generate an optional home page (dashboard),
  • Include helper functions,
  • Use decorators for Entity tables and forms,
  • Powered with Twig templates,
  • Generate fields and streams permissions.

Getting Started

To create a new module you'll first need to install Pyro Builder then run the following command,

php artisan builder:make default-module

Use option --force to download a fresh copy of template-template.

For more details, read the Builder documentation.

Parameters

This template will trigger the user to provide the following parameters,

  • slug, the module identifier,
  • vendor, the provider of the module, i.e. anomaly, websemantics,
  • description, a description of the module,
  • docblock, comment that can provide copyright and other information about the code.

While the following parameters are derived from user parameters with Twig filters and functions,

  • module_name : module class name, {{slug|studly_case}},
  • lower_module_name : {{slug|lower}},
  • vendor_name : namespace for the module classes, {{vendor|studly_case}},
  • lower_vendor_name : namespace for the module classes, {{vendor|lower}},

Contributions

We are more than happy to accept external contributions to this template in the form of feedback, bug reports and even better - pull requests :)

For more details read the Builder documentation.

Support

Need help or have a question? post a questions at StackOverflow

Please don't use the issue trackers for support/questions.

Resources

  • Pyro Builder, scaffold your PyroCMS apps in style for a more pleasurable and productive coding experience.
  • Template Template, The default Pyro Builder template for building Pyro Builder templates.
  • Auto Pyro, a PyroCMS deploy tool for faster development experience.
  • Awesome PyroCMS, a curated list of PyroCMS addons and resources.
  • PyroCMS, an MVC PHP Content Management System built to be easy to use, theme and develop with. It is used by individuals and organizations of all sizes around the world.

License

MIT license Copyright (c) Web Semantics, Inc.

About

The default module template for Pyro Builder

https://github.com/websemantics/builder-extension

License:MIT License


Languages

Language:PHP 94.9%Language:HTML 5.1%