Laravel
9 Questions
34 Total Posts
2 Snippets
All
Laravel Facades: Simplifying Code and Improve Readability
As an integral part of Laravel, a renowned PHP framework, Facades provide a static interface to classes stored in the application's service container. They serve as static proxies (...)
0
0
1105
What is Laravel’s Service Container and How to Use Dependency Injection in Laravel App
Dependency injection and inversion of control are vital in clean web development. They make writing maintainable, testable code possible. Laravel is a famous PHP framework that (...)
0
0
3829
Secure Your SPA with Laravel Sanctum: A Step-by-Step Guide
In today's web development landscape, Single Page Applications (SPAs) are increasingly popular. But securing their interaction with backend APIs is crucial. Laravel Sanctum provides (...)
0
0
796
Multi-Authentication with Guards in Laravel
Laravel's robust authentication system provides a powerful mechanism for securing your application. To cater to scenarios where you need different user roles with distinct login (...)
0
0
1812
Laravel Pint & VS Code: Automate Your Code Formatting
Laravel Pint is an opinionated PHP code style fixer built on top of PHP-CS-Fixer, designed to simplify the process of ensuring clean and consistent code style in Laravel projects. (...)
0
0
3655
Laravel Clockwork: A Deep Dive into Debugging, Profiling Skills and Best Practices
In the world of web development, building complex applications often comes with the challenge of identifying and resolving performance bottlenecks. This is where a reliable debugging (...)
0
0
7149
Effortless PDF Generation in Laravel: A Guide to Using Spatie/Browsershot Package
Looking to generate or export PDF files using Laravel? Look no further! In this article, we'll guide you through using the Laravel spatie/browsershot package to seamlessly convert (...)
0
0
2791
Spatie Activity Log with Fortify
Asked by Bülent Sakarya ·
Hi. I am using fortify for auth. I need to log user auth events. I've created a loginlistener file. public function handle(Login $event): void { activity()->log('Logged (...)
0
1
4165
error in installing 'composer require nao-pon/flysystem-google-drive:~1.1'
Asked by Hossein ·
the error is: [[ Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 41943040 bytes) in phar:///usr/local/bin/composer1.phar/src/Composer/DependencyResolver/RuleSet.php (...)
0
1
5530
Part #3: Rule objects based custom validation in Laravel
Laravel comes with multiple ways to add custom validation rules to validate form request inputs. I have already explained some of the ways in the following article links:
0
0
3201