PHP code example of alooze / qwertcms-base
1. Go to this page and download the library: Download alooze/qwertcms-base library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
alooze / qwertcms-base example snippets
return redirect('/home');
bash
$ php artisan vendor:publish
bash
$ php artisan vendor:publish --provider="alooze\QwertCms\QwertCmsBaseServiceProvider"
bash
$ php artisan migrate --seed
bash
$ php artisan migrate:refresh --seed
php
'menu' => [
'ДАННЫЕ ИЗ ФОРМ',
[
'text' => 'Обратный звонок',
'url' => 'admin/relations/callbackform',
'icon' => 'paper-plane',
'icon_color' => 'green'
],
'УПРАВЛЕНИЕ',
[
'text' => 'Пользователи',
'url' => 'admin/users',
'icon' => 'user',
'icon_color' => 'green',
],
[
'text' => 'Почта менеджеров',
'url' => 'admin/emails',
'icon' => 'envelope',
'icon_color' => 'green',
],
[
'text' => 'Настройка форм',
'url' => 'admin/forms',
'icon' => 'server',
'icon_color' => 'green',
],
],
php
protected $redirectTo = '/home';
php
protected $redirectTo = '/admin';
php
return redirect('/admin');
php
Auth::routes();
php
foreach (glob(app_path('Helpers/*.php')) as $filename) {