The Basics
By default, Apysey resources are generated and stored in app/Apysey
. It is possible to change this directory in the Apysey configuration file to the value resourcesPath
.
It is possible to generate a resource via the command php artisan apysey:resource example
name : Define the name pass in route, the name is the base of permission.
model
label : Define the text show in the sidebar menu. Can be translate.
icon : Define the icon show in the sidebar menu. Icon from FontAwesome : https://fontawesome.io/icons
visible : Define if the menu in sidebar must be show. Often disable when you use dynamic VueJS.
orderBy : Define the order of the results when displaying the entity
direction : Define the display direction
controller : Define a Controller to override default method of ResourceController from Apysey. <”Dynamic Controller”>
createBtn : Define if bouton create is show
editBtn : Define if bouton edit is show
deleteBtn : Define if bouton delete is show
disk : Define the disk where file will be upload
diskVisibility : Define the visibility of the disk
Last updated