xyzgeforce / nova2
A wonderful administration interface for Laravel.
dev-main
2024-02-21 19:22 UTC
Requires
- php: ^8.1
- brick/money: ^0.5.0|^0.6.0
- illuminate/support: ^8.83.4|^9.3.1
- inertiajs/inertia-laravel: ^0.4.5|^0.5.2|^0.6.0
- laravel/ui: ^3.3|^4.0
- nesbot/carbon: ^2.53.1
- spatie/once: ^1.1|^2.0|^3.0
- symfony/console: ^5.4|^6.0
- symfony/finder: ^5.4|^6.0
- symfony/polyfill-intl-icu: ^1.22.1
- symfony/process: ^5.4|^6.0
Requires (Dev)
- phpunit/phpunit: ^9.5.10
- predis/predis: ^1.1.9|^2.0
Suggests
- ext-intl: Required to format Currency field
- dev-main
- dev-dependabot/npm_and_yarn/elliptic-6.6.0
- dev-dependabot/npm_and_yarn/express-4.21.0
- dev-dependabot/npm_and_yarn/micromatch-4.0.8
- dev-dependabot/npm_and_yarn/elliptic-6.5.7
- dev-dependabot/npm_and_yarn/trix-2.1.4
- dev-dependabot/npm_and_yarn/socket.io-4.7.5
- dev-dependabot/npm_and_yarn/ws-7.5.10
- dev-dependabot/npm_and_yarn/webpack-dev-middleware-5.3.4
- dev-dependabot/npm_and_yarn/follow-redirects-1.15.6
- dev-dependabot/npm_and_yarn/socket.io-parser-4.2.4
- dev-dependabot/npm_and_yarn/babel/traverse-7.23.9
- dev-dependabot/npm_and_yarn/postcss-8.4.31
- dev-dependabot/npm_and_yarn/browserify-sign-4.2.2
- dev-dependabot/npm_and_yarn/semver-5.7.2
- dev-dependabot/npm_and_yarn/webpack-5.90.3
- dev-dependabot/npm_and_yarn/tough-cookie-4.1.3
This package is auto-updated.
Last update: 2024-10-30 21:12:04 UTC
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 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.