承接 neelkanthk/laravel-surveillance-ui 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

neelkanthk/laravel-surveillance-ui

Composer 安装命令:

composer require neelkanthk/laravel-surveillance-ui

包简介

Laravel Surveillance GUI provides a web based interface for Laravel Surveillance package.

README 文档

README

Laravel Surveillance UI Logo

What is Laravel Surveillance UI?

Provides a Graphical UI for Laravel Surveillance and integrates within your existing application.

What is Laravel Surveillance?

Laravel Surveillance is a package to put malicious users, IP addresses and anonymous browser fingerprints under surveillance, write surveillance logs and block malicious ones from accessing the app. Read more

Laravel Surveillance UI Demo

Minimum Requirements

  1. Laravel 6.0
  2. PHP 7.2

Installation

composer require neelkanthk/laravel-surveillance-ui

Usage

Step 1: Configure Laravel Surveillance

NOTE:- If you have already installed neelkanthk/laravel-surveillance in your application then please go directly to Step 2.

1.1. Publish the migration files:

php artisan vendor:publish --provider="Neelkanth\Laravel\Surveillance\Providers\SurveillanceServiceProvider" --tag="migrations"

1.2. Publish language files:

php artisan vendor:publish --provider="Neelkanth\Laravel\Surveillance\Providers\SurveillanceServiceProvider" --tag="lang"

1.3. Run the migrations

php artisan migrate

1.4. Publish the config file (Optional):

php artisan vendor:publish --provider="Neelkanth\Laravel\Surveillance\Providers\SurveillanceServiceProvider" --tag="config"

Read more about Laravel Surveillance installation

Step 2: Configure Laravel Surveillance UI

The following steps will install Laravel Surveillance UI in your application.

2.1. Publish views:

php artisan vendor:publish --provider="Neelkanth\Laravel\SurveillanceUi\Providers\SurveillanceUiServiceProvider" --tag="views"

2.2. Publish config:

php artisan vendor:publish --provider="Neelkanth\Laravel\SurveillanceUi\Providers\SurveillanceUiServiceProvider" --tag="config"

2.3. Publish assets:

php artisan vendor:publish --provider="Neelkanth\Laravel\SurveillanceUi\Providers\SurveillanceUiServiceProvider" --tag="assets"

Add Middleware

Laravel Surveillance provides a surveillance middleware that can be used on any route or route group to make it eligible for surveillance.

Route::middleware(["surveillance"])->get('/path', function () {});

Read more about middleware usage

Accessing the Dashboard

The Laravel Surveillance UI manager dashboard can be accessed at: http://your.domain/surveillance/ui/manager

The Laravel Surveillance UI logs dashboard can be accessed at: http://your.domain/surveillance/ui/logs

Overriding and customizing the package default configuration

Customizing the route prefix

By default surveillance/ui route prefix is appended to the package's routes.

If you want to customize it then you can do so easily in the config/surveillance-ui.php file's prefix key as shown below.

/**
 * The prefix to be used in the surveillance ui routes
 */
"prefix" => "surveillance/ui",

Customizing the route middleware

By default web middleware is added to the package's routes.

If you want to add more middlewares like auth or something else, then you can add them easily in the config/surveillance-ui.php file's middleware key as shown below.

/**
 * The middleware(s) to be used in the surveillance ui routes
 */
"middleware" => ["web", "auth"], //auth middleware added

Customizing the views

After publishing the package views you can change the design as per your taste. The views are published inside your project's resources/views/vendor/surveillance-ui directory.

Customizing the JS and CSS

After publishing the package assets you can tweak the JS and CSS inside your project's public/surveillance-ui directory.

Replacing the default logo

You can change the default CCTV logo and favicon displayed on the Surveillance Dashboard by replacing them with your own at public/surveillance-ui/images/logo.png and public/surveillance-ui/images/favicon.ico.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Security

If you discover any security-related issues, please email me.neelkanth@gmail.com instead of using the issue tracker.

Credits

License

MIT

neelkanthk/laravel-surveillance-ui 适用场景与选型建议

neelkanthk/laravel-surveillance-ui 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 70 次下载、GitHub Stars 达 21, 最近一次更新时间为 2020 年 11 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 neelkanthk/laravel-surveillance-ui 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 neelkanthk/laravel-surveillance-ui 我们能提供哪些服务?
定制开发 / 二次开发

基于 neelkanthk/laravel-surveillance-ui 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 21
  • Watchers: 1
  • Forks: 2
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-14