PHPackages                             wallacemartinss/core\_tenant - 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. wallacemartinss/core\_tenant

ActiveProject[Framework](/categories/framework)

wallacemartinss/core\_tenant
============================

The skeleton application for the Laravel framework.

55720PHP

Since Aug 13Pushed 9mo ago3 watchersCompare

[ Source](https://github.com/wallacemartinss/core_tenant)[ Packagist](https://packagist.org/packages/wallacemartinss/core_tenant)[ RSS](/packages/wallacemartinss-core-tenant/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 FilamentPHP Tenant Based in Organization/Company (**Single Database**)
------------------------------------------------------------------------

[](#---------filamentphp-tenant-based-in-organizationcompany-single-database----)

About this Project
------------------

[](#about-this-project)

An example project demonstrating a MultiTenant **Single Database** system fully built in Laravel and Filament, integrated with Stripe for Subscription management. The system includes the following features:

1. Creation of Plans, Prices, and Features stored in the database and integrated via the Stripe API.
2. Admin Panel for Managing Tenants and Subscriptions.
3. API-based Client Creation when registering the Tenant
4. Modal for Tenant to choose Plans and Complete the Subscription (Stripe Management)
5. Feature for Tenant to create tickets for the Tenant's manager.
6. Profile editing with theme color customization.
7. Integration of Icons with FontAwesome.
8. Tested and working with MySQL and Postgresql

Videos:
-------

[](#videos)

1. See Video - Administrative panel presentation

[video](https://youtu.be/mjXOp9EMKj4)

2. See Video - Creation of Products, prices and Features

[video](https://youtu.be/52wDWiFtNxw)

3. See Video - Registering a new tenant

[video](https://youtu.be/LJdqvMkynlU)

The plugins used in this project may include:
---------------------------------------------

[](#the-plugins-used-in-this-project-may-include)

- [laravel](https://github.com/laravel/framework)
- [Filament](https://github.com/filamentphp/filament)
- [FontAwesome](https://v2.filamentphp.com/tricks/use-font-awesome-or-any-other-icon-set)
- [Brazilian Form Fields](https://filamentphp.com/plugins/leandrocfe-brazilian-form-fields)
- [Edit Profile](https://filamentphp.com/plugins/joaopaulolndev-edit-profile)
- [Spatie Laravel Backup](https://filamentphp.com/plugins/shuvroroy-spatie-laravel-backup)

Prerequisites
-------------

[](#prerequisites)

1. Create a Stripe account and enable trial mode - [Stripe](https://stripe.com/)
2. Docker and docker-compose (The Dockerfile for this project already includes all the necessary resources to run the project.)

Dockerfile includes the following functionalities:
--------------------------------------------------

[](#dockerfile-includes-the-following-functionalities)

1. The Docker File include all resources for execute this project.

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

[](#installation)

1. Clone the repository

```
git clone https://github.com/wallacemartinss/core_tenant.git
cd core_tenant
```

```
laravel new core_tenant --using=wallacemartinss/core_tenant
cd core_tenant
```

2. Copy .ENV file

```
cp .env.example .env
```

3. Configure your database in `.env`:

```

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_coretenant_system
DB_USERNAME=your_username
DB_PASSWORD=your_password

```

4. Configure Stripe keys in `.env`

```

STRIPE_KEY=your_stripe_key
STRIPE_SECRET=your_stripe_secret

```

5. Run Docker

```
docker compose up -d
```

6. Access docker App container

```
docker compose exec app bash
```

7. Inside the container, Install PHP dependencies

```
composer install
```

8. Inside the container, configure environment variables

```
php artisan key:generate
```

9. Inside the container, Run migrations and seeders

```
php artisan migrate --seed
```

10. Inside the container, Link storage for file uploads

```
php artisan storage:link
```

11. Inside the container run the command below (To Listen Webhook stripe events) Ip 172.17.0.1 It is the default gateway for containers to communicate with the host.

```
stripe listen --forward-to http://172.17.0.1/stripe/webhook
```

12. The first time you run it, it will generate your webhook key. copy and paste it into your env file.

```
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret

```

Tips
----

[](#tips)

When a user is registered (new tenant) they are asked to validate their email. use the address below to access the mailpit

Contributing
------------

[](#contributing)

1. Fork the repository
2. Create your feature changes in your branch
3. Commit your changes
4. Push to the branch
5. Open a Pull Request

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.

Credits
-------

[](#credits)

- [Wallace Martins](https://github.com/wallacemartinss)
- [All Contributors](../../contributors)

Support
-------

[](#support)

For support, please email  or create an issue in the GitHub repository.

####  🚧 Project 🚀 under construction... 🚧

[](#-----------project--under-construction------)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance42

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% 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/7c4ef517e623796f36a3912ade0c0db618939111f7be42f8de0d79bcc833ad57?d=identicon)[wallacemartinss](/maintainers/wallacemartinss)

---

Top Contributors

[![wallacemartinss](https://avatars.githubusercontent.com/u/56648941?v=4)](https://github.com/wallacemartinss "wallacemartinss (77 commits)")[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (5 commits)")[![josenetoz](https://avatars.githubusercontent.com/u/74790000?v=4)](https://github.com/josenetoz "josenetoz (2 commits)")

### Embed Badge

![Health badge](/badges/wallacemartinss-core-tenant/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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