定制 intaro/hstore-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

intaro/hstore-bundle

Composer 安装命令:

composer require intaro/hstore-bundle

包简介

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

README 文档

README

PostgreSQL module hstore allows to store sets of key/value pairs within a single PostgreSQL value. More about it here.

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore.

Installation

HStoreBundle requires Symfony 2.3 or higher.

Require the bundle in your composer.json file:

{
    "require": {
        "intaro/hstore-bundle": "~0.0.2",
    }
}
```

Register the bundle in `AppKernel`:

```php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        //...

        new Intaro\HStoreBundle\IntaroHStoreBundle(),
    );

    //...
}
```

Install the bundle:

```
$ composer update intaro/hstore-bundle
```

### Installing the PHP extension

The package contains two versions of the `HStoreParser` as PHP extension. PHP extension is optional but as it brings some nice performance improvements, you might want to install it in your production environment.

#### PHP extension (PHP-CPP)

The first extension is written in [PHP-CPP](http://www.php-cpp.com) thats why you should [install PHP-CPP](http://www.php-cpp.com/documentation/install) before extension compiling.

The extension compiling:
```bash
cd path/to/Intaro/HStoreBundle/Resources/phpcpp
make
sudo make install
```
Finally, enable the extension in your `php.ini` configuration file:

```ini
extension = hstorecpp.so # For Unix systems
```

#### PHP extension (Zephir)

The second extension is written in [Zephir](http://zephir-lang.com) thats why you should [install Zephir](http://zephir-lang.com/install.html) before extension compiling.

```bash
cd path/to/Intaro/HStoreBundle/Resources/zephir
zephir install
```

Finally, enable the extension in your `php.ini` configuration file:

```ini
extension = hstore.so # For Unix systems
```

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 5
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固