Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peterbrinck/nova-laravel-news

Add a card with the latest news from Laravel News
https://github.com/peterbrinck/nova-laravel-news

laravel laravel-news laravel-nova nova php vue

Last synced: about 1 month ago
JSON representation

Add a card with the latest news from Laravel News

Awesome Lists containing this project

README

        

# Nova Laravel News Cards

Adds a card to the Nova dashboard with the latest news from Laravel News

Also at [Nova Packages](https://novapackages.com/packages/peterbrinck/nova-laravel-news)

## Installation

You can install the card in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```bash
composer require peterbrinck/nova-laravel-news
```

Next up, you must register the card with Nova. This is done in the `card` method of the `NovaServiceProvider`.

```php
// in app/Providers/NovaServiceProvder.php

// ...

public function card()
{
return [
// ...
new \PeterBrinck\NovaLaravelNews\NovaLaravelNews(),
];
}
```

## Credits

- [Peter Brinck](https://github.com/peterbrinck)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.