When you define texts in Laravel, you either define the key or the string content, and neither option is perfect.

With the first, itโ€™s hard to know whatโ€™s actually there, and with the second, you risk messing up your translation keys by changing even a single character.

So, Iโ€™ve just published Laratext, a Laravel package to easily manage and automate translations in your Laravel projects.

โœ… Use simple helpers like text('key', 'Default value') or Blade directives like @text('key', 'Default')
โœ… Auto-scan your codebase and extract translation keys
โœ… Automatically translate missing keys using OpenAI or Google Translate
โœ… Easily extend it with your own custom translators

Check it out here ๐Ÿ‘‰
github.com/edulazaro/laratext

โ€ข โ€ข

8

โ€ข

image
๐Ÿ‘‹ ๐—ช๐—ฒ๐—น๐—ฐ๐—ผ๐—บ๐—ฒ ๐˜๐—ผ ๐— ๐˜† ๐—™๐—ถ๐—ฟ๐˜€๐˜ ๐—Ÿ๐—ฎ๐—ฟ๐—ฎ๐˜ƒ๐—ฒ๐—น ๐—ง๐˜‚๐˜๐—ผ๐—ฟ๐—ถ๐—ฎ๐—น ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐Ÿฑ ๐—ฌ๐—ฒ๐—ฎ๐—ฟ๐˜€!

i'm super excited ๐Ÿคช & pumped up ๐Ÿ˜€ to announce that finally i've uploaded my ๐Ÿญ๐˜€๐˜ ๐—™๐˜‚๐—น๐—น ๐—ฆ๐˜๐—ฎ๐—ฐ๐—ธ ๐—ช๐—ฒ๐—ฏ ๐——๐—ฒ๐˜ƒ๐—ฒ๐—น๐—ผ๐—ฝ๐—บ๐—ฒ๐—ป๐˜ ๐—ช๐—ถ๐˜๐—ต ๐—Ÿ๐—ฎ๐—ฟ๐—ฎ๐˜ƒ๐—ฒ๐—น ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ video on my ๐—ฌ๐—ผ๐˜‚๐—ง๐˜‚๐—ฏ๐—ฒ channel.

๐—ง๐—ต๐—ถ๐˜€ ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ผ ๐—ถ๐˜€ ๐—ฑ๐—ถ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ฑ ๐—ถ๐—ป๐˜๐—ผ ๐Ÿฐ ๐—ฝ๐—ฎ๐—ฟ๐˜๐˜€:
๐Ÿญ. ๐Ÿคต๐—ฃ๐—ฒ๐—ฟ๐˜€๐—ผ๐—ป๐—ฎ๐—น ๐—œ๐—ป๐˜๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐˜๐—ถ๐—ผ๐—ป โ€“ Who am i? How much experience do i have? When did i started my web development journey?

๐Ÿฎ. ๐ŸŒ ๐—œ๐—ป๐˜๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐˜๐—ผ ๐˜๐—ต๐—ฒ ๐—Ÿ๐—ฎ๐—ฟ๐—ฎ๐˜ƒ๐—ฒ๐—น ๐—˜๐—ฐ๐—ผ๐˜€๐˜†๐˜€๐˜๐—ฒ๐—บ โ€“ A big-picture look at what Laravel offers

๐Ÿฏ. ๐Ÿงญ ๐—จ๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ๐—ถ๐—ป๐—ด ๐— ๐—ฉ๐—– ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ โ€“ A beginner-friendly explanation of how Model-View-Controller works

๐Ÿฐ. โš™๏ธ ๐—Ÿ๐—ฎ๐—ฟ๐—ฎ๐˜ƒ๐—ฒ๐—น ๐—œ๐—ป๐˜€๐˜๐—ฎ๐—น๐—น๐—ฎ๐˜๐—ถ๐—ผ๐—ป & ๐—ฆ๐—ฒ๐˜๐˜‚๐—ฝ ๐˜„๐—ถ๐˜๐—ต ๐—›๐—ฒ๐—ฟ๐—ฑ โ€“ A step-by-step walkthrough to get Laravel up.

โ€ข โ€ข

7

โ€ข

image
๐ŸŒŸ ๐—ฆ๐—ต๐—ผ๐˜‚๐˜๐—ผ๐˜‚๐˜ #๐Ÿญ ๐˜๐—ผ ๐—ฎ ๐—•๐—ฟ๐—ถ๐—น๐—น๐—ถ๐—ฎ๐—ป๐˜ ๐—ฃ๐—ฎ๐—ธ๐—ถ๐˜€๐˜๐—ฎ๐—ป๐—ถ ๐—Ÿ๐—ฎ๐—ฟ๐—ฎ๐˜ƒ๐—ฒ๐—น ๐——๐—ฒ๐˜ƒ๐—ฒ๐—น๐—ผ๐—ฝ๐—ฒ๐—ฟ!

Big thanks to ๐— ๐˜‚๐˜‡๐—ฎ๐—บ๐—บ๐—ถ๐—น for creating ๐˜€๐˜†๐—ป๐—ฐ๐—บ๐—ผ๐—ฑ๐—ฒ๐—น๐—ณ๐—ถ๐—น๐—น๐—ฎ๐—ฏ๐—น๐—ฒโ€”an incredibly useful Laravel package that ๐—ฎ๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ฐ๐—ฎ๐—น๐—น๐˜† ๐˜€๐˜†๐—ป๐—ฐ๐˜€ $๐—ณ๐—ถ๐—น๐—น๐—ฎ๐—ฏ๐—น๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—ฝ๐—ฒ๐—ฟ๐˜๐—ถ๐—ฒ๐˜€ with your database columns! ๐Ÿš€

Why this is a game-changer?
โœ… No more manually updating $fillable when your migrations change.

โœ… Saves time & reduces human error in Laravel projects.

โœ… Works seamlessly by reading your migrations and updating models.

This is the kind of smart, practical tool that makes a developerโ€™s life easier ๐Ÿ˜…

๐—–๐—ต๐—ฒ๐—ฐ๐—ธ ๐—ถ๐˜ ๐—ผ๐˜‚๐˜ & ๐ŸŒŸ ๐˜๐—ต๐—ฒ ๐—ฟ๐—ฒ๐—ฝ๐—ผ:
๐Ÿ”— https://lnkd.in/d67AUy9y

Great work, ๐— ๐˜‚๐˜‡๐—ฎ๐—บ๐—บ๐—ถ๐—น! ๐Ÿ‘ Pakistanโ€™s Laravel community is proud of such innovations ๐Ÿ‘

#Laravel
#PHP

1 โ€ข โ€ข

56

โ€ข

Thank you very much, Muhammad Abdullah Mirza, for your support.

1 โ€ข โ€ข

63

โ€ข