Skip to content

A CMS like modular starter application project built with Laravel 8.x.

License

Notifications You must be signed in to change notification settings

Sparfel/laravel-starter

 
 

Repository files navigation

Laravel Starter - A CMS like modular starter project built with Laravel

Laravel Starter (based on Laravel 8.x)

Laravel Starter is a Laravel 8.x based simple starter project. It can be used to build all type of applications. Most of the commonly needed features like Authentication, Application Backend, Backup, Logviewer are available here. It is modular, so you can use this project as a base and build your own modules. You can use the same module in any of the Laravel Starter based projects. New features and functionalities are being added on a regular basis.

Please let me know your feedback and comments.

Demo

Check the following demo project. It is just a straight installation of the project without any modification.

Demo URL: http://laravel.nasirkhn.com

User: [email protected]
Pass: secret

User: [email protected]
Pass: secret

For additional demo data you may use the following command. By using this you can truncate the posts, categories, tags and comments table and insert new demo data. --fresh option will truncate the tables, without this command new set to data will be inserted only.


php artisan starter:insert-demo-data --fresh

Custom Commands

We have created a number of custom commands for the project. The commands are listed below with a brief about the use of it.

Clear All Cache

composer clear-all

this is a shortcut command clear all cache including config, route and more

Code Style Fix

composer fix-cs

apply the code style fix by this command.

Features

The Laravel Starter comes with a number of features which are the most common in almost all the applications. It is a template project which means it is intended to build in a way that it can be used for other projects.

It is a modular application, and a number of modules are installed by default. It will be helpful to use it as a base for the future applications.

  • Admin feature and public views are completely separated as Backend and Frontend namespace.
  • Major feature are developed as Modules. Module like Posts, Comments, Tags are separated from the core features like User, Role, Permission

Core Features

  • User Authentication
  • Social Login
    • Google
    • Facebook
    • Github
    • Build in a way adding more is much easy now
  • User Profile with Avatar
    • Separate User Profile table
  • Role-Permissions for Users
  • Dynamic Menu System
  • Language Switcher
  • Localization enable across the porject
  • Backend Theme
    • Bootstrap 4, CoreUI
    • Fontawesome 5
  • Frontend Theme
    • Bootstrap 4, Impact Design Kit
    • Fontawesome 5
  • Article Module
    • Posts
    • Categories
    • Tags
    • Comments
    • wysiwyg editor
    • File browser
  • Application Settings
  • External Libraries
    • Bootstrap 4
    • Fontawesome 5
    • CoreUI
    • Impact Design Kit
    • Datatables
    • Select2
    • Date Time Picker
  • Backup (Source, Files, Database as Zip)
  • Log Viewer
  • Notification
    • Dashboard and details view
  • RSS Feed

User Guide

Installation

Follow the steps mentioned below to install and run the project.

  1. Clone or download the repository
  2. Go to the project directory and run composer install
  3. Create .env file by copying the .env.example. You may use the command to do that cp .env.example .env
  4. Update the database name and credentials in .env file
  5. Run the command php artisan migrate --seed
  6. Link storage directory: php artisan storage:link
  7. You may create a virtualhost entry to access the application or run php artisan serve from the project root and visit http://127.0.0.1:8000

After creating the new permissions use the following commands to update cashed permissions.

php artisan cache:forget spatie.permission.cache

Icons

FontAwesome & CoreUI Icons, two different font icon library is installed for the Backend theme and only FontAwesome for the Frontend. For both of the cases we used the free version. You may install the pro version separately for your own project.

Screenshots

Home Page

Laravel Starter Home

Login Page

Laravel Starter Login

Posts Page

Laravel Starter Posts Page

Backend Dashboard

Backend Dashboard


List-Posts-Laravel-Starter


Edit-Posts-Laravel-Starter

About

A CMS like modular starter application project built with Laravel 8.x.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 54.1%
  • Blade 45.8%
  • Shell 0.1%