pictastudio / venditio-admin
This is my package venditio-admin
Fund package maintenance!
pictastudio
Requires
- php: ^8.1
- filament/filament: ^3.0
- illuminate/contracts: ^10.0
- pictastudio/venditio-core: ~0.1
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
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.