2017 © Pedro Peláez
 

package php-po-to-json

image

charles-rumley/php-po-to-json

  • Thursday, September 8, 2016
  • by charles-rumley
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4,055 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 26 % Grown

The README.md

Po To Json Converter

Convert PO files to Jed-compatible JSON using PHP., (*1)

Inspired by: - github.com/mikeedwards/po2json, (*2)

Installation

composer require charles-rumley/php-po-to-json

Usage

use CharlesRumley\PoToJson;

$poToJson = new PoToJson();

// Convert a PO file to JSON
$rawJson = $poToJson->withPoFile($path)->toRawJson();

// Convert a PO file to Jed-compatible JSON
$jedJson = $poToJson->withPoFile($path)->toJedJson();

The Versions

08/09 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Charles Rumley

php json translation i18n jed