There are a number of options available for the purpose of blog creation but if you are a developer none of them are as satisfying as laravel wink. It not only comes with a straightforward deployment but also the UI implementation for the blog is super easy (we will discuss it in our next article).

In this article, we will discuss how to get started with Wink for blog creation.

Step One

Since Wink is a laravel package it but obvious first we have to install laravel. You can follow the official installation guide for the same

Step Two

Once we have laravel all set up and running Wink is installed as all the other laravel packages

composer require themsaid/wink
php artisan wink:install
php artisan storage:link

Once this is done, we have to set up the Database. Configure the database connection in config/wink.php.


use "mysql" if you want the use the default DB connection you can make a different one as per the requirement. After this run the following commands

php artisan config:cache
php artisan wink:migrate

and thats it, you are good to go.

Head to "your-project.test/wink/login" and use the provided email and password to log in.

Although there is not much left for the setup part here is the source of wink GitHub.

Updates

As in each update, there might be a chance DB is changed so make sure to run these two commands too.

php artisan wink:migrate
php artisan vendor:publish --tag=wink-assets --force

Feel free to comment.