antoniputra/ngeblog

Quickstart Blogging for your brand-new or existing Laravel App.

v2.0.0-beta 2024-04-29 09:02 UTC

This package is auto-updated.

Last update: 2024-04-29 12:21:34 UTC


README

logo.png

License

Ngeblog

It's quickstart to have simple Blogging System for your existing laravel application. It will give you Blogs and Tags out of the box. Ngeblog also provides a simple admin panel built with Vue SPA.

Screenshot

Ngeblog Screenshot

Installation

  1. composer require antoniputra/ngeblog
  2. php artisan vendor:publish
  3. php artisan migrate
  4. You done!

Configuration

Once this package already installed, by default it will provide admin panel at /ngeblog with no protection. You can add your own protection like below:

// App/Providers/AppServiceProvider.php

Gate::define('accessNgeblogAdmin', function ($user) {
	return in_array($user->email, [
		'akiddcode@gmail.com',
		// ...
	]);
});

Credits

License

Ngeblog is open-sourced software licensed under the MIT license