Skip to content

Releases: wamesk/laravel-api-response

1.2.1

24 Nov 10:29
Compare
Choose a tag to compare

Updated path logging to universal among all devices

1.2.0

23 Nov 13:45
Compare
Choose a tag to compare

Updated ApiResponse helper

When APP_DEBUG set true:

  • Dumps exception using dd() php function

When APP_DEBUG set false:

  • Returns "Server error" message (translated to sk, en)

Always:

  • Logs exception to log file "storage/logs/errors/{currentDate}.log"

1.1.8

11 Sep 09:38
32036a5
Compare
Choose a tag to compare

Fixed exception method

1.1.7

13 Apr 11:27
Compare
Choose a tag to compare

Fixed function name typo

1.1.6

13 Apr 11:23
Compare
Choose a tag to compare

Added new function exception()

1.1.5

08 Mar 08:30
Compare
Choose a tag to compare

Added function additionalData in ApiResponse Helper to add additional_data parameter in response (usage mostly with collection)

1.1.4

28 Feb 10:02
Compare
Choose a tag to compare

Now works with laravel framework 10.0

1.1.3

20 Jan 12:45
Compare
Choose a tag to compare

If status code is 0 changes it to 500 to prevent error

1.1.2

18 Jan 13:04
Compare
Choose a tag to compare
ApiResponse.php changed collection parameter type from mixed to Lengt…

1.1.1

17 Jan 10:33
Compare
Choose a tag to compare
ApiResponse.php added message translation prefix as passable parameter

README.md added example of usage