Download the PHP package nazemi/laravel-appointment without Composer
On this page you can find all versions of the php package nazemi/laravel-appointment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nazemi/laravel-appointment
More information about nazemi/laravel-appointment
Files in nazemi/laravel-appointment
Package laravel-appointment
Short Description Create a basic appointment system for any model
License MIT
Informations about the package laravel-appointment
Installation
You can install the package via Composer:
The package will automatically register itself.
You can publish the package's assets using the following command:
This will publish the package's configuration file, migration files, and views.
You can run the package's migrations using the following command:
This will create the necessary tables in your database.
Add Recipient and Provider traits in your User models.
Or you can use these traits in your own models.
`
Usage
The package provides a comprehensive reservation management system for Laravel applications. It includes features for creating, managing, and validating reservations with providers and recipients.
You can create reservations using the code below:
This will create a new reservation with the specified provider, recipient, start time, and end time.
You can create multiple reservations using the code below:
`
You can use all Eloquent methods to work with Reservation Model.
For example, you can retrieve reservations using the code below:
This will retrieve all reservations from the database.
You can retrieve reservations for a specific provider and recipient using the code below:
This will retrieve all reservations for the specified provider and recipient.
Configuration
The package's configuration file is located at config/laraserve.php. You can modify this file to customize the package's behavior.
License
The MIT License (MIT). Please see License File for more information.