fr3on/laravel-inbox 问题修复 & 功能扩展

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

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

fr3on/laravel-inbox

最新稳定版本:0.0.1

Composer 安装命令:

composer require fr3on/laravel-inbox

包简介

A local notification intercept dashboard for Laravel — caught and previewed in one place across all channels.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads PHP Version Support Laravel Version Support License

Laravel Inbox is a premium local notification intercept dashboard for Laravel. It allows you to catch, inspect, and simulate notifications across all major channels in a beautiful, real-time interface.

Features

  • Multi-Channel Interception: Automatically catches notifications for Mail, Slack, SMS (Twilio/Vonage), Discord, Telegram, Push, WhatsApp, and Database.
  • Premium Simulations: High-fidelity UI mockups for mobile devices and chat apps.
  • Notifiable Inspector: Inspect the state of the Eloquent model associated with every notification.
  • Timeline Tracking: Correlate notifications to see a sequence of events for specific targets.
  • Resend Utility: Re-dispatch any captured notification with a single click.
  • Advanced Filtering: Instant, real-time search and channel filtering.
  • PWA Style UI: A fully responsive, mobile-optimized dashboard.

Installation

You can install the package via composer:

composer require fr3on/laravel-inbox --dev

The package will automatically register its service provider. To customize the installation, you can publish the config file:

php artisan vendor:publish --tag="inbox-config"

Configuration

By default, Laravel Inbox is only enabled when APP_DEBUG is true and APP_ENV is local.

// config/inbox.php

return [
    'enabled' => env('INBOX_ENABLED', env('APP_ENV') === 'local'),
    
    'path' => 'inbox', // The URL path for the dashboard
    
    'middleware' => ['web'], // Add your own auth middleware here if needed
    
    'gate' => null, // Optional Laravel Gate name for access control
];

Security

If you plan to use Laravel Inbox in a shared staging environment, we highly recommend protecting the route with a Gate:

// app/Providers/AuthServiceProvider.php

Gate::define('view-inbox', function ($user) {
    return str_ends_with($user->email, '@yourcompany.com');
});

Then update your config: 'gate' => 'view-inbox'.

Testing

composer test

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固