Download the PHP package marjose123/laravel-numberizer without Composer
On this page you can find all versions of the php package marjose123/laravel-numberizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marjose123/laravel-numberizer
More information about marjose123/laravel-numberizer
Files in marjose123/laravel-numberizer
Package laravel-numberizer
Short Description Laravel package to create autonumber for Eloquent model
License MIT
Homepage https://github.com/marjose123/laravel-numberizer
Informations about the package laravel-numberizer
Laravel package to create autonumber for Eloquent model
Introduction
Laravel-Numberizer
is a fork of laravel-autonumber with a support of latest laravel version.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
-
Add the
AutoNumber
contracts and add also to your model theHasNumberizer
concerns. - If you want to use
closure
on your format you do so.
The purchase_number
will be automatically generated based on the format given when saving the Purchase model.
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
Thank you!
- laravel-autonumber - For beautiful plugin.
License
The MIT License (MIT). Please see License File for more information.