PHPackages                             taba/crm - 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. [Framework](/categories/framework)
4. /
5. taba/crm

ActiveLibrary[Framework](/categories/framework)

taba/crm
========

A reusable CRM package for Laravel.

v2.0.11(1mo ago)0392MITPHPPHP ^8.2

Since Jul 12Pushed 1mo agoCompare

[ Source](https://github.com/taba2177/taba-crm)[ Packagist](https://packagist.org/packages/taba/crm)[ RSS](/packages/taba-crm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (80)Versions (59)Used By (0)

 [![Taba CRM Logo](https://raw.githubusercontent.com/taba-center/taba-logo/main/TABA-LOGO-2022-horizontal.png)](https://raw.githubusercontent.com/taba-center/taba-logo/main/TABA-LOGO-2022-horizontal.png)Taba CRM Package for Laravel
============================

[](#taba-crm-package-for-laravel)

 A complete, "plug-and-play" CRM panel for Laravel, powered by Filament.

 [![Latest Version on Packagist](https://camo.githubusercontent.com/7a851839f535cc072a7da92f9193dd58bd7ef25db3a551cdbfaf6fba8baafafa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746162612f63726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/taba/crm) [![License](https://camo.githubusercontent.com/60d54b94238428411b603100208abc370e10f2753495d51370b7bec403d2c550/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746162612f63726d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/taba-center/crm/blob/main/LICENSE.md) [![Total Downloads](https://camo.githubusercontent.com/00a64c1c7c6633c01bc60334d8e14472025c379709f67609e6dcd900122e1b45/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746162612f63726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/taba/crm)

---

**Taba CRM** is a complete, reusable package that provides a full-featured CRM panel. It includes resources for managing posts, categories, and users, and comes pre-configured with essential plugins for a rich user experience.

✨ Features
----------

[](#-features)

- **Resource Management:** Pre-built Filament resources for Posts, Categories, and Users.
- **Plugin Ecosystem:** Integrated with popular plugins like Breezy (Profiles), Curator (Media), and Peek (Previews).
- **Simple Installation:** Get up and running with a single custom Artisan command.
- **Customizable:** Publishable assets (config, views, etc.) allow for easy customization.

📋 Prerequisites
---------------

[](#-prerequisites)

Before you begin, ensure you have a fresh Laravel project with the following configured:

- Laravel 10+
- Filament 3+ installed (`php artisan filament:install --panels`)
- Database connection set up in your `.env` file.

🚀 Installation
--------------

[](#-installation)

Getting started is simple. Follow these steps to integrate Taba CRM into your project.

### Step 1: Require with Composer

[](#step-1-require-with-composer)

First, pull the package into your project.

```
composer require taba/crm
```

### Step 2: Run the Install Command

[](#step-2-run-the-install-command)

Next, run our custom installation command. This smart command handles all the necessary setup for the package and its dependencies, including:

- Detecting and removing Tailwind CSS v4 if present (converting to v3)
- Automatically converting your `app.css` from Tailwind v4 to v3 syntax
- Removing `@tailwindcss/vite` plugin if present
- Configuring Tailwind, Vite, and PostCSS
- Publishing assets and running migrations

```
php artisan crm:install
```

> **Note:** The install command is smart and non-destructive. It will:
>
> - Detect if you're using Tailwind CSS v4 and automatically convert your files to v3
> - Skip modifications if files are already properly configured
> - Only add what's needed without breaking existing configurations

### Step 3: Register the Plugin

[](#step-3-register-the-plugin)

To activate the CRM panel, you need to register the `CrmPlugin` in your project's `AdminPanelProvider`.

Open `app/Providers/Filament/AdminPanelProvider.php` and add the plugin to the `plugins()` array:

```
// app/Providers/Filament/AdminPanelProvider.php

use Taba\Crm\CrmPlugin; // 👈 Import the plugin at the top

public function panel(Panel $panel): Panel
{
    return $panel
        // ... other panel settings
        ->plugins([
            new CrmPlugin(), // 👈 Add this line
        ]);
}
```

### Step 4: Compile Frontend Assets

[](#step-4-compile-frontend-assets)

Finally, compile your project's frontend assets to ensure the admin panel's styles and scripts are loaded correctly.

```
npm install
npm run dev
```

And you're done! 🎉 You can now visit `/admin` and log in to access your new CRM panel.

---

🏗️ v2 — Component System &amp; Client Panel
-------------------------------------------

[](#️-v2--component-system--client-panel)

### Polymorphic Section Components

[](#polymorphic-section-components)

v2 introduces a **polymorphic component system** where each section type (Hero, FAQ, Services Grid, etc.) is a self-contained PHP class implementing `SectionComponent`. Each component defines its own form fields, validation rules, API output, and blade view.

**36 built-in components** are auto-discovered and ready to use. You can also register custom components.

#### Creating a Custom Component

[](#creating-a-custom-component)

```
use Taba\Crm\Components\Contracts\SectionComponent;
use Taba\Crm\Components\Contracts\SectionLayout;
use Taba\Crm\Models\PostCategory;

class MyComponent implements SectionComponent
{
    public function key(): string { return 'my-component'; }
    public function label(): array { return ['ar' => 'المكون', 'en' => 'My Component']; }
    public function icon(): string { return 'heroicon-o-star'; }
    public function description(): array { return ['ar' => 'وصف المكون', 'en' => 'Component description']; }
    public function layout(): SectionLayout { return SectionLayout::SINGLE; }

    public function sectionFields(): array
    {
        return [
            \Taba\Crm\Components\Fields\FieldFactory::make('text', 'heading', ['ar' => 'العنوان', 'en' => 'Heading']),
        ];
    }

    public function itemFields(): array { return []; }
    public function bladeView(): string { return 'components.homepage.my-component'; }

    public function toApi(PostCategory $section): array
    {
        return [
            'id' => $section->id,
            'component' => $this->key(),
            'order' => $section->order,
            'title' => $section->getTranslations('name'),
        ];
    }

    public function rules(): array { return ['name.ar' => 'required|string']; }
    public function maxItems(): ?int { return null; }
}
```

#### Registering Custom Components

[](#registering-custom-components)

Add your component class to `config/crm.php`:

```
'extra_components' => [
    \App\Components\MyComponent::class,
],
```

### Dual-Panel Architecture

[](#dual-panel-architecture)

v2 introduces a **Client Panel** (`/dashboard`) alongside the existing Admin Panel (`/admin`):

- **Admin Panel** (`CrmPlugin`): Full CRM management at `/admin`
- **Client Panel** (`CrmClientPlugin`): Simplified content editing at `/dashboard`

Register both panels in your `AdminPanelProvider`:

```
->plugins([
    new \Taba\Crm\CrmPlugin(),          // Admin panel
    new \Taba\Crm\CrmClientPlugin(),     // Client panel
])
```

### API v2

[](#api-v2)

Component-aware API endpoints alongside the existing v1 API:

EndpointMethodDescription`/api/v2/sections`GETAll active sections with component data`/api/v2/sections/{id}`GETSingle section`/api/v2/settings`GETGrouped site settings`/api/v2/pages/{slug}`GETPage by slug`/api/v2/menus`GETAll menus`/api/v2/components`GETAvailable component types`/api/v2/contact`POSTSubmit contact messageAuthenticated admin endpoints (requires Sanctum token):

EndpointMethodDescription`/api/v2/admin/sections`POSTCreate section`/api/v2/admin/sections/{id}`PUTUpdate section`/api/v2/admin/sections/{id}`DELETEDeactivate section---

🔧 Customization (Optional)
--------------------------

[](#-customization-optional)

If you need to modify the package's default behavior, you can publish its assets.

```
php artisan vendor:publish --tag=crm-config
php artisan vendor:publish --tag=crm-views
php artisan vendor:publish --tag=crm-database
```

📄 License
---------

[](#-license)

The Taba CRM is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance90

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

54

Last Release

47d ago

Major Versions

v1.2.9 → v2.0.02026-03-29

### Community

Maintainers

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

---

Top Contributors

[![taba2177](https://avatars.githubusercontent.com/u/174347002?v=4)](https://github.com/taba2177 "taba2177 (493 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/taba-crm/health.svg)

```
[![Health](https://phpackages.com/badges/taba-crm/health.svg)](https://phpackages.com/packages/taba-crm)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[a2insights/filament-saas

Filament Saas for A2Insights

161.1k](/packages/a2insights-filament-saas)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[raugadh/fila-starter

Laravel Filament Starter.

614.9k](/packages/raugadh-fila-starter)[ercogx/laravel-filament-starter-kit

This is a Filament v3 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.

401.5k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

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