承接 lbreda/laravel-langdb 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lbreda/laravel-langdb

Composer 安装命令:

composer require lbreda/laravel-langdb

包简介

Language database for Laravel

README 文档

README

A package to add a language database in your Laravel application.

It contains a comprehensive list of languages and their ISO codes.

Installation

You can install the package via composer:

composer require lbreda/laravel-langdb

Then you have to migrate:

php artisan migrate

After migrating, you need to refresh the language database using the command

php artisan lbreda:refresh-lang-db

Usage

The application adds a new model to your application: LBreda\LaravelLangDb\Language.

The model is a standard Eloquent model. Its tables is pre-filled with a comprehensive dataset.

Each language has the following properties (some of them may be null):

  • code_639_1: ISO-639-1 language code
  • code_639_2t: ISO-639-2/T language code
  • code_639_2b: ISO-639-2/B language code
  • code_639_3: ISO-639-3 language code
  • native_name: Native language name
  • translatable_name: A string you can pass to __() or trans() to have the language name in your application language

Contribute

You can contribute via GitHub pull requests. Feel free to report bugs via GitHub.

Translations are VERY well accepted.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-01-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固