Macros are ready-made functions, made available by Scriptcase, to assist in the construction of our projects. Whether you are a basic, intermediate or advanced user of Scriptcase, the use of macros is essential.

In this article, we will tell you the main ways of creating custom macros and, in addition, show you one of the macros we created to facilitate debugging our applications.

If you want to test the function that we are using in this example yourself, just copy and paste this code into your new macro: This function scans variables with print_r, returning the content more clearly and organized.

Share your experience with us and tell us how the use of these macros helps in the day to day of your development.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners