본문으로 건너뛰기
버전: Legacy

MoonShine

안정 알 수 없음

GitHub에서 보기

팁

이 패키지는 MoonShine 관리자 패널 인터페이스의 번역을 포함합니다.

따라서 인터페이스도 쉽게 현지화할 수 있습니다.

설치​

노트

설치하려면 다음 콘솔 명령을 실행하세요.

composer require --dev laravel-lang/moonshine:^1.9.2

사용법​

이제 lang:update 콘솔 명령으로 기존 로캘을 업데이트할 수 있습니다.

php artisan lang:update

composer.json의 scripts 블록에서 post-update-cmd 항목에 호출을 추가하는 것도 좋습니다.

{
"scripts": {
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
"@php artisan lang:update"
]
}
}

이렇게 하면 의존성을 업데이트한 뒤 php artisan lang:update 콘솔 명령을 수동으로 실행할 필요 없이 로캘 파일을 자동으로 갱신합니다.

호환성​

LaravelPHPPublisher패키지MoonShine상태
10, 11, 12, 138.2, 8.3, 8.4, 8.515, 16^1.5^3.0, ^4.0supported
10, 11, 128.2, 8.3, 8.415, 16^1.0^3.0not supported