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

SarahS's avatar
Level 12

New package not working in Forge

I have a live site which I added a new package to locally, that all works fine. But when it is deployed on Forge it doesn't appear to be working. Are there any commands I need to run?

0 likes
9 replies
LaryAI's avatar
Level 58

It's possible that the package you added requires you to run some commands in order to get it working. If that's the case, you'll need to SSH into your Forge server and run the commands manually.

If you're not sure what commands to run, you'll need to consult the documentation for the package you added. It should provide instructions on how to install and configure the package.

If you're still having trouble, you can also try running composer install and php artisan migrate to make sure all of your dependencies and database migrations are up to date.

tykus's avatar

it doesn't appear to be working

Can you expand on this?

SarahS's avatar
Level 12

@tykus It's a code snippet highlighter, this works locally but on the live site it's just the basic markdown output that is showing.

tykus's avatar

@SarahS maybe the dependencies are not installed; does your VCS include the built assets, or do you run npm install and npm run prod at deployment?

tykus's avatar

@SarahS so what is missing; styles only, or is the markdown not being rendered as HTML?

Please or to participate in this conversation.