This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
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.
You can install the package via composer:
composer require stumason12in12/blogYou can publish and run the migrations with:
php artisan vendor:publish --tag="blog-migrations"
php artisan migrateYou can publish the config file with:
php artisan vendor:publish --tag="blog-config"<?php
return [
'storage_disk' => 'blog',
'default_author' => 'Stu Mason',
'words_per_minute' => 200,
];and then in file system, add the blog disk:
'disks' => [
'blog' => [
'driver' => 'local',
'root' => storage_path('app/blog'),
],
'local' => [
'driver' => 'local',
'root' => storage_path('app/private'),update Storage/app/.gitignore to include blog:
*
!private/
!public/
!blog/
!blog/*
!.gitignoreCreate markdown files in the blog directory:
./storage/app/blog - markdown files go here.
If you don't want the file being synced with the database, add draft to the filename.
/blog - index of blog posts.
/blog/{slug} - view a single blog post.
/blog-sync - get markdown files that don't have draft in their name and sync them with the database.
Not sure what to do with views yet, so for now, the controller just expects them to exist... will update eventually when I know what I'm doing.
composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
