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
Maindashboard to your codebase - Delete the
cardsmethod from yourNovaServiceProvider - Action
fields()method changed tofields(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
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-12