Today i am going to share with you how to use cms in laravel 5.5 application. As we know wordpress is best cms in the world and almost people like to use cms for his company website or blog. But if we think about codding style, security or structure then laravel framework is a 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 same simple cms using laravel, that know as "asgard cms". asgard cms provide very simple modules function and you can simply quick create modules like on wordpress. You can also get there are new theme from their website. They also provide many feature like as bellow:
Easy Module Management
Customise your Menus
Role and Permission
So, here i will give you very simple and quick example to create project or website in laravel application. So you have to just simple follow bellow some command and get quick setup and using laravel application.
So let's just run bellow command for install asgardcms project.
Install Asgardcms Project:
composer create-project asgardcms/platform asgard
After run above command, you will get fresh installation of asgardcms project so now you have to install asgardcms configuration by following command:
Install AsgardCMS Configuration:
php artisan asgard:install
After run above command you have to setup, your project configuration like as bellow i gave you.
Enter your database driver (e.g. mysql, pgsql) [mysql]:
Enter your database host [127.0.0.1]:
Enter your database port :
Enter your database name [homestead]:
Enter your database username [homestead]:
Enter your database password (leave for no password) [secret]:
Database successfully configured
Enter you application url (e.g. http://localhost, http://dev.example.com) [http://localhost]:
Starting the User Module setup...
Enter your first name:
Enter your last name:
Enter your email address:
Enter a password:
Please confirm your password:
Please wait while the admin account is configured...
Do you want to remove composer.lock from .gitignore ? (yes/no) [yes]:
Do you want to remove package-lock.json from .gitignore ? (yes/no) [yes]:
The application is now installed
Platform 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:
I hope it can help you.