Download the PHP package dev_mamun/shop-pre-order without Composer
On this page you can find all versions of the php package dev_mamun/shop-pre-order. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package shop-pre-order
Pre-Order Management Package
Overview
A Laravel package designed to streamline the pre-order process for online shops, enabling easy management of pre-orders and enhancing customer experience.
Requirements
- Laravel: 11
- PHP: 8.2.0 or higher
Features
- Pre-Order Management: Create, update, delete, and view pre-orders.
- Role-Based Access Control: Admins and managers have specific permissions.
- Rate Limiting: Protects endpoints from excessive requests.
- reCAPTCHA Support: Ensures security for public routes.
- Event Triggers: Dispatches events on pre-order creation for email notifications.
Installation
Install via Composer:
Usage
Routes
- Public Routes:
GET /api/products
- View available products.POST /api/pre-orders
- Submit pre-orders with rate limiting and reCAPTCHA protection.
- Admin Routes:
GET /api/pre-orders/{id}
- View details of a specific pre-order.PUT /api/pre-orders/{id}
- Update an existing pre-order.DELETE /api/pre-orders/{id}
- Delete a specific pre-order.- These routes are protected by authentication and admin role middleware.
- Manager Routes:
GET /api/pre-orders
- View a list of pre-orders.- Limited permissions compared to admins.
Testing
To run tests:
-
Install dependencies:
- Execute tests:
Support
For issues or contributions, visit the repository and submit a pull request or issue.
Author: Md. Al Mamun License: MIT
All versions of shop-pre-order with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package dev_mamun/shop-pre-order contains the following files
Loading the files please wait ....