In my app's bootstrap code I need to use $_SERVER['HTTP_HOST'] to do some initialization. Problem is...
You should do what's right for your code, even if it inconveniences you within your editor. Perhaps...
@moon0326 IoC bindings are usually made in service providers, however you can't call Route::currentR...
Nope you're not wrong! Try this: Route::get('sale_add_item/{alias}/{item_id?}', function($alias, $it...
Syntax errors. Route::get('sale_add_item/{alias}/{item_id}', function($alias, $item_id) { });
If the value of total is unit_price * quantity then you don't need to store total. That's part secon...
The Laravel portal for problem solving, knowledge sharing and community building.