jeffgreco13/filament-wave 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jeffgreco13/filament-wave

最新稳定版本:v0.5.4

Composer 安装命令:

composer require jeffgreco13/filament-wave

包简介

This is my package filament-wave

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A Filament V3 plugin to create robust integrations for Wave Apps/Accounting.

Expert Support

Looking for a custom integration or solution? Contact me jeff@jeffpgreco.com

Installation

You can install the package via composer:

composer require jeffgreco13/filament-wave

Update your .env file to include:

WAVE_ACCESS_TOKEN= *your full access token*
WAVE_BUSINESS_ID= *ID for the business you wish to interact with*
WAVE_GRAPHQL_URI= *defaults to https://gql.waveapps.com/graphql/public*

This package uses jeffgreco13/laravel-wave under the hood. Review the docs for more information.

Add the WavePlugin to your panel service provider:

use Jeffgreco13\FilamentWave\WavePlugin;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ...
            ->plugin(
                WavePlugin::make()
            );
    }
}

Usage

I've build this package to be as modular and extensible as possible. Meaning you can publish migrations and utilize Filament resources only as needed. See below on how to use each model:

Customers

Publish the customers migration table using.

php artisan vendor:publish --tag="filament-wave-customers-migration"
php artisan migrate

Next, add the customers method to the WavePlugin in your panel service provider:

WavePlugin::make()->customers()

You can customize the Resource, Model:

WavePlugin::make()
    ->customers(
        model:YourCustomerClass::class,
        resource:YourCustomerResource::class
    )

Or you can disable the Resource:

WavePlugin::make()
    ->customers(
        resource:null
    )

Products

Publish the products migration table using.

php artisan vendor:publish --tag="filament-wave-products-migration"
php artisan migrate

Next, add the products method to the WavePlugin in your panel service provider:

WavePlugin::make()->products()

See Customers for more customization options.

Currencies

See jeffgreco13/laravel-wave for interacting with Wave currencies.

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.

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固