承接 logikostech/forms 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

logikostech/forms

Composer 安装命令:

composer require logikostech/forms

包简介

Form manager built on phalcon

README 文档

README

Form manager which extends Phalcon PHP

Installation

Installing via Composer

Install Composer in a common location or in your project:

curl -s http://getcomposer.org/installer | php

create or edit the composer.json file as follows:

{
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/logikostech/forms"
        }
    ],
    "require": {
        "logikostech/forms": "dev-master"
    }
}

Run the composer installer:

$ php composer.phar install

Installing via GitHub

Just clone the repository in a common location or inside your project:

git clone https://github.com/logikostech/forms.git

Autoloading

Add or register the following namespace strategy to your Phalcon\Loader:

$loader = new Phalcon\Loader();

$loader->registerNamespaces([
    'Logikos\Forms' => '/path/to/this/repo/src/'
]);

$loader->register();

Key features

Forms Class

Wrapper for Phalcon\Forms\Form which adds some additional features.

Radioset Element and Tag

Added Logikos\Forms\Element\Radioset which works like and extends Phalcon\Forms\Element\Select and works the same way except that it outputs radio options instead of a select box. Resulting radio tag option markup can be controlled by setting Logikos\Forms\Tag\Radioset::useRadioTemplate()

SelectOptions

Phalcon plugin to query selectbox options. Works well as a backend to select2. docs/SelectOptions.md contains basic usage information.

统计信息

  • 总下载量: 141
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-29