doctype_admin
v1.0.5

git clone https://github.com/pratiksh404/doctype_admin.gitInstall Composer Dependencies
composer installCreate a copy of your .env file
cp .env.example .envGenerate an app encryption key
php artisan key:generateCreate 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 --seedThis allows you to have necessary login credential
Admin Credential email : [email protected] password: admin123
User Credential email : [email protected] password: user123
| 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 |

| 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 |

MIT
DOCTYPE NEPAL ||DR.H2SO4