Download the PHP package vshapovalov/crud without Composer
On this page you can find all versions of the php package vshapovalov/crud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vshapovalov/crud
More information about vshapovalov/crud
Files in vshapovalov/crud
Informations about the package crud
Laravel crud dashboard - CrudIt!
Builded with Vue.js, vuetifyjs
Manage your data, store files.
Support Laravel 7
Dashboard components
- textbox (password, masked, slugify, prefix, suffix)
- checkbox
- dropdown (single, multi select)
- datetimepicker
- richedit by tinymce
- image/files (single, multi pick from gallery)
- relation (hasOne, hasMany, belongsTo, belongsToMany with pivot)
Fields validation using laravel validator
Crud forms has access check by roles(select, add, edit, delete)
How to install
1. Config your application
Check db settings and APP_URL in .ENV file of your application
Make laravel auth scaffolding
2. Require package
if you are using Laravel 5.4, add to config/app.php provider section
3. Install crud
Check url http://app_url/cruds
How to create crud form
- Create eloquent model
- Create crud form in dashboard
- Create dashboard menu item for crud form
- Grant access to role for created crud form
There is still a lot of work ahead - localization, etc. ;] All crud forms can be edited from admin panel
System options->Crud forms
Crud components addtional options(json)
textbox - simple textbox
datepicker - date picker
dropdown - simple dropdown, additional field required
richedit - richeditor by tinymce
image - image picker, pick images/files from media library
relation - relation field type, field has options
Media library
Media library can resize image, create thumbnails for uploaded images by default settings, also crud image field have additional options for resize image
config/cruds.php
Menu options
Dashboard menu items can be edited from admin panel
Custom Vue components in dashboard
Also you can use own Vue components, just add them in components section of config/cruds.php
simple component file
then create dashboard menu item< and set action to 'user:testcomponent:mount'
Middlewares and user components in crud form
link js file in components section of cruds.php, use registerMiddleware function to make some action on events emmited by crud form or edit panel or add custom component. if you did not call next(), the action will be interruted in some events:
- crud:on:edit
- crud:on:add
- crud:on:delete
- editpanel:before:save
How to link libraries
Custom components can use Lodash, Axios, they are declared as window obj props
How to create crud form
watch this guide (coming soon)
How to make custom component
watch this guide (coming soon)