Sitemap

Laravel Advance | Laravel 5.5 Simple CMS Website example using asgardcms

2 min readJan 8, 2022

Today I am going to share with you how to use cms in the laravel 5.5 application. As we know WordPress is the best cms in the world and most people like to use cms for their company website or blog. But if we think about codding style, security or structure then the laravel framework is the best. So There are several provide laravel cms to make quick back end admin panel and also work like WordPress blog.

So, in this post, I would like to introduce some simple cms using laravel, that known as “Asgard cms”. Asgard cms provide a very simple module's function and you can simply quickly create modules like on WordPress. You can also get there is a new theme from their website. They also provide many features like as bellow:

  • Dashboard
  • Page Management
  • Media Management
  • Flexible Permissions
  • Easy Module Management
  • Customize your Menus
  • Settings
  • Role and Permission
  • Themes

So, here I will give you a very simple and quick example to create a project or website in laravel application. So you have to just simply follow below some commands and get a quick setup and use the laravel application.

So let’s just run the below command for installing the asgardcms project.

Install Asgardcms Project:

composer create-project asgardcms/platform asgard

After running the above command, you will get a fresh installation of the asgardcms project so now you have to install the asgardcms configuration by the following command:

Install AsgardCMS Configuration:

php artisan asgard:install

After running the above command you have to set up, your project configuration like as below I gave you.

Get Raviya Technical’s stories in your inbox

Join Medium for free to get updates from this writer.

Configuration:

Enter your database driver (e.g. mysql, pgsql) [mysql]:> mysqlEnter your database host [127.0.0.1]:> 127.0.0.1Enter your database port [3306]:> 3306Enter your database name [homestead]:> asgurdEnter your database username [homestead]:> rootEnter your database password (leave  for no password) [secret]:> rootDatabase successfully configuredEnter you application url (e.g. http://localhost, http://dev.example.com) [http://localhost]:> http://localhostUser ModuleStarting the User Module setup...Enter your first name:> BhargavEnter your last name:> RaviyaEnter your email address:> admin@gmail.comEnter a password:> 123456Please confirm your password:> 123456Please wait while the admin account is configured...Do you want to remove composer.lock from .gitignore ? (yes/no) [yes]:> yesDo you want to remove package-lock.json from .gitignore ? (yes/no) [yes]:> yesThe application is now installedPlatform ready! You can now login with your username and password at /backend

Now we are ready to run our laravel cms using bellow command:

php artisan serve

Now you can open bellow URL on your browser:

http://localhost:8000/backend

Now simple use bellow credential:

Email: admin@gmail.com

Password: 123456

You can get more information about asgardcms from here: Click Here

I hope it can help you.

--

--