承接 bleuren/jetstream-livewire-i18n 相关项目开发

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

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

bleuren/jetstream-livewire-i18n

Composer 安装命令:

composer require bleuren/jetstream-livewire-i18n

包简介

A Laravel package to add multi-language support to Jetstream with Livewire

README 文档

README

A Laravel package that provides multi-language support for Jetstream with Livewire, supporting English (en) and Traditional Chinese (zh_TW).

Installation

  1. Install via Composer:
composer require bleuren/jetstream-livewire-i18n
  1. Publish resources:
php artisan jetstream-i18n:publish
  1. (Optional) Publish with overwrite:
php artisan jetstream-i18n:publish --force

Features

  • Provides translations for all Jetstream views
  • Supports English and Traditional Chinese out of the box
  • Easy to extend with additional languages

Directory Structure

project/
├── lang/                   # Language files
│   ├── en/                # English translations
│   └── zh_TW/             # Traditional Chinese translations
└── resources/
    └── views/
        ├── api/           # API management views
        ├── auth/          # Authentication views
        ├── emails/        # Email template views
        ├── profile/       # Profile management views
        └── teams/         # Team management views

Usage

Ensure your Jetstream views use translation functions:

<h1>{{ __('jetstream.dashboard') }}</h1>

Publishing Specific Resources

You can publish specific resources using the following commands:

# Publish Jetstream view overrides
php artisan vendor:publish --tag=jetstream-livewire-i18n-views-jetstream

# Publish language files
php artisan vendor:publish --tag=jetstream-livewire-i18n-lang

Requirements

  • PHP 8.2+
  • Laravel 12.0+
  • Livewire 3.0+
  • Jetstream 5.3+

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固