| Install | |
|---|---|
composer require mosweed/mosweed_cms |
|
| Latest Version: | v1.1 |
| PHP: | ^8.2 |
In this document you will find an explanation on how to use the Mosweed CMS starter kit.
To use this package, you'll need:
Laravel framework 11
To use with Livewire v3
PHP 8.2 or higher
When installing this package, the following packages will be installed:
Mollie / mollie-api-php
Spatie/laravel-medialibary
Barryvdh/laravel-dompdf : *2.1.0
You can install the package via composer:
composer require Mosweed/Mosweed_cms
Php artisan Mosweed_cms:install
php artisan create:admin
This will create an admin role, allowing you to manage the CMS.php artisan smtp:setting
This will generate a new configuration, responsible for sending emails, and can also be managed in the CMS.After these commands, the following will be automatically installed:
npm installnpm run devphp artisan storage:linkAll old migrations, the User Model, errors folder in the view, and providers in the app will be removed.
To create a block, use the following command:
php artisan dropblockeditor:make {name}
Like
php artisan dropblockeditor:make Text
After make, you can specify a name for the element.
Two files will be created:
App/view/components/blocks/{name}Resources/views/components/blocks/{name}In the first file, you'll find variables:
0 0 24 24.In the second file, the data will be displayed and processed. When a field is changed, the UPDATE function will be triggered.
users
products
shopcarts
shipping_methods
payments_methods
customers
order_items
orders
addresses
pages
roles
coupons
categories
emailconfiguraties
orders_emails
api_configrations
Name: pages
Data: [title, slug, status, content]
The Route key is a slug
The MIT License (MIT). Please see License File for more information.