PHPackages                             nazemi/laravel-appointment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nazemi/laravel-appointment

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nazemi/laravel-appointment
==========================

Create a basic reservation system for Laravel applications.

v1.0.3(1y ago)123MITPHPPHP ^8.2

Since Dec 13Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/mohamadalinzm/laraserve)[ Packagist](https://packagist.org/packages/nazemi/laravel-appointment)[ RSS](/packages/nazemi-laravel-appointment/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

[![Laraserve Logo](art/logo.png)](art/logo.png)Reservation Package for Laravel
===============================

[](#reservation-package-for-laravel)

This package provides a comprehensive reservation management system for Laravel applications. It includes features for creating, managing, and validating reservations with providers and recipients.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require nazemi/laraserve
```

The package will automatically register itself.

You can publish the package's assets using the following command:

```
php artisan vendor:publish --provider="Nazemi\Laraserve\LaraserveServiceProvider"
```

This will publish the package's configuration file, migration files, and views.

You can run the package's migrations using the following command:

```
php artisan migrate
```

This will create the necessary tables in your database.

Add Recipient and Provider traits in your User models.

```
use Nazemi\Laraserve\Traits\IsRecipient;
use Nazemi\Laraserve\Traits\IsProvider;

class User extends Authenticatable
{
    use IsRecipient, IsProvider;
}
```

Or you can use these traits in your own models.

```
use Nazemi\Laraserve\Traits\IsRecipient;

class Patient
{
    use IsRecipient;
}

use Nazemi\Laraserve\Traits\IsProvider;

class Doctor
{
    use IsProvider;

}
```

Usage
-----

[](#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:

```
use Nazemi\Laraserve\Facades\Laraserve;

$reservation = Laraserve::setProvider($provider)
    ->setRecipient($recipient)
    ->startTime('2023-10-01 10:00')
    ->endTime('2023-10-01 11:00')
    ->save();
```

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:

```
use Nazemi\Laraserve\Facades\Laraserve;

$reservations = Laraserve::setProvider($provider)
    ->startTime('2023-10-01 10:00')
    ->count(5)
    ->duration(30)
    ->save();
```

You can use all Eloquent methods to work with Reservation Model.

For example, you can retrieve reservations using the code below:

```
use Nazemi\Laraserve\Models\Reservation;

$reservations = Reservation::all();
```

This will retrieve all reservations from the database.

You can retrieve reservations for a specific provider and recipient using the code below:

```
use App\Models\User;

$provider = User::find(1);
$recipient = User::find(2);

$provider->providedReservations;
$recipient->receivedReservations;
```

This will retrieve all reservations for the specified provider and recipient.

Configuration
-------------

[](#configuration)

The package's configuration file is located at `config/laraserve.php`. You can modify this file to customize the package's behavior.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance51

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

4

Last Release

478d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e74d99c85f6ec17369df3766c9fc1c9d31bfd23195022c13e8a51c259da14ba?d=identicon)[mohamadalinzm](/maintainers/mohamadalinzm)

---

Top Contributors

[![mohamadalinzm](https://avatars.githubusercontent.com/u/28390036?v=4)](https://github.com/mohamadalinzm "mohamadalinzm (85 commits)")

---

Tags

phplaravelappointment

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nazemi-laravel-appointment/health.svg)

```
[![Health](https://phpackages.com/badges/nazemi-laravel-appointment/health.svg)](https://phpackages.com/packages/nazemi-laravel-appointment)
```

###  Alternatives

[amranidev/laracombee

Recommendation system for laravel

11636.7k1](/packages/amranidev-laracombee)[salmanzafar/laravel-geocode

A Laravel Library to find Lat and Long of a given Specific Address

153.9k](/packages/salmanzafar-laravel-geocode)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
