Download the PHP package norman-huth/nova-assets-changer without Composer

On this page you can find all versions of the php package norman-huth/nova-assets-changer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-assets-changer

Nova Assets Changer

This package is for Nova 4 and swaps the resources from the resources/Nova/Nova folder with those in the vendor/laravel/nova/resources/js folder or use the php artisan custom-assets:publish command.
Then the assets are recompiled and published with the Force option.

This package creates a backup of each file and checks for changes

Attention. The original vendor files will be overwritten.

IMPORTANT

You must run the php artisan nova:custom-assets after every composer update!

Tip: You can replace @php artisan nova:publish with @php artisan custom-assets:after-composer-update in Your composer.json

Install

Running

For the full process run this command:

Optional

Run Command Only If A Nova Update Is Detected (Or The Package Has No Version Saved)

Publish Nova Assets Via Command

Publish Nova Field Assets Via Command (experimental)

Notice

After a Nova update, you need to check your resource files to see if they are still compatible.

Examples

I make not a release for every example. For all example resources take a look in the resources folder of the GitHub repository.

⚠️ These files are all based on one of the first Nova 4 releases and serve only as an example! ⚠️

Other Composer Or NPM Command

Create a command: php artisan make:command CustomAssetsCommand

with followingen content:

Add Custom CSS

Create resources/Nova/custom.css with Your custom CSS.

Register new pages

Example: Register Page


More Laravel Nova Packages


Stand With Ukraine


All versions of nova-assets-changer with dependencies

PHP Build Version
Package Version
Requires laravel/nova Version ^4.27.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package norman-huth/nova-assets-changer contains the following files

Loading the files please wait ....