bondgenoot / laravel-nova-news
A resource tool for Laravel Nova which adds content management features for managing news posts.
1.1.0
2023-09-27 09:04 UTC
Requires
- php: ^8.2
- advoor/nova-editor-js: ^3.0
- laravel/nova: ~4.0
- marshmallow/nova-charcounted-fields: ^v2.0.1
Requires (Dev)
- laravel/pint: ^1.13
- orchestra/testbench: ^8.12
- pestphp/pest: ^2.19
- pestphp/pest-plugin-faker: ^2.0
- phpunit/phpunit: ^10.3
- spatie/laravel-ray: ^1.29
README
This package contains management features for managing a news section within a web application.
Installation
At first, we need to install the package onto our Laravel application:
composer require bondgenoot/laravel-nova-news
To publish the configuration files from this package:
php artisan vendor:publish --provider="Bondgenoot\NovaNewsTool\Providers\NewsServiceProvider"
Now we need to publish the files from the advoor/nova-editor-js package.
php artisan vendor:publish --provider="Advoor\NovaEditorJs\FieldServiceProvider"
The only thing left is to generate the database tables according to the migration files from the package.
php artisan migrate
Now, you can use the package to the fullest.
Makes use of
Makes use of for testing
Testing
The package uses PestPHP
for testing.
./vendor/bin/pest