azzarip / notacms
A VCS CMS for Laravel
Fund package maintenance!
Paride Azzari
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- ralphjsmit/laravel-seo: ^1.4
- spatie/laravel-package-tools: ^1.14.0
- spatie/yaml-front-matter: ^2.0
Requires (Dev)
- larastan/larastan: ^2.0.1
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.20
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
- spatie/pest-plugin-test-time: ^2.0
This package is auto-updated.
Last update: 2024-11-08 06:23:42 UTC
README
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.