Skip to content

antoniputra/ngeblog

Repository files navigation

GitHub Actions Workflow Status 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, [
		// list of whitelisted emails...
	]);
});

Credits

License

Ngeblog is open-sourced software licensed under the MIT license