8000 Help about custom stubs file · Issue #6 · fresns/plugin-manager · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Help about custom stubs file #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KyoRion opened this issue Apr 17, 2025 · 1 comment
Open

Help about custom stubs file #6

KyoRion opened this issue Apr 17, 2025 · 1 comment

Comments

@KyoRion
Copy link
KyoRion commented Apr 17, 2025

I already tried add some custom controller with followinig my structure folder but I don't know why it's cannot read from my source

Target location I put on root folder /var/www/project/stubs/plugin-manager/...

I have changed path into followinig my stubs folder look at my config below.

'stubs' => [
'path' => base_path('stubs/plugin-manager2'),
'files' => [
'app/Http/Controllers/controller' => 'app/Http/Controllers/Controller.php',
'app/Http/Controllers/Backend/test-controller' => 'app/Http/Controllers/Backend/TestController.php',
'app/Http/Controllers/Frontend/test-controller' => 'app/Http/Controllers/Backend/TestController.php',
'app/Http/Controllers/Api/test-controller' => 'app/Http/Controllers/Api/TestController.php',
]
]

@KyoRion
Copy link
Author
KyoRion commented Apr 17, 2025

Additional bug I found your config file point this line in stub section 'resources/views/setting' => 'resources/views/setting.blade.php',

but in the vendor folder your naming of that file is settings! it's make a error to run fresns new Plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0