0.4.3 2021-07-17 07:00 UTC

This package is auto-updated.

Last update: 2024-09-16 05:01:15 UTC


README

https://github.com/lxerxa/actionview-fe/tree/master/app/components SierraTecnologia Fabrica fabrica是自由职业开发者所需的一切。开箱即用的验证器功能,以及基本的控制器。

Packagist Scrutinizer Code Quality Travis StyleCI License

public $formFields = [
    ['name' => 'title', 'label' => 'Title', 'type' => 'text'],
    ['name' => 'slug', 'label' => 'Slug', 'type' => 'text'],
    ['name' => 'body', 'label' => 'Enter your content here', 'type' => 'textarea'],
    ['name' => 'publish_on', 'label' => 'Publish Date', 'type' => 'date'],
    ['name' => 'published', 'label' => 'Published', 'type' => 'checkbox'],
    ['name' => 'category_id', 'label' => 'Category', 'type' => 'select', 'relationship' => 'category'],
    ['name' => 'tags', 'label' => 'Tags', 'type' => 'select_multiple', 'relationship' => 'tags'],
];

public $indexFields = [
    'title',
    'category_id',
    'published'
];

public $validationRules = [
    'title'       => 'required|max:255',
    'slug'        => 'required|max:100',
    'body'        => 'required',
    'publish_on'  => 'date',
    'published'   => 'boolean',
    'category_id' => 'required|int',
];

public $validationMessages = [
    'body.required' => "You need to fill in the post content."
];

public $validationAttributes = [
    'title' => 'Post title'
];

安装

使用 composer require sierratecnologia/fabrica 安装

变更日志

参阅 变更日志 了解项目的完整历史。

支持

以下支持渠道随时可用

贡献 & 协议

感谢您考虑为此项目做出贡献!贡献指南可在 CONTRIBUTING.md 中找到。

欢迎提交错误报告、功能请求和拉取请求。

安全漏洞

如果您在此项目中发现安全漏洞,请发送电子邮件至 help@sierratecnologia.com.br。所有安全漏洞都将得到及时处理。

关于SierraTecnologia

SierraTecnologia 是一家软件解决方案初创公司,自 2008 年 6 月以来在巴西里约热内卢成立,专注于为中小企业提供集成企业解决方案。我们相信,我们的驱动力——价值、影响力和影响力是我们与众不同的地方,通过软件的力量释放我们哲学的无限可能性。我们喜欢称之为“生活速度的创新”。这就是我们如何为人类进步做出贡献的方式。

许可

此软件在 MIT 许可证 (MIT) 下发布。

(c) 2008-2020 SierraTecnologia,部分版权所有。

removi

    "sensio/distribution-bundle":        ">=2.3",

    "symfony/symfony":                   ">=2.4",
    "doctrine/orm":                      ">=2.4",
    "swiftmailer/swiftmailer":           ">=5.0",

    "doctrine/doctrine-bundle":          ">=1.2",
    "twig/extensions":                   ">=1.0",
    "symfony/assetic-bundle":            ">=2.3",
    "symfony/monolog-bundle":            ">=2.3",
    "doctrine/doctrine-fixtures-bundle": ">=2.2",
    "alexandresalome/mailcatcher":       ">=0.2",

https://github.com/kanboard