uasoft-indonesia / badaso-content-module
Manage website content through badaso
Fund package maintenance!
uasoft-indonesia
Open Collective
Requires
- symfony/var-exporter: ^5.2.0|^6.0
- dev-main
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 2.0.0-rc.6
- 2.0.0-rc.5
- 2.0.0-rc.4
- 2.0.0-rc.3
- 2.0.0-rc.2
- 2.0.0-rc.1
- 2.0.0-rc
- 1.x-dev
- 1.0.0
- 1.0.0-rc.7
- 1.0.0-rc.6
- 1.0.0-rc.5
- 1.0.0-rc.4
- 1.0.0-rc.3
- 1.0.0-rc.2
- 1.0.0-rc.1
- 1.0.0-rc
- 1.0.0-alpha.6
- 1.0.0-alpha.5
- 1.0.0-alpha.4
- 1.0.0-alpha.3
- 1.0.0-alpha.2
- 1.0.0-alpha.1
- dev-bugfix/table-hidden
This package is auto-updated.
Last update: 2024-08-14 08:09:49 UTC
README
Manage your website content through dashboard easily out of the box
How to installation content manager module
- Install Badaso from laravel project
- Install badaso content module
For v2.x (Laravel 8)
composer require badaso/content-module
For v1.x (Laravel 5,6,7)
composer require badaso/content-module:^1.0
- Set env
MIX_DEFAULT_MENU=admin
MIX_BADASO_MENU=${MIX_DEFAULT_MENU},content-module
MIX_BADASO_PLUGINS=content-module
- Call command
php artisan migrate
- Call command
php artisan badaso-content:setup
orphp artisan badaso-content:setup --force
if you want to overwrite the file - Call command
composer dump-autoload
- Call command
php artisan db:seed --class=BadasoContentModuleSeeder
- In menu item "Role Management" from badaso admin panel, add permission user to fill content
Support type content
-
Text
Support text type value content
JSON example output
{ "text-exmaple" : { "name" : "text-example", "label" : "Text Example", "type" : "text", "data" : "Lorem ibsum siamet dor..." } }
-
Image
Support image type value content, image your choice for value content automatic save
storage/app
in laravel projectJSON example output
{ "image-example" : { "name" : "image-example", "label" : "Image Example", "type" : "image", "data" : "image-example.png" } }
-
URL
Support url type value content
JSON example output
{ "url-example" : { "name" : "url-example", "label" : "URL Example", "type" : "url", "data" : { "url" : "http://example.com", "text" : "Somthing Text" } } }
-
Group
Support value type content groups that accommodate other types of content
JSON example output
{ "group-example" : { "name" : "group-example", "label" : "Group Example", "type" : "group", "data" : { "url-example" : { "name" : "url-example", "label" : "URL Example", "type" : "url", "data" : { "url" : "http://example.com", "text" : "Somthing Text" } }, ... } } }
JSON example output all fetch
{
"id" : 1,
"slug" : "example-content",
"label" : "Example Content",
"value" : {
"group-example" : {
"name" : "group-example",
"label" : "Group Example",
"type" : "group",
"data" : {
"url-example" : {
"name" : "url-example",
"label" : "URL Example",
"type" : "url",
"data" : {
"url" : "http://example.com",
"text" : "Somthing Text"
}
},
...
}
}
...
}
}