Skip to content

Laravel Admin Panel for lazy developers. Contains User Management, Roles and Permission Management, Activity Logging and integratable packages

License

Notifications You must be signed in to change notification settings

pratiksh404/doctype_admin

Repository files navigation

Doctype Admin

Issues Stars License Laravel News

Laravel 7 Admin Panel for lazy developers.

Contains : -

  • User Management
  • Role and Permission Management
  • Activity Management
  • Auth Management
  • Plugin Extensions

Installation

git clone https://github.com/pratiksh404/doctype_admin.git

Install Composer Dependencies

composer install

Create a copy of your .env file

cp .env.example .env

Generate an app encryption key

php artisan key:generate

Create an empty database for our application and set yo environment variable in .env file

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=doctype_admin
DB_USERNAME=root
DB_PASSWORD=

Then migrate the database. Go on the console and type..

php artisan migrate --seed

This allows you to have necessary login credential

Admin Credential email : admin@admin.com password: admin123

User Credential email : user@user.com password: user123

Note

Packages

Package Description Link Command
Blog Blog Package for Doctype Admin Panel https://github.com/pratiksh404/doctype_admin_blog composer require doctype_admin/blog
Setting Settings Package https://github.com/pratiksh404/doctype_admin_settings composer require doctype_admin/Settings
Landing Page Planding Page Package https://github.com/pratiksh404/doctype_landing_page composer require doctype_admin/landing_page

Integrable Plugins

Doctype Admin

Model Scopes

Scopes Description
Model::getLatestAll() Retrive data orderd by updated_at timestamp in ascending order
Model::getLatestLimit($limit) This scope expects parameter $limit which return $limit number of data
Model::todayData() Retrives today's data
Model::weekData() Retrives week data
Model::weekDataLimit($limit) Retrives week $limit number of data
Model::monthData() Retrives month data
Model::MonthDataLimit($limit) Retrives month $limit number of data
Model::yearData() Retrives month data
Model::yearDataLimit($limit) Retrives year $limit number of data
Model::tillNowFrom($date) Retrives data from $date till now
Model::dataBetween($from,$to) Retrives data $from date to $to date
Model::dataNotBetween($from,$to) Doesn't retrives data $from date to $to date
Model::asc() Ascending Ordered Data
Model::desc() Descending Ordered Data
Model::whereFilter(array) Return multiple where condition data where key is field and value is condition matching value
Model::orWhereFilter(array) Return multiple or where condition data where key is field and value is condition matching value

Admin Panel Screenshot

Doctype Admin Doctype Admin Doctype Admin Doctype Admin Doctype Admin Doctype Admin

Todos

  • Extension Install Menu
  • More Functionality
  • Improved Roles and Permission
  • Maintainabilty
  • Better UI

Package Used

License

MIT

DOCTYPE NEPAL ||DR.H2SO4