PHPackages                             sinarajabpour1998/lara-core - 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. sinarajabpour1998/lara-core

ActiveLaravel-package

sinarajabpour1998/lara-core
===========================

This package core features in laravel apps.

v1.3(4y ago)013MITBladePHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.\*

Since Sep 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sinarajabpour1998/lara-core)[ Packagist](https://packagist.org/packages/sinarajabpour1998/lara-core)[ Docs](https://github.com/sinarajabpour1998/lara-core)[ RSS](/packages/sinarajabpour1998-lara-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Lara Core
=========

[](#lara-core)

This package provides core features \[access control list and user manager\] for laravel apps.

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

[](#installation)

Using Composer :

```
composer require sinarajabpour1998/lara-core
```

packagist : [lara-core](https://packagist.org/packages/sinarajabpour1998/lara-core)

ACL Usage
---------

[](#acl-usage)

- Change the user modal namespace to laratrust config (located in `/config/laratrust.php`) in `user_models` section :

```
'user_models' => [
    'users' => 'App\Models\User',
],
```

- Publish blade files

```
php artisan vendor:publish --tag=lara-core
```

\*\* Please note if you already published the vendor, for updates you can run the following command :

```
php artisan vendor:publish --tag=lara-core --force
```

- Add the following tag in your sidebar layout :

```

```

or shorten tag :

```

```

Google Recaptcha usage
----------------------

[](#google-recaptcha-usage)

Set the values for google api in .env file:

```
GOOGLE_RECAPTCHA_SITE_KEY=
GOOGLE_RECAPTCHA_SECRET_KEY=

```

Add this tag in blade files:

```

```

Add the validation rule:

```
protected function validateLogin(Request $request)
    {
        $request->validate([
            $this->username() => ['required', 'string'],
            'password' => ['required', 'string'],
            'g-recaptcha-response' => ['required', 'cutlet_recaptcha']
        ]);
    }

```

Customize the language and validation message in config file:

```
return [
    'language' => 'fa',
    'site_key' => env('GOOGLE_RECAPTCAH_SITE_KEY'),
    'secret_key' => env('GOOGLE_RECAPTCAH_SECRET_KEY'),
    'message' => 'شما به عنوان ربات تشخیص داده شده‌اید'
];

```

Config options
--------------

[](#config-options)

You can set custom permissions for each section of this package. make sure that you already specified permissions in a seeder.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~17 days

Total

4

Last Release

1634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0f9a46cf81b1da334ac80cfdaedd9f20f71430bda89cf3d835b42071e386d9a?d=identicon)[sinarajabpour1998](/maintainers/sinarajabpour1998)

---

Top Contributors

[![sinatx](https://avatars.githubusercontent.com/u/76904071?v=4)](https://github.com/sinatx "sinatx (5 commits)")

### Embed Badge

![Health badge](/badges/sinarajabpour1998-lara-core/health.svg)

```
[![Health](https://phpackages.com/badges/sinarajabpour1998-lara-core/health.svg)](https://phpackages.com/packages/sinarajabpour1998-lara-core)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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