Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.
If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.
- Vehikl
- Tighten Co.
- WebReinvent
- Kirschbaum Development Group
- 64 Robots
- Curotec
- Cyber-Duck
- DevSquad
- Jump24
- Redberry
- Active Logic
- byte5
- OP.GG
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.
A Laravel application with Inertia.js and React for converting documents to PDF format.
- Document to PDF conversion (supports .doc, .docx, .txt, .rtf)
- User-friendly interface with React components
- Admin dashboard with conversion statistics
- Docker containerization
- Modern UI with Tailwind CSS
- Backend: Laravel 10
- Frontend: React 18 + Inertia.js
- Styling: Tailwind CSS
- Database: MySQL 8.0
- Cache: Redis
- Containerization: Docker + Docker Compose
- Docker
- Docker Compose
- Clone the repository:
git clone <repository-url>
cd convert_doc_pdf- Copy the environment file:
cp .env.example .env-
Update the
.envfile with your configuration (database settings are already configured for Docker). -
Build and start the Docker containers:
docker-compose up -d --build- Install PHP dependencies:
docker-compose exec app composer install- Generate application key:
docker-compose exec app php artisan key:generate- Run database migrations:
docker-compose exec app php artisan migrate- Install Node.js dependencies and build assets:
docker-compose exec app npm install
docker-compose exec app npm run build-
Access the application at: http://localhost:8000
-
User Interface: Upload documents and convert them to PDF
-
Admin Dashboard: Access at
/adminto view conversion statistics
├── app/
│ ├── Http/Controllers/
│ │ ├── HomeController.php # Main user interface
│ │ └── Admin/
│ │ └── DashboardController.php # Admin dashboard
│ └── Models/
│ └── Conversion.php # Conversion model
├── resources/
│ ├── js/
│ │ ├── Pages/
│ │ │ ├── Home.jsx # User index page
│ │ │ └── Admin/
│ │ │ └── Dashboard.jsx # Admin dashboard
│ │ ├── Components/ # Reusable components
│ │ ├── Layouts/
│ │ │ └── AppLayout.jsx # Main layout
│ │ └── app.jsx # React app entry
│ └── views/
│ └── app.blade.php # Main blade template
├── docker/ # Docker configuration
├── Dockerfile # PHP application container
└── docker-compose.yml # Multi-container setup
- app: Laravel PHP application
- webserver: Nginx web server
- db: MySQL database
- redis: Redis cache
To run in development mode:
# Start containers
docker-compose up -d
# Watch for changes
docker-compose exec app npm run dev
# Run migrations
docker-compose exec app php artisan migrate
# Access logs
docker-compose logs -f appGET /- User interfacePOST /convert- Convert document to PDFGET /download/{id}- Download converted PDFGET /admin- Admin dashboard (requires authentication)
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is open-sourced software licensed under the MIT license.