library languagefile
A simple package to easily create language files in Laravel Framework
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
Laravel Language File Creator
, (*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,
];
dev-master
9999999-dev
A simple package to easily create language files in Laravel Framework
Sources
Download
MIT
The Requires
The Development Requires
0.1.1
0.1.1.0
A simple package to easily create language files in Laravel Framework
Sources
Download
MIT
The Development Requires
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