Download the PHP package wanxsb/laravel-lang without Composer
On this page you can find all versions of the php package wanxsb/laravel-lang. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-lang
Laravel-lang
75 languages support for Laravel 5 application based on Laravel-Lang/lang.
# Features - Laravel 5+ && Lumen support. - Translations Publisher. - Made with 💖. # Install #### Laravel 5.* After completion of the above, Replace the `config/app.php` content with: #### Lumen Add the following line to `bootstrap/app.php`: # Configuration ### Laravel you can change the locale at `config/app.php`: ### Lumen set locale in `.env` file: # Usage There is no difference with the usual usage. If you need to add additional language content, Please create a file in the `resources/lang/{LANGUAGE}` directory. ### Add custom language items Here, for example in Chinese: `resources/lang/zh_CN/demo.php`: Used in the template: ### Replace the default language items partially We assume that want to replace the `password.reset` message: `resources/lang/zh_CN/passwords.php`: You need only add the partials item what you want. ### publish the language files to your project `resources/lang/` directory: examples: ## PHP 扩展包开发 > 想知道如何从零开始构建 PHP 扩展包? > > 请关注我的实战课程,我会在此课程中分享一些扩展开发经验 —— [《PHP 扩展包实战教程 - 从入门到发布》](https://learnku.com/courses/creating-package) # License MITAll versions of laravel-lang with dependencies
PHP Build Version
Package Version
The package wanxsb/laravel-lang contains the following files
Loading the files please wait ....