Coder Social home page Coder Social logo

pratiksh404 / doctype_admin Goto Github PK

View Code? Open in Web Editor NEW
53.0 5.0 12.0 18.12 MB

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

License: MIT License

PHP 52.08% HTML 39.08% Shell 0.28% Less 7.32% Blade 1.25%
laravel admin-dashboard admin-panel starter-kit laravel-starter-kit laravel-admin-panel laravel-admin doctype-admin doctype-admin-panel doctype-nepal drh2so4 pratik-shrestha pratiksh404

doctype_admin's Introduction

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 : [email protected] password: admin123

User Credential email : [email protected] 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

doctype_admin's People

Contributors

dependabot[bot] avatar pratiksh404 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

doctype_admin's Issues

Target class [Database\Seeders\DatabaseSeeder] does not exist.

When I'm trying the command
php artisan migrate --seed
I get this error

Illuminate\Contracts\Container\BindingResolutionException

  Target class [Database\Seeders\DatabaseSeeder] does not exist.

  at C:\xampp\htdocs\doctype_admin\vendor\laravel\framework\src\Illuminate\Container\Container.php:811
    807|
    808|         try {
    809|             $reflector = new ReflectionClass($concrete);
    810|         } catch (ReflectionException $e) {
   811|             throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
    812|         }
    813|
    814|         // If the type is not instantiable, the developer is attempting to resolve
    815|         // an abstract type such as an Interface or Abstract Class and there is

  1   C:\xampp\htdocs\doctype_admin\vendor\laravel\framework\src\Illuminate\Container\Container.php:809
      ReflectionException::("Class Database\Seeders\DatabaseSeeder does not exist")

  2   C:\xampp\htdocs\doctype_admin\vendor\laravel\framework\src\Illuminate\Container\Container.php:809
      ReflectionClass::__construct("Database\Seeders\DatabaseSeeder")

if i megrate db i get this

hi,
if i megrate db i get this ๐Ÿ‘

C:\wamp64\www\laravel7\cms\vendor\laravel\framework\src\Illuminate\Database\Connection.php:464
PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes")

2 C:\wamp64\www\laravel7\cms\vendor\laravel\framework\src\Illuminate\Database\Connection.php:464
PDOStatement::execute()

Can not Login

Hi,
I tried used your template. After all step include db seed, but I can not login after that. using username n password that you gave still no luck.

Where I can check this problem?
thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.