Download the PHP package litepie/database without Composer
On this page you can find all versions of the php package litepie/database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download litepie/database
More information about litepie/database
Files in litepie/database
Package database
Short Description Advanced Laravel Database package with enhanced Eloquent traits, scopes, casts, and utilities for modern Laravel applications
License MIT
Homepage https://github.com/litepie/database
Informations about the package database
Litepie Database Package
An advanced Laravel database package that provides enhanced Eloquent traits, scopes, casts, and utilities for modern Laravel applications. This package extends Laravel's Eloquent ORM with powerful features for archiving, searching, caching, slugs, and more.
Features
- 🗃️ Advanced Archivable: Soft archiving with reasons, user tracking, and advanced queries
- 🔍 Powerful Search: Multiple search strategies including full-text, fuzzy, weighted, and boolean search
- ⚡ Intelligent Caching: Smart caching with tags, invalidation, and warm-up strategies
- 🔗 Enhanced Slugs: Advanced slug generation with multiple strategies and configurations
- 💰 Money Handling: Robust money casting with multi-currency support
- 📊 JSON Enhancement: Advanced JSON casting with schema validation
- 🔧 Custom Macros: Dynamic model macro system for extending Eloquent
- 📋 Bulk Operations: Efficient bulk operations for large datasets
- 🎯 Smart Scopes: Advanced query scopes for complex filtering
Installation
Install the package via Composer:
Requirements
- PHP 8.2, 8.3, or 8.4
- Laravel 10.x, 11.x, or 12.x
- MySQL 5.7+, PostgreSQL 10+, or SQLite 3.8+
Laravel Auto-Discovery
The package will automatically register its service provider and facades through Laravel's package auto-discovery feature.
Manual Registration (Optional)
If you need to manually register the service provider, add it to your config/app.php
:
Publishing Configuration
Optionally, publish the configuration file:
Usage
1. Archivable Trait
The enhanced Archivable trait provides soft archiving functionality with additional features like reason tracking and user auditing.
Basic Usage
Migration
Add archive columns to your table:
Examples
2. Advanced Searchable Trait
Powerful search capabilities with multiple strategies.
Basic Setup
Search Examples
3. Intelligent Caching Trait
Smart caching with automatic invalidation and warm-up strategies.
Setup
Caching Examples
4. Enhanced Sluggable Trait
Advanced slug generation with multiple strategies and configurations.
Setup
Slug Examples
5. Enhanced JSON and Money Casts
JSON Cast with Schema Validation
Money Cast with Currency Support
6. Model Macros
Extend Eloquent models with custom macros.
7. Advanced Query Features
Filtering and Searching
Migration Macros
The package provides helpful migration macros:
Configuration
The package comes with sensible defaults, but you can customize behavior by publishing and modifying the configuration file:
Testing
Run the test suite:
Contributing
Please see CONTRIBUTING.md for details on how to contribute to this project.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
- Renfos Technologies
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Changelog
Please see CHANGELOG.md for more information on what has changed recently.
Support
- 📧 Email: [email protected]
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
🏢 About
This package is part of the Litepie ecosystem, developed by Renfos Technologies.
Organization Structure
- Vendor: Litepie
- Framework: Lavalite
- Company: Renfos Technologies
Links & Resources
- 🌐 Website: https://lavalite.org
- 📚 Documentation: https://docs.lavalite.org
- 💼 Company: https://renfos.com
- 📧 Support: [email protected]
Built with ❤️ by Renfos Technologies
Empowering developers with robust Laravel solutions
All versions of database with dependencies
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/cache Version ^10.0|^11.0|^12.0
illuminate/encryption Version ^10.0|^11.0|^12.0