Authorization with Laravel Gates and Policies
How to centralize authorization logic in Laravel using Gates and Policies, keeping 'who can do what' decisions clean and testable.
Blog
My writing, videos and posts across platforms on software architecture, PHP, DevOps and product development. (Page 23/30)
How to centralize authorization logic in Laravel using Gates and Policies, keeping 'who can do what' decisions clean and testable.
What Promises are in JavaScript, how to escape callback hell, and the essential patterns for chaining then/catch and managing async flow.
Real problems and solutions encountered while integrating iyzico payments into a Laravel project — things not in the documentation.
Connecting to external services in PHP with the Guzzle HTTP client — covering timeouts, error handling, and building a reliable request structure.
What closures (anonymous functions) are in PHP, how variable capture with the use keyword works, and practical everyday examples.
Laravel Mix provides a fluent API that lets you compile JavaScript and CSS assets without writing Webpack configuration from scratch.