Laravel Community Tools by Tighten

Tag "database" tricks

87 tricks
Laravel State Management is a powerful, Redux-inspired solution for managing complex application state across services, requests, and caching layers. This package allows you to define shared state, easily persist and rehydrate data, and implement custom methods for state manipulation. With features like attribute casting, default state handling, and global store access, it provides a robust system for managing state across your Laravel app.
mustafakha... 1 year ago 11468
Laravel OTP is a comprehensive package that simplifies the generation and verification of Time-based One-Time Passwords (TOTP) and HMAC-based One-Time Passwords (HOTP). Whether you're building two-factor authentication or securing API access, Laravel OTP offers an easy-to-use, Google Authenticator-compatible solution. With support for TOTP and HOTP, and built-in methods for secret generation and verification, this package is perfect for adding an additional layer of security to your Laravel applications.
mustafakha... 1 year ago 9727
Translatable Pro is designed for performance, storing phrases in separate database tables to simplify the maintenance of translations across all languages. With just one Composer install, you can seamlessly integrate comprehensive multi-language support into your app, enabling you to create advanced, optimized, and high-performance translatable applications with an efficient database structure.
a7medKhali... 1 year ago 20481
Automatically replace column with a translated value.
jesseyvano... 1 year ago 21215
If you want to take a SQL file of your MySQL DB, By clicking a button in the Laravel application, then here is the code.
codingwith... 1 year ago 23763
Laravel Settings to create your website and model settings in an easy way, you can find all details about the package here: https://github.com/yazan-alnugnugh/laravel-settings
yazan-alnu... 4 years ago 44390
We have already known the usage of accessors and mutators. We use accessors in laravel model to modify any field data while retrieving the records and mutators to modify any field data while inserting to database. So, to modify any field before, we needed two separate methods for a single filed i.e. one method for accessor and one for mutator but in latest laravel release I mean in laravel 8.77.0, we can use a single method for both accessor and mutator using closure . Given below is the syntax for single mehtod accessor and mutator:
asifzcpe 4 years ago 34585
Disable Laravel's Eloquent timestamps
saravanaku... 4 years ago 29843
Send a reinitilisation code (6 digits) by email instead of a pratice link for mobile customers. In this case we are using fortify but working well with the laravel authentication system in general.
gabeta 4 years ago 14985