GithubHelp home page GithubHelp logo

laravel-blog's Introduction

Laravel Blog

Build Status styleci

Packagist

Package description: Quickly implement a Blog in you your Laravel Application

WORK IN PROGRESS

Basic blog functionality is working but there is still more left to do.

Installation

Require the package using composer

composer require daikazu/laravel-blog

Register Service Provider

Note! If you use laravel>=5.7 this package will auto discovery.

Publish Configuration File

This will setup all necessary composer packages, migations, and publish all required files. If Nova is installed follow the installer prompts

php artisan blog:install

Usage

Views are located in resources/views/vendor/laravel-blog/ folder. Basic inline styles are added for example. Style to your hearts content.

Nova Features

Nova Trix Field

This uses the Trix Field in Nova to handle image uploads. There is a scheduled task to handle clean up on that.

add BLOG_TASKS_ON=false to your .env file to turn off

Trix Field File Upload Disk:

BLOG_FILE_DISK=s3_public # Default Public

Wordpress Import

Download XML Export file from your WordPress Blog Tools > Export > All Content.

php artisan blog:import --wp --images wordpress_export.2019-02-28.xml

the --images will import featured image to storage using spatie/laravel-medialibrary

Note: This Does Not make any changes to the Post body. Any images and or links in content will have to be updated as needed.

TODO

  • pages
  • category parent/children relations
  • tagging
  • json API
  • more tests

Security

If you discover any security related issues, please email instead of using the issue tracker.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Credits

This package is bootstrapped with the help of melihovv/laravel-package-generator.

laravel-blog's People

Contributors

daikazu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.