承接 xyzgeforce/nova2 相关项目开发

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

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

xyzgeforce/nova2

Composer 安装命令:

composer require xyzgeforce/nova2

包简介

A wonderful administration interface for Laravel.

README 文档

README

cause you may have a legit license and want to wrap it inside your own packages. not sure if it's safe to use this package cause retrieved from dns poisioned machine, so use at your own risk.

set some random license characters in your .env or config/nova.php

To change yourself, simply install nova.laravel.com through composer (license needed to download) and change within src/Nova.php:

    /**
     * Check to see if Nova is valid for the configured license key.
     *
     * @return bool
     */
    public static function checkLicenseValidity()
    {
        return Cache::remember('nova_valid_license_key', 3600, function () {
            return rescue(function () {
                return static::checkLicense()->status() == 204;
            }, false);
        });
    }

    /**
     * Check to see if Nova is valid for the configured license key.
     *
     * @return \Illuminate\Http\Client\Response
     */
    public static function checkLicense()
    {
        return Http::post('https://nova.laravel.com/api/license-check', [
            'url' => request()->getHost(),
            'key' => config('nova.license_key', ''),
        ]);
    }
    

to:

    /**
     * Check to see if Nova is valid for the configured license key.
     *
     * @return bool
     */
    public static function checkLicenseValidity()
    {
        return Cache::remember('nova_valid_license_key', 3600, function () {
            return rescue(function () {
                return static::checkLicense()->status() != 204;
            }, false);
        });
    }

    /**
     * Check to see if Nova is valid for the configured license key.
     *
     * @return \Illuminate\Http\Client\Response
     */
    public static function checkLicense()
    {
        return Http::post('https://nova.laravel.com', [
            'url' => request()->getHost(),
            'key' => config('nova.license_key', ''),
        ]);
    }

Laravel Nova

Upgrade Guide

  • Copy the Main dashboard to your codebase
  • Delete the cards method from your NovaServiceProvider
  • Action fields() method changed to fields(NovaRequest $request)

Modals

If you have a custom modal, make sure to add the <teleport to="#modals"> component as the root level.

统计信息

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

GitHub 信息

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

其他信息

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