Skip to content

Conversation

@masrodjie
Copy link

Upgrade:

  • Laravel 12
  • Bootstrap 5.3
  • MySQL 8

Minimum requirement: PHP 8.2

Arnas Risqianto and others added 9 commits January 3, 2026 20:44
Documents the minimal-changes approach for upgrading from Bootstrap 4.6.0
to Bootstrap 5.3.0 while maintaining visual appearance and functionality.

Key decisions:
- Keep jQuery for calendar plugin compatibility
- Preserve form-group classes to avoid layout shifts
- Prioritize JavaScript component fixes over visual changes
- Focus on data attribute migration (data-toggle → data-bs-toggle)

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Update bootstrap to ^5.3.0
- Replace popper.js with @popperjs/core ^2.11.8
- Keep jQuery for calendar plugin compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Add bg- prefix to all contextual badge classes
- Add text-dark to light badges for contrast

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Generate optimized CSS and JS bundles
- Bootstrap v5.3.0 compiled and minified

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Remove references to deleted standalone bootstrap.min.css
- Remove references to deleted bootstrap.bundle.min.js
- Use compiled app.js and app.css which include Bootstrap 5

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Verify Bootstrap 5.x mentioned in project description
- Update Laravel version reference from 8.x to 12.x
- Document Bootstrap 5.3.0 upgrade completion

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Add middleware to automatically log in a user when USER_TESTING_ID environment
variable is set. This is intended for local development and testing only.

Safety features:
- Only works in local/development environments (excludes production and testing)
- Only logs in if user is not already authenticated
- Gracefully handles database errors with try-catch
- Documented in .env.example with security warnings

Changes:
- Created app/Http/Middleware/AutoLoginForTesting.php
- Registered middleware in web middleware group (bootstrap/app.php)
- Added USER_TESTING_ID documentation to .env.example

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Update Docker environment to use modern versions:
- PHP 7.4 → PHP 8.2.30 (matching local development environment)
- MySQL 5.7.22 → MySQL 8.0.44

Changes:
- Updated Dockerfile base image from php:7.4-fpm to php:8.2-fpm
- Updated docker-compose.yml MySQL image from mysql:5.7.22 to mysql:8.0

Testing:
- All containers build and start successfully
- Database migrations and seeders run without errors
- Application accessible at http://localhost:8080
- All 6 tests passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant