Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Torpedo's avatar

removing custom nova tools

Hi, is there a command to remove a unused custom tool / field / etc. or what i have to do to remove them?

thanks

0 likes
4 replies
wilburpowery's avatar

When you create a custom nova tool an nova-components folder get's created in your project root. in there you could just delete custom tool you wish to remove then from your composer.json just remove the dependency to that custom tool.

That's it. That's all you need to do.

2 likes
spacecat's avatar

composer remove {vendor/package} - same format you used when you generated the tool using nova:tool

1 like
internetbug256's avatar

"composer remove" removes it from composer.json, but you still have to manually remove it from the /nova-components directory. So two steps.

internetbug256's avatar

Hi there. I am back with the same problem. I found another place where one have to manually remove a nova-component. It's in /vendor/composer/installed.json.

1 like

Please or to participate in this conversation.