Download the PHP package jegex/filament-translatable without Composer

On this page you can find all versions of the php package jegex/filament-translatable. 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 filament-translatable

Filament Translatable Spatie & Astrotomic

FILAMENT 4.x FILAMENT 5.x Packagist GitHub Tests Action Status Downloads

Filament Translatable is a flexible package that provides a complete solution for managing multilingual content in Filament admin panels. It uses a tabbed interface with Repeater component, allowing you to easily create translatable form fields with an intuitive UI.

Key Features

Installation

You can install the package via composer:

Publish the assets:

Configuration

With spatie/laravel-translatable

The Spatie package is the default translation backend. Follow the instructions in the Spatie documentation to properly configure your models.

With astrotomic/laravel-translatable

The Astrotomic package is an alternative translation backend.

Follow the Astrotomic documentation to configure your models.

When using the Astrotomic package, configure the plugin to use Astrotomic mode:

Setup

Setting translatable locales

To set up the locales that can be used to translate content, pass an array of locales to the locales() plugin method:

You can set locale labels using key => value array:

Also, you can pass a Closure:

Setting default locale

You can set the default locale using the defaultLocale() method:

Enable or disable flags in locale labels

You can enable or disable flags in locale labels (disabled by default):

Setting flag width

You can set the flag width using:

Usage

Basic Usage

Vertical Tabs

You can display translations as vertical tabs:

Scrollable Tabs

Enable horizontal scroll for tabs when you have many languages:

Clone Locale

The package includes a built-in clone locale feature that allows you to duplicate translations from one locale to another:

Display Flags

Enable flags in locale labels:

Using with Astrotomic Mode

Overriding Plugin Settings per Component

You can override the global plugin settings directly on individual components:

Full Example

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-translatable with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.3.1|^5.0
spatie/laravel-package-tools Version ^1.15
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 jegex/filament-translatable contains the following files

Loading the files please wait ...