2017 © Pedro Peláez
 

library languagefile

A simple package to easily create language files in Laravel Framework

image

larapackage/languagefile

A simple package to easily create language files in Laravel Framework

  • Monday, May 25, 2015
  • by AndyWendt
  • Repository
  • 1 Watchers
  • 1 Stars
  • 73 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 20 % Grown

The README.md

Laravel Language File Creator

Build Status SensioLabsInsight Scrutinizer Code Quality Code Coverage Latest Stable Version License, (*1)

About

This package creates a ready-to-go language file for Laravel from an array or a traversable object (i.e. collections)., (*2)

Tests

vendor/bin/phpunit

Usage

To install the generated file see the docs., (*3)

$tags = ['key' => 'value', 'key2' => 'value'];

// this creates a ready to go php language file for Laravel
$fileString = \LanguageFileCreator::make($tags);

Service Provider & Facade

If you want to use the facade use the service provider by adding it to your config/app.php. You will need to add the facade there as well., (*4)

'providers' => [
    //...
    LaraPackage\LanguageFile\ServiceProvider::class,
];

'aliases' => [
    //...
    'LanguageFileCreator' => LaraPackage\LanguageFile\Facades\LanguageFileCreator::class,
];

The Versions

25/05 2015

dev-master

9999999-dev

A simple package to easily create language files in Laravel Framework

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

03/05 2015

0.1.1

0.1.1.0

A simple package to easily create language files in Laravel Framework

  Sources   Download

MIT

The Development Requires

03/05 2015

0.1

0.1.0.0

A simple package to easily create language files in Laravel Framework

  Sources   Download

MIT

The Requires

 

The Development Requires