pictastudio/venditio-admin
最新稳定版本:v0.1.14
Composer 安装命令:
composer require pictastudio/venditio-admin
包简介
This is my package venditio-admin
README 文档
README
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require pictastudio/venditio-admin
Then initialize filament with the following command
php artisan filament:install --panels
You can install the package with:
php artisan venditio-admin:install
Optionally, you can publish the views using
php artisan vendor:publish --tag="venditio-admin-views"
Optionally, you can publish the translations using
php artisan vendor:publish --tag="venditio-admin-translations"
This is the contents of the published config file:
return [ /* |-------------------------------------------------------------------------- | Brand |-------------------------------------------------------------------------- | | Specify the brand settings | */ 'brand' => [ 'name' => config('app.name'), 'logo' => [ 'light' => null, 'dark' => null, ], ], /* |-------------------------------------------------------------------------- | Products |-------------------------------------------------------------------------- | */ 'products' => [ 'variants' => [ 'enabled' => false, ], ], /* |-------------------------------------------------------------------------- | Resources |-------------------------------------------------------------------------- | | Specify the filament resources | */ 'resources' => [ 'brand' => [ 'enabled' => true, 'class' => Resources\BrandResource::class, ], 'order' => [ 'enabled' => true, 'class' => Resources\OrderResource::class, ], 'product' => [ 'enabled' => true, 'class' => Resources\ProductResource::class, 'relation_managers' => [ 'product_items' => [ 'enabled' => true, 'class' => ProductItemsRelationManager::class, ], ], ], 'product_category' => [ 'enabled' => true, 'class' => Resources\ProductCategoryResource::class, ], 'user' => [ 'enabled' => true, 'class' => Resources\UserResource::class, ], ], ];
Auth
To manage auth and permissions this package uses PictaStudio\VenditioCore\Managers\Contracts\AuthManager from the core package.
In order to authoriza access to the filament panel the instance of PictaStudio\VenditioCore\Managers\Contracts\AuthManager that is binded into the container must implement the canAccessAdminPanel method
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-12