tomatophp/filament-pos
最新稳定版本:v1.0.4
Composer 安装命令:
composer require tomatophp/filament-pos
包简介
POS System for FilamentPHP with a lot of features and integration with Ecommerce Builder
README 文档
README
Filament POS
POS System for FilamentPHP with a lot of features and integration with Ecommerce Builder
Screenshots
Installation
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
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"
now you need to install the settings hub use these commands
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations" php artisan filament-settings-hub:install
after install your package please run this command
php artisan filament-pos:install
finally register the plugin on /app/Providers/Filament/AdminPanelProvider.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
composer require bezhansalleh/filament-shield
Add the Spatie\Permission\Traits\HasRoles trait to your User model(s):
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:
->plugin(\BezhanSalleh\FilamentShield\FilamentShieldPlugin::make())
Now run the following command to install shield:
php artisan shield:install
Now we can publish the package assets.
php artisan vendor:publish --tag="filament-users-config"
now you need to allow it on the plugin options
->plugin(\TomatoPHP\FilamentPos\FilamentPOSPlugin::make()->allowShield())
for more information check the Filament Shield
Publish Assets
you can publish config file by use this command
php artisan vendor:publish --tag="filament-pos-config"
you can publish views file by use this command
php artisan vendor:publish --tag="filament-pos-views"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-pos-lang"
Other Filament Packages
Checkout our Awesome TomatoPHP
统计信息
- 总下载量: 1.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 64
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-09





