Laravel Lang Publisher / Main Page / Features / Facades
Perhaps the facades will be useful to you:
use Helldar\LaravelLangPublisher\Facades\Locales;
// List of available locations.
Locales::available(): array
// List of installed locations.
Locales::installed(): array
// Retrieving a list of protected locales.
Locales::protects(): array
// Getting a complete list of available localizations.
Locales::all(): array;
// Checks if a language pack is installed.
Locales::isAvailable(string $locale): bool
// The checked locale protecting.
Locales::isProtected(string $locale): bool
// Checks whether it is possible to install the language pack.
Locales::isInstalled(string $locale): bool
// Getting the default localization name.
Locales::getDefault(): string
// Getting the fallback localization name.
Locales::getFallback(): string
use Helldar\LaravelLangPublisher\Facades\Packages;
// Returns a sorted list of plugins identified for processing.
Packages::get(): array
// Returns the count of processable plugins.
Packages::count(): int
use Helldar\LaravelLangPublisher\Facades\Plugins;
// Returns a sorted list of plugins identified for processing.
Plugins::get(): array
// Returns the count of plugins.
Plugins::count(): int