Skip to content

Instantly share code, notes, and snippets.

View thiagoeliasr's full-sized avatar
🏠
Working from home

Thiago Elias thiagoeliasr

🏠
Working from home
View GitHub Profile
@thiagoeliasr
thiagoeliasr / extractTranslationStrings.php
Created February 8, 2021 18:43 — forked from mariuskubilius/extractTranslationStrings.php
Laravel artisan command to extract translation strings from templates and add them into {language}.json file for localization.
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
class extractTranslationStrings extends Command
{