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

Can't publish package assets #6

Closed
ghost opened this issue Jul 26, 2017 · 4 comments
Closed

Can't publish package assets #6

ghost opened this issue Jul 26, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 26, 2017

  • Laravel Version: 5.4.28
  • PHP Version: 7.1.5
  • Composer Version: 1.4.1
  • Horizon Version: 0.1.0

Description:
Can't publish the package assets or the "horizon.php" config file.

Steps To Reproduce:
composer require laravel/horizon
Then:
php artisan vendor:publish

Result

  1. Composer actually installs the package in the vendor folder and adds it in the 'composer.json' file.
  2. The vendor publish only publishes the Laravel framework assets (Notification, Pagination, Mails) but not the horizon assets.
@ghost ghost changed the title Cant publish package assets Can't publish package assets Jul 26, 2017
@ghost
Copy link

ghost commented Jul 26, 2017

Horizon requires Laravel 5.5

@sudiptpa
Copy link

Yep, look at README

Horizon requires Laravel 5.5, which is currently in beta, and PHP 7.1+. You may use Composer to install Horizon into your Laravel project

@marianvlad
Copy link

Add Laravel\Horizon\HorizonServiceProvider::class in providers.

@ghost
Copy link
Author

ghost commented Jul 26, 2017

Sorry, the problem was that I didn't added the Laravel\Horizon\HorizonServiceProvider::class to providers.

This issue was closed.
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

2 participants