#PHP tip:  PHP 8.5 Closures in Constant Expressions
PHP 8.5 enables closures in constant expressions, allowing default function parameters, attribute values, and class constants to be defined as closures without workarounds.
#php85 #closures #codetip #modernPHP  
                    
 
             
            Lauro Guedes
@lauroguedes
Web technologies enthusiast and Software Engineer. Has a soft spot for PHP 💜 and loves working with Laravel, VueJS, Livewire and TailwindCSS. Also loves music. ⚒️ Building http://screencial.art and Mary UI Starter Kit (http://bit.ly/3GFUgdd)
21 Posts • 166 Views
                        🚀 New CodeTips release!
Now with shiki-style syntax highlighting 🎨 and notation comments to make your code tips clearer and more expressive.
#CodeTips #IndieHackers #WebDev #Coding #DevTools #Shiki #Programming
codetips.cloud
                        Check it out this laravel tip: Laravel Config Helper with Type Safety.
Laravel's config helper provides type-safe methods that ensure configuration values are returned in the correct format.
Check it out: codetips.cloud/tip/laravel-config-type-safe-retrieval-methods
                        🚀 Just launched CodeTips - a modern platform for sharing & collaborating on code snippets!
Think GitHub Gists meets collaborative editing with a beautiful UI ✨
#codetip #codesnippet #codesharing #developertools 
                    
                        🚀 Released v1.2.0 of Mary UI Starter Kit! 
✨ Added Role & Permission Management
🔒 Security improvements
🧪 Fixed tests
🎨 Small UI tweaks
Check it out & ⭐️ if it helps! 
github.com/lauroguedes/mary-ui-starter-kit
 
                 
                