Skip to content

Upgrade to Laravel 12 with config and dependency updates#84

Open
rayusamBoy wants to merge 3 commits into4jean:masterfrom
rayusamBoy:master
Open

Upgrade to Laravel 12 with config and dependency updates#84
rayusamBoy wants to merge 3 commits into4jean:masterfrom
rayusamBoy:master

Conversation

@rayusamBoy
Copy link
Copy Markdown

🛠This pull request upgrades 🛠 the application from Laravel 8 to Laravel 12.

The Fruitcake CORS package was replaced with the Illuminate CORS package.
This change was made because the Fruitcake package is no longer maintained and the Illuminate package provides similar functionality.
The `HandleCors` middleware was also updated to use the Illuminate version.
The `fruitcake/laravel-cors` package was removed from composer.json.
…ompatibility

- Updated services.php to include Postmark and Resend configurations, removed SparkPost and Stripe.
- Changed session.php to use database as the default session driver and added environment variable support for various session settings.
- Deleted view.php configuration file as it is no longer needed.
- Updated .gitignore to ignore SQLite files more broadly.
- Removed StudentRecordFactory and ExampleComponent.vue as they are no longer in use.
- Updated UserFactory to use new syntax and added unverified email state.
- Refactored password resets migration to use new class syntax.
- Updated package.json to use Vite for asset compilation and removed Laravel Mix.
- Updated PHPUnit configuration for improved structure and added environment variables for testing.
- Modified .htaccess for better handling of X-XSRF-Token header.
- Refactored index.php to streamline request handling.
- Updated README to reflect Laravel 12.
- Removed unnecessary JavaScript and CSS files, and added Tailwind CSS integration.
- Refactored routes to use new syntax and added Auth routes.
- Removed deprecated server.php file.
- Updated storage framework .gitignore for better management of compiled files.
- Added new ConfirmPasswordController for handling password confirmations.
- Created new providers.php for service provider registration.
- Added new app.css for Tailwind CSS integration.
- Created new confirm password view and home view for user interface.
- Added private directory in storage with .gitignore for sensitive files.
- Implemented Pest testing framework with initial setup.
- Created Vite configuration for asset management.
The `FILESYSTEM_DISK` environment variable in `.env.example` was updated to `public`.
The `config/filesystems.php` file was modified to set the root directory for the `public` disk to `storage/app/public`.
This change ensures that publicly accessible files are stored in the correct directory.
Copy link
Copy Markdown

@codeCraft-Ritik codeCraft-Ritik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice implementation —

Copy link
Copy Markdown

@codeCraft-Ritik codeCraft-Ritik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice implementation — the code is clean and well-structured

@rayusamBoy
Copy link
Copy Markdown
Author

Thanks.

@rayusamBoy rayusamBoy closed this Apr 6, 2026
@rayusamBoy rayusamBoy reopened this Apr 6, 2026
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.

2 participants