Download the PHP package novius/laravel-nova-news without Composer
On this page you can find all versions of the php package novius/laravel-nova-news. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-nova-news
Introduction
This Laravel Nova package allows you to manage Post news in your Laravel Nova admin panel.
You will be able to create posts, categories and tags.
You can attach multiple categories and tags to a post. Categories can be viewed as a listing page.
Requirements
- PHP >= 8.2
- Laravel Nova >= 4.0
- Laravel >= 10.0
NOTE: These instructions are for Laravel >= 10.0 and PHP >= 8.2 If you are using prior version, please see the previous version's docs.
Installation
You can install the package via composer:
Register the tool in the tools
method of the NovaServiceProvider
:
Run migrations with:
Configuration
You can optionally publish the config file with:
This will allow you defined routes names and
This will allow you to:
- define the name of the routes and their parameter
- override resource or model class
- define locales used
Front Stuff
If you want a pre-generated front controller and routes, you can run following command :
This command appends routes to routes/web.php
and creates a new App\Http\Controllers\FrontNewsController
.
You can then customize your routes and your controller.
In views called by the controller use the documentation of laravel-meta to implement meta tags
Assets
Next we need to publish the Laravel Nova Translatable package's assets. We do this by running the following command:
Migrations and lang files
If you want to customize the migrations or lang files, you can publish them with:
Testing
Run the tests with:
Lint
Lint your code with Laravel Pint using:
Licence
This package is under GNU Affero General Public License v3 or (at your option) any later version.
All versions of laravel-nova-news with dependencies
illuminate/support Version ^10.0|^11.0
laravel/nova Version ^4.0
novius/laravel-linkable Version ^1.0
novius/laravel-meta Version ^1.0
novius/laravel-nova-field-preview Version ^2.0
novius/laravel-nova-publishable Version ^3.0
novius/laravel-nova-translatable Version ^1.0
spatie/laravel-sluggable Version ^3.4
waynestate/nova-ckeditor4-field Version ^1.1