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

gareth.lucas@unifiedretailgroup.com's avatar

Artisan Deployment Error with Non Laravel Projects

We have started to use Forge for other non Laravel applications for convenience.

When using GitHub deployment we get the following error:

From github.com:

  • branch master -> FETCH_HEAD 5415eac..c5bbd70 master -> origin/master Updating 5415eac..c5bbd70 Fast-forward fuel/app/modules/reordlvlcalc/views/admin/reordlvlcalc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update Generating autoload files

php oil r install  Made writable: /home/forge/apps.cambridgepetstore.co.uk/fuel/app/cache  Made writable: /home/forge/apps.cambridgepetstore.co.uk/fuel/app/logs  Made writable: /home/forge/apps.cambridgepetstore.co.uk/fuel/app/tmp  Made writable: /home/forge/apps.cambridgepetstore.co.uk/fuel/app/config Could not open input file: artisan

So because this is not a true Laravel project there is no artisan.

The code deploys fine however it would be great to have a way to suppress this error.

Can anyone advise?

0 likes
3 replies
bobbybouwmann's avatar
Level 88

You need to remove the php artisan up and php artisan down commands from the deploy script on Forge

1 like

Please or to participate in this conversation.