Laravel 12 + ReactJS Starter Kit: Add Multi-Language Support (Arabic, English, Spanish) with Blog CRUD
🚀 Installation & Setup Download & Extract Get the ZIP from kritimyantra.com and extract it. Includes preconfigured .env and database.sqlite. Install Dependencies composer insta...
Take a closer look.
Open any screenshot at full size and browse using the arrows.
Everything you need to know.
Explore the functionality, requirements and usage terms before deciding.
🚀 Installation & Setup
Download & Extract
- Get the ZIP from
kritimyantra.comand extract it. - Includes preconfigured
.envanddatabase.sqlite.
- Get the ZIP from
Install Dependencies
composer install # PHP packages npm install # Frontend dependenciesRun the Project
npm run dev # Compile assets (Vite) php artisan serve # Start Laravel server or composer run dev➡️ Open
http://localhost:8000
🌍 Multi-Language Support
- Languages: English (
en), Arabic (ar), Spanish (es). - Translation Files:
- Edit strings in
/lang/{en,ar,es}/messages.php. - Use in React:
const { t } = useTranslations(); <h1>{t('messages.welcome')}</h1>
- Edit strings in
- RTL Support: Arabic auto-flips to RTL layout.
📝 Blog Features
Create/Edit Posts
- Rich Text Editor: React Quill for formatted content.
- Image Uploads: Stored in
storage/app/public. - Slugs: Auto-generated (e.g.,
my-blog-post).
View Posts
- Homepage: Grid of posts with thumbnails.
- Detailed View: Full post with HTML rendering.
🔧 Customization
- Add a Language:
- Create
/lang/fr/messages.php. - Update
SetLocalemiddleware with'fr' => 'French'.
- Create
- Modify Styles: Edit Tailwind classes in React components.
- Extend Functionality:
- Controllers:
app/Http/Controllers/ - Models:
app/Models/Post.php
- Controllers:
⚠️ Troubleshooting
- Assets Not Updating?
php artisan config:clear && npm run dev - Missing Translations?
- Check
messages.phpfiles. - Clear cache:
php artisan cache:clear.
- Check
🎯 Ready to Go! Customize the blog by editing React components (/resources/js/Pages/) or Laravel backend.
Need help taking the next step? Choose setup, deployment, customization or ongoing care separately from your project purchase.
Need help with this project?
The source code is a one-time purchase. These services are optional.
Website & application deployment
Launch Laravel, PHP, Vue.js, Python, FastAPI or AI-built websites on suitable hosting.
Website troubleshooting
Investigate deployment failures, application errors, database issues and configuration problems.
Website & server migration
Move an existing site or application to new hosting with configuration and post-move checks.
Monthly website maintenance
Scheduled checks, compatible updates, backup reviews and minor bug fixes after launch.
Customization & agency support
White-label technical work, new features, integrations and repeat deployment support.
Enquiries are free. We confirm the scope and final cost before any paid work, including applicable hosting, third-party fees and taxes.