New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

mex3890/pim

1,101

Larablocks Analysis

mex3890/pim works with Laravel 4 to 11 (latest release 1.0.2, Apr 20, 2024), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 4 to 11, past end of life since Mar 12, 2026
  • No release in the last 12 months (last: Apr 20, 2024)
  • 664 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Apr 20, 2024.
  • No releases in the last 12 months.
  • First released: Apr 19, 2024.
  • Monthly downloads: 664.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require mex3890/pim
Latest Version:1.0.2
PHP:^8.3
Laravel:4 – 11
License:MIT
Last Updated:Apr 20, 2024
Links: GitHub  ·  Packagist
Maintainer: mex3890

Payment Integration Manager

First Steps

Publish Config
php artisan vendor:p --tag=pim
Disable Payment Action

You can need disable an action key globally like card.create or a specific payment service action, PIM enable you to work with two scenarios, first disable globally a Payment Action, to that just add action key in config pim.php like bellow:

> //pim.php

return [
    'disabled_actions' => [
        'pix' => [
            'create',
            'delete',
        ],   
    ],
];

Now to disable specific actions from a Payment Service, you need extend and create our new ServiceMap who list our actions and to read this ServiceMap you need extend and create new PaymentProvider to use our custom ServiceMap with or needed actions.

<?php

use App\CustomPayment\PaymentServices\PixService\Actions\CreateAction;
use App\CustomPayment\PaymentServices\PixService\Actions\DestroyAction;
use Pim\ServiceMap;

class PixServiceMap extends ServiceMap
{
    public static function actionPrefix(): string
    {
        return 'pix';
    }

    public static function actions(): array
    {
        return [
            CreateAction::ACTION_KEY,
            DestroyAction::ACTION_KEY,
        ];
    }
}
<?php

use App\CustomPayment\PaymentServices\PixService;
use App\CustomPayment\PaymentServices\PixService\PixServiceMap;
use Pim\DataTransferObjects\ConfigFile;
use Pim\PaymentProvider;

class CustomPaymentProvider extends PaymentProvider
{
    public static function actionMaps(): array
    {
        return [
            PixServiceMap::class,
        ];
    }
}

In the PaymentProvider you can override and add our customs PaymentServices like bellow:

<?php

use App\CustomPayment\PaymentServices\PixService;
use App\CustomPayment\PaymentServices\PixService\PixServiceMap;
use Pim\DataTransferObjects\ConfigFile;
use Pim\PaymentProvider;

class CustomPaymentProvider extends PaymentProvider
{
    public static function paymentServices(): array
    {
        return [
            PixService::class,
        ];
    }
}

To disable a PaymentService you can add to config pim.php the service key that need be disabled like bellow:

> //pim.php

return [
    'disabled_services' => [
        'pix',
    ],
];

Version History

Version Released PHP Laravel License
1.0.2 ^8.3 * MIT
1.0.1 ^8.3 ~11.4.0 MIT
1.0.0 ^8.3 ~11.4.0 MIT