Download the PHP package mahmoud217tr/auto-files-localizer without Composer

On this page you can find all versions of the php package mahmoud217tr/auto-files-localizer. 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 auto-files-localizer

Auto Files Localizer for Laravel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Easy and Efficient Localiztion

A Laravel Localization package that auto generate json locale files

Table of Contents

Features

Installation

You can install the package via composer:

Config

To publish the package configuration file config/auto-localizer.php use the following command:

Usage

It will automatically generate the locale .json file where the localized new words are sorted alphabetically.

There are 2 modes for the package

Dynamic Mode

In this mode the translations will be generated dynamically (On Request) which means on upon calling the translation function the package will dynamically detect the current language and add the translations to the corresponding JSON file.

Notes

Activiation

To activate the dynamic mode on non-production environment just add the following line to the .env file:

And that's about it the autotranslator will add transaltions to there files sorted alphabetically. To deactivate the dynamic mode just set the previous value to false.

Configurations

This mode have the following configurations:

Extraction Mode

In this mode the translations will be extracted automatically from views or php files detecting translation functions adding the translations to the corresponding JSON file.

Command

To extract the translations for a specific locale (ar for example) run the following command:

The previous command will translate all non-localized phrases and all ar-localized phrases only.

Configurations

This mode have the following configurations:

Testing

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 auto-files-localizer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
illuminate/config Version ^9.0|^10.0|^11.0
illuminate/console Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0
illuminate/filesystem Version ^9.0|^10.0|^11.0
illuminate/translation Version ^9.0|^10.0|^11.0
symfony/finder Version ^5.1|^6.0|^7.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 mahmoud217tr/auto-files-localizer contains the following files

Loading the files please wait ...