Download the PHP package tomatophp/filament-translations without Composer

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

Screenshot of Login

Filament Translations Manager

Latest Stable Version License Downloads

Manage your translation with DB and cache, you can scan your languages tags like trans(), __(), and get the string inside and translate them use UI.

this plugin is build in spatie/laravel-translation-loader

Screenshots

Screenshot of list Screenshot of edit Screenshot of settings

Installation

now run install command

Finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php

Extensions

Allow Create Button to Create New Language

If you want to allow the user to create a new language, you need to add the following to your panel provider:

Allow Clear All Translations Button

If you want to allow the user to clear all translations, you need to add the following to your panel provider:

Use Language Switcher

we move language switcher to another package you can check it Filament Language Switcher

Scan Using Command Line

You can scan your project to get all the languages tags and save them to the database

Change Scan to work on Queue

In your config file just change the use_queue_on_scan to true

Custom Import Command

You can create your own command to import the translations, add your custom import class to the config file like this:

This command will automatically run when you click on the "Scan For New Languages" button in the UI.

Custom Excel Import

You can create your own Excel import to import the translations, add your custom import class to the config file like this:

The import class is based on the Laravel Excel package. You can check the documentation here. This import will automatically run when you click on the "Import" button in the UI.

Custom Excel Export

You can create your own Excel export to export the translations in your own format, add your custom export class to the config file like this:

The export class is based on the Laravel Excel package. You can check the documentation here. This import will automatically run when you click on the "Export" button in the UI.

Show or hide buttons in the UI

You can show or hide the buttons in the UI by changing the config file. By default, all buttons are shown.

Custom Resource

You can create your own resource to show the translations in the UI, add your custom resource class to the config file like this:

This is especially useful when you want to have complete control over the UI but still want to use the translations package. Think about implementing a check on user roles when using shouldRegisterNavigation in your custom resource.

Translation Translations Resource Hooks

we have add a lot of hooks to make it easy to attach actions, columns, filters, etc

Table Columns

Table Actions

Table Filters

Table Bulk Actions

From Components

Page Actions

Publish Assets

You can publish views file by use this command:

You can publish languages file by use this command:

You can publish migrations file by use this command:

Other Filament Packages

Checkout our Awesome TomatoPHP


All versions of filament-translations with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
tomatophp/console-helpers Version ^1.1
filament/filament Version ^3.2
filament/notifications Version ^3.2
tomatophp/filament-developer-gate Version ^1.0
spatie/laravel-translation-loader Version ^2.7
tomatophp/filament-translation-component Version ^1.0
maatwebsite/excel Version ^3.1
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 tomatophp/filament-translations contains the following files

Loading the files please wait ....