Download the PHP package sertxudeveloper/laravel-counters without Composer
On this page you can find all versions of the php package sertxudeveloper/laravel-counters. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sertxudeveloper/laravel-counters
More information about sertxudeveloper/laravel-counters
Files in sertxudeveloper/laravel-counters
Package laravel-counters
Short Description Manage counters with year and series.
License MIT
Homepage https://github.com/sertxudeveloper/laravel-counters
Informations about the package laravel-counters
Laravel Counters
Manage counters in your Laravel application.
This package allows you to manage counters in your Laravel application. You can create a counter and increment or decrement it as you need. You can also create a counter with a series or a year, so you can have different counters for different series or years.
Requirements
This package requires Laravel 10.0 or higher.
Installation
You can install the package via composer:
Usage
First, you should run the migrations:
That's it! You are ready to use the package.
Here is an example of how to use the package:
Use a basic counter
Use a counter with a series
Use a counter with a year
Use a counter with a year and a series
Decrement a counter
Custom increment
Custom decrement
Testing
This package contains tests, you can run them using the following command:
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Sergio Peris
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Copyright © 2024 Sertxu Developer