Download the PHP package eg-mohamed/referenceable without Composer

On this page you can find all versions of the php package eg-mohamed/referenceable. 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 referenceable

Referenceable

Latest Version on Packagist Total Downloads

An advanced Laravel package for making models referenceable with customizable reference numbers, flexible formats, sequential numbering, template-based generation, and comprehensive configuration options.

โœจ Features

๐Ÿš€ Installation

Install the package via Composer:

Install the package (creates necessary tables and publishes config):

๐Ÿ“‹ Quick Start

1. Add Reference Column to Migration

2. Use the Trait in Your Model

3. Generate References Automatically

๐Ÿ›  Configuration

Generation Strategies

Choose from three powerful generation strategies:

Random Strategy (Default)

Sequential Strategy

Template Strategy

Available Template Placeholders

Placeholder Description Example
{PREFIX} Custom prefix ORD
{SUFFIX} Custom suffix 2024
{YEAR} 4-digit year 2024
{YEAR2} 2-digit year 24
{MONTH} 2-digit month 03
{DAY} 2-digit day 15
{SEQ} Sequential number 0001
{RANDOM} Random string AB12
{MODEL} Model class name Order
{TIMESTAMP} Unix timestamp 1640995200

Model-Level Configuration

Global Configuration

Configure defaults in config/referenceable.php:

๐Ÿ”ง Advanced Usage

Manual Reference Generation

Reference Validation

Query Scopes

Batch Operations

๐ŸŽฏ Artisan Commands

Installation & Setup

Reference Management

Package Information

๐Ÿ“Š Multi-Tenancy Support

For multi-tenant applications:

โšก Performance Optimization

Database Indexes

Configuration Caching

๐Ÿ— Migration Guide

From v1.x to v2.x

  1. Run the installation command:

  2. Update your models to use new configuration format:

  3. Test your references:

๐Ÿงช Testing

๐Ÿ“ˆ Changelog

Please see CHANGELOG for more information on what has changed recently.

๐Ÿค Contributing

Please see CONTRIBUTING for details.

๐Ÿ”’ Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

๐Ÿ† Credits

๐Ÿ“„ License

The MIT License (MIT). Please see License File for more information.


All versions of referenceable with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.92.7
illuminate/contracts Version ^10.0||^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 eg-mohamed/referenceable contains the following files

Loading the files please wait ....