PHPackages                             cara/golfbooking-module - 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. cara/golfbooking-module

ActiveLaravel-module

cara/golfbooking-module
=======================

0401JavaScript

Since Oct 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ariff-fikri/golfbooking-module)[ Packagist](https://packagist.org/packages/cara/golfbooking-module)[ RSS](/packages/cara-golfbooking-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Golf Booking Module
===================

[](#golf-booking-module)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ec3f259fb5a42fe59e76e6d4085207ae137df478a463868ee716268b2e2c498a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d6465762d2d6d61737465722d626c7565)](https://packagist.org/packages/nwidart/laravel-modules)

[![Total Downloads](https://camo.githubusercontent.com/21626a9da3a8380479c6862472e283d26407c76ac47d52b3c527bff78677cda6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f776e6c6f6164732d372d677265656e)](https://packagist.org/packages/nwidart/laravel-modules)

`cara/golfbooking-module` is a Laravel package which created to manage booking of a golf system on the `Cara/enviro` Laravel app. Module is just like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 8.

Install
-------

[](#install)

This package require another package to be installed. run the following command to install it first:

```
composer require nwidart/laravel-modules
```

### Autoloading

[](#autoloading)

By default, the module classes are not loaded automatically. You can autoload your modules using `psr-4` on your `composer.json`. For example:

```
{
	"autoload": {
		"psr-4": {
			"App\\": "app/",
			"Modules\\": "Modules/",
		}
}
```

Be sure to run this command afterwards:

```
composer dump-autoload
```

After that install an additional composer plugin which will move the module files automatically:

```
composer require joshbrw/laravel-module-installer
```

Then you can install through Composer, run the following command:

```
composer require cara/golfbooking-module
```

Optionally, you can add a `DEFAULT_PASSWORD_SEEDER` in your `.env` for the general password to be seed in your database.

Run this command to enable the module:

```
php artisan module:enable golfBooking
```

Run this command to install all the dependencies needed for the module:

```
php artisan command:initializeCommand
```

This command will automatically enable the module, publish it to the local project, migrate all the migrations inside the module, and also seed it.

Last thing, inside your project `config > auth.php` , change the `providers` array with the module's `User` model:

```
'providers' => [
	'users' => [
		'driver' => 'eloquent',
-		'model' =>  User::class, // Remove this line
+		'model' =>  Modules\GolfBooking\Models\User::class, // Change it to this
	],
],
```

Credits
-------

[](#credits)

- [Ariff Fikri](https://github.com/ariff-fikri)

About Ariff Fikri
-----------------

[](#about-ariff-fikri)

Ariff Fikri is a senior web developer specialising on the Laravel framework. Visit [my website](https://ariff-fikri.com/).

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/143493f132a6953d5cf02b2943ad8b0410d6eb68cc702103fa03a6d00fede365?d=identicon)[ariff-fikri](/maintainers/ariff-fikri)

---

Top Contributors

[![ariff-fikri](https://avatars.githubusercontent.com/u/68539769?v=4)](https://github.com/ariff-fikri "ariff-fikri (9 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (3 commits)")

---

Tags

golf-bookinglaravellaravel-modules

### Embed Badge

![Health badge](/badges/cara-golfbooking-module/health.svg)

```
[![Health](https://phpackages.com/badges/cara-golfbooking-module/health.svg)](https://phpackages.com/packages/cara-golfbooking-module)
```

PHPackages © 2026

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