azzarip / notaCMS

A VCS CMS for Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A VCS CMS for Laravel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require azzarip/notacms

You can install the package via:

php artisan notacms:install

This is the contents of the published config file:

return [
    'blog_name' => \App\Models\Blog::class
];

Usage

php artisan notacms:new 

To add a new blog. You will be prompted to add a name/route for the blog index. It will create

  • A model
  • A migration
  • A first post to edit
  • The views to adapt

It automatically registers the blog in the config file. From the config, the package is able to automatically create an index route and a show route for each post of each blog, with route:

/{blog}/{slug}

Each blog post will be stored in the content/notacms/{blog} directory, each post is a .md file with filename the slug.

php artisan notacms:load 

Uploads to the database all the front matter of each file. Except for the meta_ fields that are updated with the RalphJ/Laravel-seo content.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A VCS CMS for Laravel

License:MIT License


Languages

Language:PHP 98.3%Language:Blade 1.7%