承接 68publishers/application 相关项目开发

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

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

68publishers/application

Composer 安装命令:

composer require 68publishers/application

包简介

Base extensions and components.

README 文档

README

Build Status Quality Score Coverage Status Total Downloads Latest Version on Packagist

This package helps you to deal with regions with different languages, currencies and countries. It could be helpful even if you have single region project.

Installation

The best way to install 68publishers/application is using Composer:

composer require 68publishers/application

and now you can enable the Environment extension using your neon config

extensions:
    environment: SixtyEightPublishers\Application\DI\EnvironmentExtension

Usage

environment:
    profile:
        europe:
            language: [sk_SK, en_GB, de_DE, pl_PL]
            currency: [EUR, PLZ, GBP]
            country: [SK, GB, DE, PL]
        north_america:
            language: en_US
            currency: USD
            country: US
            domain: [www.example.com, example.com]
            # disable: yes
        default: # If the default profile doesn't exists, the first profile is taken as default
            language: cs_CZ
            currency: CZK
            country: CZ

Bar panel

Enables and disables Tracy debugger bar panel for better debugging

environment:
    debugger: yes

Integration with Kdyby\Translation

This feature provides automatic evaluation of the locale parameter for Kdyby\Translation based on profile settings in the extension. Default profile's language can be used if setting translations.useDefault is set to TRUE. If is this setting set to FALSE default language will not be used and other resolvers will be invoked. Also if you change language via method \SixtyEightPublishers\Application\Environment\ActiveProfile::changeLanguage(), locale in Translator is changed too.

environment:
    translations:
        enable: yes
        useDefault: no

Rules for contributing

  • 1 PR per feature
  • PR with tests are more likely to be merged
  • tests and coding standard must pass
vendor/bin/tester ./tests -s
vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固