/laravel-blog

Laravel Blog package

Primary LanguagePHPMIT LicenseMIT

Blog

Latest Version on Packagist Total Downloads Build Status StyleCI Quality Score

A simple blog package written for Laravel. Take a look at contributing.md to see a to do list.

Admin dashboard screenshot

Documentation

To learn all about it head over to the extensive documentation page.

Version Compatibility

Laravel Blog
6.x 1.x
7.x 2.x

Installation

Via Composer

composer require wingsline/blog

Clone the your theme or the default theme into the theme folder:

git clone https://github.com/wingsline/blog-theme.git theme

Configure the Laravel installation, making sure the cache driver supports tags and the database is configured.

The default admin url is /admin, customize with the ADMIN_PREFIX in your .env file.

Run the installer:

php artisan blog:install

The installer will publish the blog assets, default configuration files. Also it will migrate the database.

Usage

You can access your blog admin interface at https://example.com/admin.

Default login:

  • Username: admin@example.com
  • Password: admin123

The admin uses EasyMde as the content editor with the michelf/php-markdown parser.

Uploading images

For existing posts you can upload or drag and drop images (png, jpg) in the editor.

For new posts, you need to save the post first before uploading an image.

Other filetype uploads currently are not supported.

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todo list.

Security

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

Credits

License

MIT. Please see the license file for more information.