https://github.com/tomatophp/filament-pos
POS working with Ecommerce System for FilamentPHP
https://github.com/tomatophp/filament-pos
ecommerce erp filament-plugin point-of-sale pos
Last synced: about 1 month ago
JSON representation
POS working with Ecommerce System for FilamentPHP
- Host: GitHub
- URL: https://github.com/tomatophp/filament-pos
- Owner: tomatophp
- License: mit
- Created: 2024-05-09T12:42:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-02T10:55:16.000Z (about 1 year ago)
- Last Synced: 2025-03-31T05:03:14.636Z (7 months ago)
- Topics: ecommerce, erp, filament-plugin, point-of-sale, pos
- Language: PHP
- Homepage: https://tomatophp.com/en/open-source/filament-pos
- Size: 2.81 MB
- Stars: 45
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README

# Filament POS
[](https://packagist.org/packages/tomatophp/filament-pos)
[](https://packagist.org/packages/tomatophp/filament-pos)
[](https://packagist.org/packages/tomatophp/filament-pos)POS System for FilamentPHP with a lot of features and integration with Ecommerce Builder
## Screenshots




## Installation
```bash
composer require tomatophp/filament-pos
```we need the Media Library plugin to be installed and migrated you can use this command to publish the migration
```bash
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"
```now you need to install the settings hub use these commands
```bash
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"
php artisan filament-settings-hub:install
```after install your package please run this command
```bash
php artisan filament-pos:install
```finally register the plugin on `/app/Providers/Filament/AdminPanelProvider.php`
```php
->plugin(\TomatoPHP\FilamentPos\FilamentPOSPlugin::make())
```## Use Filament Shield
you can use the shield to protect your resource and allow user roles by install it first
```bash
composer require bezhansalleh/filament-shield
```Add the Spatie\Permission\Traits\HasRoles trait to your User model(s):
```php
use Illuminate\Foundation\Auth\User as Authenticatable;
use Spatie\Permission\Traits\HasRoles;class User extends Authenticatable
{
use HasRoles;// ...
}
```
Publish the config file then setup your configuration:```php
->plugin(\BezhanSalleh\FilamentShield\FilamentShieldPlugin::make())
```Now run the following command to install shield:
```bash
php artisan shield:install
```Now we can [publish the package assets]([https://github.com/bezhanSalleh/filament-shield](https://github.com/tomatophp/filament-users?tab=readme-ov-file#publish-assets)).
```bash
php artisan vendor:publish --tag="filament-users-config"
```now you need to allow it on the plugin options
```php
->plugin(\TomatoPHP\FilamentPos\FilamentPOSPlugin::make()->allowShield())
```for more information check the [Filament Shield](https://github.com/bezhanSalleh/filament-shield)
## Publish Assets
you can publish config file by use this command
```bash
php artisan vendor:publish --tag="filament-pos-config"
```you can publish views file by use this command
```bash
php artisan vendor:publish --tag="filament-pos-views"
```you can publish languages file by use this command
```bash
php artisan vendor:publish --tag="filament-pos-lang"
```## Other Filament Packages
Checkout our [Awesome TomatoPHP](https://github.com/tomatophp/awesome)