lukeed / lukeed/lumen-theme

Artisan theme:list not working

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I have tried to install this package using composer (`"lukeed/lumen-theme": "^1.0"`) on `Lumen 5.3)

From terminal, `php artisan theme:list` command was executed and show this error message:
`[Symfony\Component\Debug\Exception\FatalErrorException]
Call to undefined method Lukeed\Theme\Facade\Theme::all()`

From controller or route (`Theme::all()`) >> no problem (show array result)
any suggestion?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `php artisan theme:list` on Lumen 5.3 with the Composer package version shown, then compare it with calling `Theme::all()` from a controller or route. Trace how the Artisan command accesses `Lukeed\Theme\Facade\Theme` and determine why `all()` works in application code but not in the command; done means the command returns the theme array without the fatal error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.