Download the PHP package lvntrdev/laravel-horizon-tr without Composer

On this page you can find all versions of the php package lvntrdev/laravel-horizon-tr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-horizon-tr

lvntrdev/laravel-horizon-tr

Laravel Horizon arayüzü için Türkçe çeviri katmanı. Vendor dizinine dokunmaz, composer update laravel/horizon çeviriyi bozmaz.

Neden bu şekilde

Horizon'un ekranları vendor içinde derlenmiş bir Vue bundle'ıdır (vendor/laravel/horizon/dist/app.js) ve i18n desteği yoktur; metinler kaynağa gömülüdür. Bu yüzden çeviri iki parçadan oluşur:

  1. layout.blade.php override'ı — sidebar menüsü, üst bar başlıkları, bakım modu uyarısı ve lang="tr". Blade tarafında olduğu için doğrudan Türkçe render edilir.
  2. Render sonrası DOM çeviri katmanı (partials/i18n-tr.blade.php) — Vue bundle'ının ürettiği metinler: tablo başlıkları, butonlar, durum etiketleri, boş durum metinleri ve moment.js süre çıktıları (2 Minutes → 2 Dakika). Sözlük tabanlı, MutationObserver ile çalışır.

Gereksinimler

Bileşen Sürüm
PHP ^8.2
Laravel (illuminate/support) ^11.0 | ^12.0 | ^13.0
laravel/horizon ^5.0

Kurulum

Paket auto-discovery ile devreye girer — publish, config veya .env ayarı gerekmez. Horizon kurulu değilse provider sessizce hiçbir şey yapmaz.

Packagist yerine doğrudan GitHub'dan kurmak `composer.json`'a repository ekleyin: Sonra:

Doğrulama

Ardından /horizon adresini açın. Sidebar Panel · İzleme · Metrikler · Toplu İşler … şeklinde görünüyorsa katman devrede demektir.

Provider'ın keşfedildiğini görmek için:

Provider sınıfı: LvntrDev\HorizonTr\HorizonTrServiceProvider.

Özelleştirme

Sözlüğü veya layout'u projeye özel değiştirmek için view'ları publish edin:

Dosyalar resources/views/vendor/horizon/ altına kopyalanır:

View çözümleme sırası: uygulama override'ı → bu paket → Horizon vendor. Yani publish edilen dosyalar paketten gelenlerin önüne geçer.

Sözlüğe kelime ekleme

partials/i18n-tr.blade.php içindeki EXACT sözlüğüne satır ekleyin:

Anahtar, Horizon'un ürettiği İngilizce metnin birebir aynısı olmalıdır.

Sınırlar

Lisans

MIT.


All versions of laravel-horizon-tr with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0|^13.0
laravel/horizon Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lvntrdev/laravel-horizon-tr contains the following files

Loading the files please wait ...