Do you know Laravel have released version 9.48?
The Laravel team released 9.48 this week with conditional fragment helpers, HTTP configuration options for Symfony mailers, a new DB schema helper, and more:
3 min readJan 29, 2023
There have 7 new updates for Laravel version 9.48.
1. DB Schema helper to toggle foreign key constraints
2. New fragment helpers
3. Increment each query builder method
4. Drop an index when modifying a column
5. Configure custom HTTP client options for mailers
6. 402 status code exception view
7. HTTP client “notFound()” response helper
DB Schema helper to toggle foreign key constraints
Patrick Hesselberg contributed a withoutForeignKeyConstraints
Schema method to conveniently disable foreign key constraints while managing a DB schema:
// Before
Schema::disableForeignKeyConstraints();
Schema::dropIfExists('table1')…