承接 spizian/wizardtube 相关项目开发

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

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

spizian/wizardtube

最新稳定版本:1.5

Composer 安装命令:

composer require spizian/wizardtube

包简介

Wizard installation for laravel application

README 文档

README

  • php 8.2
  • require Laravel 10

Installation

composer require spizian/wizardtube

Code style will be automatically fixed by php-cs-fixer.

To secure the code so that it can only be accessed in certain domains, create a middleware class. Example "CheckDomain"

php artisan make:middleware CheckDomain

then create a handle function

public function handle(Request $request, Closure $next): Response
{
    if ($request->getHttpHost() != env('DOMAIN_SITE')) {
        return response('Create message here'); // Change respond with what you want.
    }
    return $next($request);
}

Import in route and and create a middleware group for CheckDomain.

use App\Http\Middleware\CheckDomain;

Route::middleware(CheckDomain::class)->group(function () {
    // Your routes here
});

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-10