geowrgetudor/laravel-tiny-blog 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

geowrgetudor/laravel-tiny-blog

最新稳定版本:0.0.2

Composer 安装命令:

composer require geowrgetudor/laravel-tiny-blog

包简介

A tiny blog package for Laravel

README 文档

README

A tiny markdown blog package for Laravel

A tiny markdown blog package for Laravel

Latest Version on Packagist Total Downloads

Quickly add a Markdown blog to your Laravel app.

Installation

You can install the package via composer:

composer require geowrgetudor/laravel-tiny-blog

Initialize the blog by running the following command. A directory called content will be create in the root of your project. That's where your markdown article will be stored.

php artisan tinyblog:init

Publish the assets:

php artisan tinyblog:publish

Publish the config file and configure it however you like it:

php artisan vendor:publish --tag="tiny-blog-config"

If you want some sample articles, you can publish our examples using:

php artisan tinyblog:example

Optionally, you can publish the views to customize and/or extend them

php artisan vendor:publish --tag="tiny-blog-views"

Creating new articles

use Geow\TinyBlog\Models\Article;

Article::create([
    'title' => 'My first article',
    'description' => 'Trying out Tiny Blog',
    'img' => 'https://images.unsplash.com/photo-1682686579688-c2ba945eda0e?q=80&w=500&auto=format&fit=crop',
    'content' => '## Hello world', // should be markdown content
    'author' => 'George Tudor',
    'date' => now()->toDateTimeString(),
]);

Views

You can access the blog at your-domain.com/blog. You can change the route name in tiny-config.php config file.

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.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固