Download the PHP package litepie/repository without Composer

On this page you can find all versions of the php package litepie/repository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package repository

Litepie Repository - Laravel Repository Pattern with Enterprise Features

Latest Version on Packagist Total Downloads License

A comprehensive Laravel repository package that provides enterprise-level features for data access, performance optimization, analytics, and advanced querying capabilities. Perfect for applications handling large datasets, complex relationships, and requiring high-performance data operations.

✨ Features

Core Repository Pattern

Advanced Query Building

Performance & Optimization

Data Operations

Analytics & Insights

Search & Discovery

Events & Monitoring

Security & Validation

A Laravel package that implements the Repository pattern with a clean, intuitive API. This package provides a base repository class, interfaces, service provider bindings, CRUD operations, pagination support, and artisan commands to generate repositories.

Features

Requirements

Installation

You can install the package via Composer:

The package will automatically register its service provider.

Quick Start

1. Create a Repository

Use the artisan command to generate a repository:

This will create a repository class and interface in your app/Repositories directory.

2. Use the Repository

Usage

Basic CRUD Operations

Advanced Querying

Repository Methods

The base repository provides the following methods:

Basic CRUD

Query Building

Join Operations

Aggregation & Grouping

Advanced Queries

Utility Methods

Custom Repository Example

Service Provider Bindings

The package automatically binds repository interfaces to their implementations. You can also manually bind repositories in your AppServiceProvider:

🚀 Large Dataset Optimization

When dealing with datasets over 5 million records, traditional pagination becomes slow. This package provides several optimization strategies:

Cursor-Based Pagination (Recommended)

Fast Pagination (No Total Count)

Smart Pagination (Auto-Optimization)

Memory-Efficient Processing

Performance Comparison

Method 1M Records 5M Records 10M Records Best For
Standard ~500ms ~2000ms ~5000ms+ Small datasets
Fast ~50ms ~100ms ~150ms No total needed
Cursor ~10ms ~15ms ~20ms Large datasets
Seek ~5ms ~10ms ~15ms Real-time feeds

📖 Read the complete optimization guide →

🔍 Query String Filter Parser

Parse complex filter expressions from URL query strings for advanced search and filtering capabilities.

Complex Filter Syntax

Supported Operators

Real-World Example

Frontend Integration

📖 Complete Query String Parser Guide →

Artisan Commands

make:repository

Generate a new repository class and interface:

Configuration

You can publish the configuration file:

This will create a config/repository.php file where you can customize:

Testing

Run the tests with:

🚀 Advanced Features

Your repository package now includes these enterprise-level features:

📊 Analytics & Data Science

🔍 Advanced Search

📦 Bulk Operations

🧠 Intelligent Caching

📈 Performance Monitoring

📁 Data Import/Export

🎪 Event System

🔗 Relationship Management

For detailed documentation on all advanced features, see Advanced Features Guide.

📚 Documentation

🎯 Real-World Examples

Perfect for applications like:

Contributing

Please see CONTRIBUTING.md for details.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

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.


All versions of repository with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/pagination Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
illuminate/console Version ^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package litepie/repository contains the following files

Loading the files please wait ....