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 install # PHP packages npm install # Frontend dependencies Run the Pro...
Need help with this project?
The source code is a one-time purchase. These services are optional.
Installation & deployment
Application setup, database configuration and deployment to suitable hosting.
Customization
Branding, workflow changes, new features and integrations scoped to your needs.
Monthly maintenance
Agreed updates, troubleshooting and release support for an existing live site.
Enquiries are free. We confirm the scope and final cost before any paid work, including applicable hosting, third-party fees and taxes.
See the project before you download it
Open any screenshot at full size and browse using the arrows.
Project overview
What the project does, what you receive and what you'll need to run it.
🚀 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.