Skip to main content
4 votes

Laravel Wallet Service Backend

Firstly it would be a great idea to put all of your RESTful (store, update, show, index, destroy/delete) methods within a Service class, and name them, by convention, store, update, show, index, or ...
Arthur's user avatar
  • 41
3 votes

Add values to a multidimensional array of unknown depth

func_get_args() can be replaced with spread syntax Per this SO answer while it may only eliminate one line, the call to ...
Sᴀᴍ Onᴇᴌᴀ's user avatar
3 votes

Drop-down list with 14 options of RSS feed dates

Review Bearing in mind that this code was posted nearly 11 years ago, perhaps much has been learned about PHP, RSS feeds and similar topics. Is the code still used today? As Greg alluded to, the ...
Sᴀᴍ Onᴇᴌᴀ's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible