biscuit/package 问题修复 & 功能扩展

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

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

biscuit/package

Composer 安装命令:

composer require biscuit/package

包简介

laravel package to convert .md files to Html markup

README 文档

README

An elegant markdown-powered blog for the Laravel framework.

Install

And then in the terminal, run the following command.

Add these command

composer require biscuit/package

Migrate Database

Now that we have our package installed, we need to migrate the database to add the necessary tables for Press. In the command line, run the following command.

php artisan migrate

Publish the package config

Up next, you need to publish the package's config file that includes some defaults for us. To publish that, run the following command.

php artisan vendor:publish --tag=press-config

You will now find the config file located in /config/press.php

Create directory to hold posts

The last step in the installation, is to create a directory for your markdown files that Press will use to turn into your blog posts. By default, it is just a directory in the root directory of your project called blogs. You may change that in the config file we published in the previous step.

mkdir blogs

Sample Post

To create your first post, here's a sample markdown file to get you started. Copy and paste it into a .md file in your blogs diretory.

---
title: My First Blog Post
description: This is my very first blog post with Press
---

# Extra Extra Extra!

You are now a blogger!

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固