Skip to content

Restore Lumen support #731

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

Merged
merged 1 commit into from
Jul 29, 2022
Merged

Restore Lumen support #731

merged 1 commit into from
Jul 29, 2022

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Jul 28, 2022

Closes #728

Another option could be creating a especific event service provider only for lumen, like AuditingLumenEventServiceProvider::class

// AuditingServiceProvider.php
public function register()
{
  /////
  if ($this->app instanceof \Illuminate\Foundation\Application) {
      $this->app->register(AuditingEventServiceProvider::class);
  } else {
      $this->app->register(AuditingLumenEventServiceProvider::class);
  }
  /////

@MortenDHansen MortenDHansen merged commit 240b29a into owen-it:master Jul 29, 2022
@MortenDHansen
Copy link
Contributor

Lets get that out :)

@erikn69 erikn69 mentioned this pull request Jul 29, 2022
@erikn69 erikn69 deleted the patch-6 branch March 21, 2023 20:43
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

Successfully merging this pull request may close these issues.

Vendor publish not working in Lumen 8
2 participants