Download the PHP package zenbolt/cms without Composer
On this page you can find all versions of the php package zenbolt/cms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cms
Installation:
- Create the database and update your .env file
-
Add the below to config/auth.php:
'guards' => [ ... 'admin' => [ 'driver' => 'session', 'provider' => 'admins', ], ... ], 'providers' => [ ... 'admins' => [ 'driver' => 'eloquent', 'model' => Zenbolt\Cms\Models\Admin::class, ], ... ], - Configure the filesystem in config/filesystem.php, use 'public' as default value if none
-
Run:
composer require zenbolt/cms
-
To make sure the project is well migrated:
php artisan migrate
-
To create the admin:
php artisan admin:create --name=example [email protected] --password=123
Publishables:
-
CMS config:
php artisan vendor:publish --tag=cms_config --force
-
CMS sheefra config:
php artisan vendor:publish --tag=cms_sheefra_config --force
-
CMS viddy config:
php artisan vendor:publish --tag=cms_viddy_config --force
-
CMS routes:
php artisan vendor:publish --tag=cms_routes --force
-
CMS translatables:
php artisan vendor:publish --tag=translatable --force
Http Logs Installation:
-
Add the below to protected $middleware in app/Http/Kernel.php:
\Zenbolt\Cms\Middlewares\HttpLogsMiddleware::class,
Preview Checking On The Website:
-
If
auth('admin')->check() && request('ht_preview_mode')returns true, then preview mode is on, you can get the preview data fromsession('ht-preview-mode-request')Code example:$row = auth('admin')->check() && request('ht_preview_mode') ? session('ht-preview-mode-request') : $row = Model::findOrFail($id);
If laravel's symlink didn't work on windows, using command prompt (not powershell do the following):
-
https://laracasts.com/discuss/channels/laravel/how-to-link-up-storage-files
cd C:\xampp\htdocs\fresh\public\ mklink /D storage ..\storage\app\public
All versions of cms with dependencies
PHP Build Version
Package Version
Requires
doctrine/dbal Version
^3.0 || ^4.0
astrotomic/laravel-translatable Version *
tinify/tinify Version *
astrotomic/laravel-translatable Version *
tinify/tinify Version *
The package zenbolt/cms contains the following files
Loading the files please wait ...