Skip to content
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

Class L5Modular not found #62

Open
thegr8dev opened this issue Apr 30, 2021 · 9 comments
Open

Class L5Modular not found #62

thegr8dev opened this issue Apr 30, 2021 · 9 comments
Assignees
Labels

Comments

@thegr8dev
Copy link

Describe the bug
Installed this package on clean laravel 8.12 and jsut make a new module call Faq.

After this I just go to https://l5modular.com/usage/#facade

and using first one

L5Modular::exists('HelloWorld');

and it give me following error

Error
Class 'L5Modular' not found
http://localhost:8000/test/

To Reproduce
Steps to reproduce the behavior:

  1. Install new laravel and this package.
  2. Make any module after setup the package.
  3. Make a test route and use any facade from docs or the exists() one.
  4. You will get class not found error.

Expected behavior
It should return true or false as per docs.

Screenshots

image

Environment (please complete the following information):

  • OS & version: Windows 10 Build 19042
  • Laravel version: 8.12
  • L5Modular version: 2.1
@Artem-Schander
Copy link
Collaborator

Hi @thegr8dev,
Thank you for raising this issue. I will look into it as soon as possible.

@Standin-Alone
Copy link

any updates?

@Artem-Schander
Copy link
Collaborator

I'm sorry that I let you wait that long. I'm currently really busy but I think I will be able to find some time this weekend.

@Artem-Schander
Copy link
Collaborator

Ok. It's fixed. 79167d0
I think I will release a patch version tomorrow. After I fixed #63

@Standin-Alone
Copy link

Standin-Alone commented Jul 24, 2021 via email

@Artem-Schander
Copy link
Collaborator

I have just published the patch
Let me know, if there is still something wrong.

@Standin-Alone
Copy link

the module that disabled still accessible

@Artem-Schander
Copy link
Collaborator

Dis you disabled it in the config file, or by SomeModule::disable()?

@Artem-Schander Artem-Schander reopened this Aug 4, 2021
@Standin-Alone
Copy link

i put this code L5Modular::disable('Modulename'); and my module still not disable. i can still access the module

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

No branches or pull requests

3 participants