2017 © Pedro PelĆ”ez
 

library application

Base extensions and components.

image

68publishers/application

Base extensions and components.

  • Tuesday, May 8, 2018
  • by BFMLPSVZ
  • Repository
  • 2 Watchers
  • 0 Stars
  • 830 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 8 Open issues
  • 17 Versions
  • 13 % Grown

The README.md

Application

![Build Status][ico-travis] ![Quality Score][ico-code-quality] Coverage Status Total Downloads Latest Version on Packagist, (*1)

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., (*2)

Installation

The best way to install 68publishers/application is using Composer:, (*3)

composer require 68publishers/application

and now you can enable the Environment extension using your neon config, (*4)

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, (*5)

environment:
    debugger: yes

, (*6)

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., (*7)

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

The Versions

08/05 2018

dev-master

9999999-dev

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

10/10 2017

v0.8.1

0.8.1.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

09/07 2017

v0.7.0

0.7.0.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

24/05 2017

v0.6.1

0.6.1.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

15/05 2017

v0.6.0

0.6.0.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

19/01 2017

v0.5.1

0.5.1.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

19/01 2017

v0.5.0

0.5.0.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

12/01 2017

v0.4.2

0.4.2.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

12/01 2017

dev-travis

dev-travis

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

12/01 2017

v0.4.1

0.4.1.0

Base extensions and components.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

09/01 2017

v0.4.0

0.4.0.0

Base extensions and components

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vojtěch Lacina

application 68publishers

04/01 2017

v0.3.2

0.3.2.0

Base extensions and components

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

by Vojtěch Lacina

application 68publishers

04/01 2017

v0.3.1

0.3.1.0

Base extensions and components

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

by Vojtěch Lacina

application 68publishers

29/12 2016

v0.3.0

0.3.0.0

Base extensions and components

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

by Vojtěch Lacina

application 68publishers

17/12 2016

v0.2.1

0.2.1.0

Base extensions and components

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

by Vojtěch Lacina

application 68publishers

17/12 2016

v0.2.0

0.2.0.0

Base extensions and components

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

by Vojtěch Lacina

application 68publishers

10/12 2016

v0.1.0

0.1.0.0

Base extensions and components

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

by Vojtěch Lacina

application 68publishers