Download the PHP package clevyr/nova-blog without Composer

On this page you can find all versions of the php package clevyr/nova-blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-blog

Clevyr Nova Blog Resource

Features

  1. Title
  2. Author
  3. Snippet
  4. Locales
  5. Customizable slug
  6. Featured posts
  7. Customizable published-at dates
  8. "Published" or "draft" status
  9. RTE content (TinyMCE)
  10. Featured image for posts
  11. Categories
  12. Tags (separate from Categories)
  13. Custom SEO information (title, description and image)

Requirements

Vue 3
Laravel 8+
Nova 3.0+

Installation

Install the package

Publish Files

Run Migrations

Config

Blog Post Settings

Option Description Accepted Values
blog_posts_table The database table name where posts should be stored String
post_model The Eloquent model for the posts Eloquent Model Class
nova_resource The Nova Resource file for the posts Nova Resource Class
base_uri The base URI for blogs. ex: website.com/blog String with leading /
post_uri The base URI for blogs posts. ex: website.com/blog/post/post-slug String with leading /
locales An array of locales with a key => value of 'locale_slug' => 'locale display string' Array

Tag & Category Settings

Reference 3rd party package - https://github.com/spatie/nova-tags-field

Accessing Data

Via Routes

Fetch all published posts

Route: $base_uri/get-published-posts
Example: /blog/get-published-posts
Returns: JSON of all published blog posts

Fetch individual post

Route: $base_uri/$post_uri/{post_slug}
Example: /blog/post/my-blog-post
Returns: Eloquent object of Post model

Fetch all published posts with a certain tag or category applied

Route: $base_uri/filter?type={category or tag name}
Example: /blog/filter?type=tag1
Returns: Array of Eloquent objects of Post model

Setting Default Images

To set default images for posts, featured images or seo images, you can create a new migration to change the default value.


All versions of nova-blog with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
emilianotisato/nova-tinymce Version ^2.0
eminiarts/nova-tabs Version ^2.0
spatie/laravel-feed Version ^4.1
spatie/laravel-tags Version ^4.3
spatie/nova-tags-field Version ^4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package clevyr/nova-blog contains the following files

Loading the files please wait ....