backpack installed addons permission manager, settings, backups, pages
Created Events,Categories, Countries CRUD
This commit is contained in:
parent
8c26fa6489
commit
7d8c24e911
|
|
@ -11,6 +11,7 @@ namespace App\Models;
|
|||
|
||||
class Category extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* Indicates whether the model should be timestamped.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@ namespace App\Models;
|
|||
|
||||
class Country extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
}
|
||||
|
|
@ -13,6 +13,7 @@ namespace App\Models;
|
|||
*/
|
||||
class Currency extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* Indicates whether the model should be timestamped.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ namespace App\Models;
|
|||
*/
|
||||
class DateFormat extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* Indicates whether the model should be timestamped.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ namespace App\Models;
|
|||
*/
|
||||
class DateTimeFormat extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* Indicates whether the model should be timestamped.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ use URL;
|
|||
class Event extends MyBaseModel
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
protected $dates = ['start_date', 'end_date', 'on_sale_date'];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@ namespace App\Models;
|
|||
*/
|
||||
class EventImage extends MyBaseModel
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
//put your code here.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ use DB;
|
|||
|
||||
class EventStats extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* Indicates if the model should be timestamped.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use PDF;
|
|||
class Order extends MyBaseModel
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* The validation rules of the model.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ namespace App\Models;
|
|||
*/
|
||||
class OrderItem extends MyBaseModel
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
/**
|
||||
* Indicates if the model should be timestamped.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@ namespace App\Models;
|
|||
*/
|
||||
class OrderStatus extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
public $timestamps = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ use Image;
|
|||
|
||||
class Organiser extends MyBaseModel implements AuthenticatableContract
|
||||
{
|
||||
use \Backpack\CRUD\CrudTrait;
|
||||
use Authenticatable;
|
||||
/**
|
||||
* The validation rules for the model.
|
||||
|
|
|
|||
|
|
@ -10,10 +10,12 @@ use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
|
|||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
use Spatie\Permission\Traits\HasRoles;
|
||||
use Backpack\CRUD\CrudTrait;
|
||||
|
||||
class User extends Model implements AuthenticatableContract, CanResetPasswordContract
|
||||
{
|
||||
use Authenticatable, CanResetPassword, SoftDeletes, Notifiable;
|
||||
use Authenticatable, CanResetPassword, SoftDeletes, Notifiable, HasRoles, CrudTrait;
|
||||
|
||||
/**
|
||||
* The database table used by the model.
|
||||
|
|
|
|||
|
|
@ -40,7 +40,11 @@
|
|||
"omnipay/paypal": "~3",
|
||||
"omnipay/stripe": "~3",
|
||||
"backpack/crud": "^3.5",
|
||||
"barryvdh/laravel-elfinder": "^0.4.1"
|
||||
"barryvdh/laravel-elfinder": "^0.4.1",
|
||||
"backpack/backupmanager": "^1.4",
|
||||
"backpack/settings": "^2.1",
|
||||
"backpack/pagemanager": "^1.1",
|
||||
"backpack/permissionmanager": "^4.0"
|
||||
|
||||
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "d505aec3739019190607536af575fe2c",
|
||||
"content-hash": "d16b1212c3c075e01f2954a1ebcece4d",
|
||||
"packages": [
|
||||
{
|
||||
"name": "almasaeed2010/adminlte",
|
||||
|
|
@ -132,6 +132,70 @@
|
|||
],
|
||||
"time": "2018-12-13T22:18:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "backpack/backupmanager",
|
||||
"version": "1.4.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Laravel-Backpack/BackupManager.git",
|
||||
"reference": "60ec776324e915f261deb4bbef28e9e3b6e4dba8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/BackupManager/zipball/60ec776324e915f261deb4bbef28e9e3b6e4dba8",
|
||||
"reference": "60ec776324e915f261deb4bbef28e9e3b6e4dba8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"backpack/base": "0.9.*|1.0.*",
|
||||
"illuminate/support": "~5.1",
|
||||
"spatie/laravel-backup": "^5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.*",
|
||||
"scrutinizer/ocular": "~1.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.0-dev"
|
||||
},
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Backpack\\BackupManager\\BackupManagerServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Backpack\\BackupManager\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cristian Tabacitu",
|
||||
"email": "hello@tabacitu.ro",
|
||||
"homepage": "http://tabacitu.ro",
|
||||
"role": "Chief Architect & Web Developer"
|
||||
}
|
||||
],
|
||||
"description": "Admin interface for managing backups in Backpack, on Laravel 5.2+",
|
||||
"homepage": "https://github.com/laravel-backpack/BackupManager",
|
||||
"keywords": [
|
||||
"backpack",
|
||||
"backup",
|
||||
"backupmanager",
|
||||
"dick",
|
||||
"laravel",
|
||||
"tabacitu",
|
||||
"updivision"
|
||||
],
|
||||
"time": "2018-11-22T21:26:26+00:00"
|
||||
},
|
||||
{
|
||||
"name": "backpack/base",
|
||||
"version": "1.0.4",
|
||||
|
|
@ -272,6 +336,216 @@
|
|||
],
|
||||
"time": "2018-12-13T10:14:30+00:00"
|
||||
},
|
||||
{
|
||||
"name": "backpack/pagemanager",
|
||||
"version": "1.1.27",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Laravel-Backpack/PageManager.git",
|
||||
"reference": "9e698cfdd588f1fd2bef640e144a628da5c2f489"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/PageManager/zipball/9e698cfdd588f1fd2bef640e144a628da5c2f489",
|
||||
"reference": "9e698cfdd588f1fd2bef640e144a628da5c2f489",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"backpack/crud": "^3.0.6",
|
||||
"cviebrock/eloquent-sluggable": "^4.0",
|
||||
"doctrine/dbal": "^2.5.12",
|
||||
"illuminate/support": "~5.1",
|
||||
"php": "~5.5|~7.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.*",
|
||||
"scrutinizer/ocular": "~1.1",
|
||||
"squizlabs/php_codesniffer": "~2.3"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.0-dev"
|
||||
},
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Backpack\\PageManager\\PageManagerServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Backpack\\PageManager\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cristian Tabacitu",
|
||||
"email": "hello@tabacitu.ro",
|
||||
"homepage": "http://tabacitu.ro",
|
||||
"role": "Architect & Developer"
|
||||
}
|
||||
],
|
||||
"description": "Create admin panels for presentation websites on Laravel, using page templates and Backpack\\CRUD.",
|
||||
"homepage": "https://github.com/laravel-backpack/PageManager",
|
||||
"keywords": [
|
||||
"Content management system",
|
||||
"admin panel",
|
||||
"administer pages",
|
||||
"backpack",
|
||||
"cms",
|
||||
"crud",
|
||||
"manage pages",
|
||||
"pagemanager",
|
||||
"presentation pages",
|
||||
"presentation website",
|
||||
"wordpress"
|
||||
],
|
||||
"time": "2018-12-06T10:42:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "backpack/permissionmanager",
|
||||
"version": "4.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Laravel-Backpack/PermissionManager.git",
|
||||
"reference": "643f9e11f72f803d8b48df551e8b592493836c95"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/PermissionManager/zipball/643f9e11f72f803d8b48df551e8b592493836c95",
|
||||
"reference": "643f9e11f72f803d8b48df551e8b592493836c95",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"backpack/crud": "^3.4.0",
|
||||
"spatie/laravel-permission": "2.28.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.*",
|
||||
"scrutinizer/ocular": "~1.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.0-dev"
|
||||
},
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Backpack\\PermissionManager\\PermissionManagerServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Backpack\\PermissionManager\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Marius Constantin",
|
||||
"email": "marius@updivision.com",
|
||||
"homepage": "http://www.updivision.com",
|
||||
"role": "Lead Developer"
|
||||
},
|
||||
{
|
||||
"name": "Cristian Tabacitu",
|
||||
"email": "hello@tabacitu.ro",
|
||||
"homepage": "http://www.tabacitu.ro",
|
||||
"role": "Chief Architect"
|
||||
}
|
||||
],
|
||||
"description": "Users and permissions management interface for Laravel 5 using Backpack CRUD.",
|
||||
"homepage": "https://github.com/laravel-backpack/permissionmanager",
|
||||
"keywords": [
|
||||
"backpack",
|
||||
"backpack permission",
|
||||
"backpack roles",
|
||||
"backpack user management",
|
||||
"dick",
|
||||
"dick permission",
|
||||
"laravel backpack",
|
||||
"manage permission",
|
||||
"manage roles",
|
||||
"manage users",
|
||||
"tabacitu",
|
||||
"updivision",
|
||||
"users roles admin"
|
||||
],
|
||||
"time": "2018-12-12T08:47:33+00:00"
|
||||
},
|
||||
{
|
||||
"name": "backpack/settings",
|
||||
"version": "2.1.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Laravel-Backpack/Settings.git",
|
||||
"reference": "ab1193e5b7cea080478c3e469b986a0e8c44bb38"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/Settings/zipball/ab1193e5b7cea080478c3e469b986a0e8c44bb38",
|
||||
"reference": "ab1193e5b7cea080478c3e469b986a0e8c44bb38",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"backpack/crud": "3.4.*|3.5.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.*",
|
||||
"scrutinizer/ocular": "~1.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.0-dev"
|
||||
},
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Backpack\\Settings\\SettingsServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Backpack\\Settings\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cristian Tabacitu",
|
||||
"email": "hello@tabacitu.ro",
|
||||
"homepage": "http://www.tabacitu.ro",
|
||||
"role": "Chief Architect & Lead Developer"
|
||||
}
|
||||
],
|
||||
"description": "Application settings interface for Laravel 5 using Backpack CRUD.",
|
||||
"homepage": "https://github.com/laravel-backpack/settings",
|
||||
"keywords": [
|
||||
"backpack",
|
||||
"backpack settings",
|
||||
"dick",
|
||||
"dick settings",
|
||||
"laravel backpack",
|
||||
"manage settings",
|
||||
"settings admin",
|
||||
"tabacitu",
|
||||
"updivision"
|
||||
],
|
||||
"time": "2018-11-22T21:29:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "barryvdh/elfinder-flysystem-driver",
|
||||
"version": "v0.2.1",
|
||||
|
|
@ -560,6 +834,71 @@
|
|||
],
|
||||
"time": "2017-08-18T09:54:01+00:00"
|
||||
},
|
||||
{
|
||||
"name": "cocur/slugify",
|
||||
"version": "v3.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cocur/slugify.git",
|
||||
"reference": "b2ccf7b735f4f3df3979aef2e1ebf8e19ca772f7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/cocur/slugify/zipball/b2ccf7b735f4f3df3979aef2e1ebf8e19ca772f7",
|
||||
"reference": "b2ccf7b735f4f3df3979aef2e1ebf8e19ca772f7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-mbstring": "*",
|
||||
"php": ">=5.5.9"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/framework": "~5.1",
|
||||
"latte/latte": "~2.2",
|
||||
"league/container": "^2.2.0",
|
||||
"mikey179/vfsstream": "~1.6",
|
||||
"mockery/mockery": "~0.9",
|
||||
"nette/di": "~2.2",
|
||||
"phpunit/phpunit": "~4.8|~5.2",
|
||||
"pimple/pimple": "~1.1",
|
||||
"plumphp/plum": "~0.1",
|
||||
"silex/silex": "~1.3",
|
||||
"symfony/config": "~2.4|~3.0",
|
||||
"symfony/dependency-injection": "~2.4|~3.0",
|
||||
"symfony/http-kernel": "~2.4|~3.0",
|
||||
"twig/twig": "~1.26|~2.0",
|
||||
"zendframework/zend-modulemanager": "~2.2",
|
||||
"zendframework/zend-servicemanager": "~2.2",
|
||||
"zendframework/zend-view": "~2.2"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Cocur\\Slugify\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Ivo Bathke",
|
||||
"email": "ivo.bathke@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Florian Eckerstorfer",
|
||||
"email": "florian@eckerstorfer.co",
|
||||
"homepage": "https://florian.ec"
|
||||
}
|
||||
],
|
||||
"description": "Converts a string into a slug.",
|
||||
"keywords": [
|
||||
"slug",
|
||||
"slugify"
|
||||
],
|
||||
"time": "2018-01-22T09:00:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "composer/ca-bundle",
|
||||
"version": "1.1.3",
|
||||
|
|
@ -1037,6 +1376,69 @@
|
|||
],
|
||||
"time": "2018-03-29T22:10:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "cviebrock/eloquent-sluggable",
|
||||
"version": "4.6.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cviebrock/eloquent-sluggable.git",
|
||||
"reference": "d8a6982d32a7fe92f42b1c33a34e89d33516c2fd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/cviebrock/eloquent-sluggable/zipball/d8a6982d32a7fe92f42b1c33a34e89d33516c2fd",
|
||||
"reference": "d8a6982d32a7fe92f42b1c33a34e89d33516c2fd",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"cocur/slugify": "^3.1",
|
||||
"illuminate/config": "~5.7.0",
|
||||
"illuminate/database": "~5.7.0",
|
||||
"illuminate/support": "~5.7.0",
|
||||
"php": "^7.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"limedeck/phpunit-detailed-printer": "^4.1",
|
||||
"mockery/mockery": "^0.9.4",
|
||||
"orchestra/database": "3.7.x-dev",
|
||||
"orchestra/testbench": "v3.7.0",
|
||||
"phpunit/phpunit": "~7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Cviebrock\\EloquentSluggable\\ServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Cviebrock\\EloquentSluggable\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Colin Viebrock",
|
||||
"email": "colin@viebrock.ca"
|
||||
}
|
||||
],
|
||||
"description": "Easy creation of slugs for your Eloquent models in Laravel 5.",
|
||||
"homepage": "https://github.com/cviebrock/eloquent-sluggable",
|
||||
"keywords": [
|
||||
"eloquent",
|
||||
"eloquent-sluggable",
|
||||
"laravel",
|
||||
"lumen",
|
||||
"slug",
|
||||
"sluggable"
|
||||
],
|
||||
"time": "2018-09-05T02:03:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/cache",
|
||||
"version": "v1.8.0",
|
||||
|
|
@ -5135,6 +5537,235 @@
|
|||
],
|
||||
"time": "2015-10-13T18:44:15+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/db-dumper",
|
||||
"version": "2.12.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/db-dumper.git",
|
||||
"reference": "61cf73e3b53e163d6e888a0013b9df6bb235752c"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/db-dumper/zipball/61cf73e3b53e163d6e888a0013b9df6bb235752c",
|
||||
"reference": "61cf73e3b53e163d6e888a0013b9df6bb235752c",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.0",
|
||||
"symfony/process": "^3.0|^4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^6.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Spatie\\DbDumper\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Freek Van der Herten",
|
||||
"email": "freek@spatie.be",
|
||||
"homepage": "https://spatie.be",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Dump databases",
|
||||
"homepage": "https://github.com/spatie/db-dumper",
|
||||
"keywords": [
|
||||
"database",
|
||||
"db-dumper",
|
||||
"dump",
|
||||
"mysqldump",
|
||||
"spatie"
|
||||
],
|
||||
"time": "2018-12-10T10:41:18+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-backup",
|
||||
"version": "5.11.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/laravel-backup.git",
|
||||
"reference": "ff06262cfa2fa1104f727e758fc4111a6f7413da"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-backup/zipball/ff06262cfa2fa1104f727e758fc4111a6f7413da",
|
||||
"reference": "ff06262cfa2fa1104f727e758fc4111a6f7413da",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"laravel/framework": "~5.5.0|~5.6.0|~5.7.0",
|
||||
"league/flysystem": "^1.0.27",
|
||||
"php": "^7.1",
|
||||
"spatie/db-dumper": "^2.11.1",
|
||||
"spatie/temporary-directory": "^1.1",
|
||||
"symfony/finder": "^3.3|^4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "^1.0",
|
||||
"orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0",
|
||||
"phpunit/phpunit": "^7.3"
|
||||
},
|
||||
"suggest": {
|
||||
"guzzlehttp/guzzle": "Allows notifications to be sent via Slack"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Spatie\\Backup\\BackupServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Spatie\\Backup\\": "src"
|
||||
},
|
||||
"files": [
|
||||
"src/Helpers/functions.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Freek Van der Herten",
|
||||
"email": "freek@spatie.be",
|
||||
"homepage": "https://spatie.be",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "A Laravel 5 package to backup your application",
|
||||
"homepage": "https://github.com/spatie/laravel-backup",
|
||||
"keywords": [
|
||||
"backup",
|
||||
"database",
|
||||
"laravel-backup",
|
||||
"spatie"
|
||||
],
|
||||
"time": "2018-11-05T13:09:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-permission",
|
||||
"version": "2.28.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/laravel-permission.git",
|
||||
"reference": "1887a5851013bf1a457f2a65477f96e98ae3f53a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-permission/zipball/1887a5851013bf1a457f2a65477f96e98ae3f53a",
|
||||
"reference": "1887a5851013bf1a457f2a65477f96e98ae3f53a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"illuminate/auth": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0",
|
||||
"illuminate/container": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0",
|
||||
"illuminate/contracts": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0",
|
||||
"illuminate/database": "~5.4.0|~5.5.0|~5.6.0|~5.7.0",
|
||||
"php": ">=7.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "~3.4.2|~3.5.0|~3.6.0|~3.7.0",
|
||||
"phpunit/phpunit": "^5.7|6.2|^7.0",
|
||||
"predis/predis": "^1.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Spatie\\Permission\\PermissionServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Spatie\\Permission\\": "src"
|
||||
},
|
||||
"files": [
|
||||
"src/helpers.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Freek Van der Herten",
|
||||
"email": "freek@spatie.be",
|
||||
"homepage": "https://spatie.be",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Permission handling for Laravel 5.4 and up",
|
||||
"homepage": "https://github.com/spatie/laravel-permission",
|
||||
"keywords": [
|
||||
"acl",
|
||||
"laravel",
|
||||
"permission",
|
||||
"security",
|
||||
"spatie"
|
||||
],
|
||||
"time": "2018-12-11T02:03:59+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/temporary-directory",
|
||||
"version": "1.1.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/temporary-directory.git",
|
||||
"reference": "5e1799fa2297363ebfb4df296fea90afbd4ef9b7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/temporary-directory/zipball/5e1799fa2297363ebfb4df296fea90afbd4ef9b7",
|
||||
"reference": "5e1799fa2297363ebfb4df296fea90afbd4ef9b7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^6.3"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Spatie\\TemporaryDirectory\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Alex Vanderbist",
|
||||
"email": "alex@spatie.be",
|
||||
"homepage": "https://spatie.be",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Easily create, use and destroy temporary directories",
|
||||
"homepage": "https://github.com/spatie/temporary-directory",
|
||||
"keywords": [
|
||||
"spatie",
|
||||
"temporary-directory"
|
||||
],
|
||||
"time": "2018-04-12T09:34:43+00:00"
|
||||
},
|
||||
{
|
||||
"name": "studio-42/elfinder",
|
||||
"version": "2.1.43",
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ return [
|
|||
'middleware_class' => [
|
||||
App\Http\Middleware\CheckIfAdmin::class,
|
||||
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
|
||||
// \Backpack\Base\app\Http\Middleware\UseBackpackAuthGuardInsteadOfDefaultAuthGuard::class,
|
||||
\Backpack\Base\app\Http\Middleware\UseBackpackAuthGuardInsteadOfDefaultAuthGuard::class,
|
||||
],
|
||||
|
||||
// Alias for that middleware
|
||||
|
|
|
|||
|
|
@ -1,3 +1,18 @@
|
|||
<!-- This file is used to store sidebar items, starting with Backpack\Base 0.9.0 -->
|
||||
<li><a href="{{ backpack_url('dashboard') }}"><i class="fa fa-dashboard"></i> <span>{{ trans('backpack::base.dashboard') }}</span></a></li>
|
||||
<li><a href="{{ backpack_url('elfinder') }}"><i class="fa fa-files-o"></i> <span>{{ trans('backpack::crud.file_manager') }}</span></a></li>
|
||||
<!-- Users, Roles Permissions -->
|
||||
<li class="treeview">
|
||||
<a href="#"><i class="fa fa-group"></i> <span>Users, Roles, Permissions</span> <i class="fa fa-angle-left pull-right"></i></a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="{{ backpack_url('user') }}"><i class="fa fa-user"></i> <span>Users</span></a></li>
|
||||
<li><a href="{{ backpack_url('role') }}"><i class="fa fa-group"></i> <span>Roles</span></a></li>
|
||||
<li><a href="{{ backpack_url('permission') }}"><i class="fa fa-key"></i> <span>Permissions</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{{ backpack_url('elfinder') }}"><i class="fa fa-files-o"></i> <span>{{ trans('backpack::crud.file_manager') }}</span></a></li>
|
||||
<li><a href='{{ backpack_url('page') }}'><i class='fa fa-file-o'></i> <span>Pages</span></a></li>
|
||||
<li><a href='{{ backpack_url('setting') }}'><i class='fa fa-cog'></i> <span>Settings</span></a></li>
|
||||
<li><a href='{{ backpack_url('backup') }}'><i class='fa fa-hdd-o'></i> <span>Backups</span></a></li>
|
||||
<li><a href='{{ backpack_url('category') }}'><i class='fa fa-tag'></i> <span>Categories</span></a></li>
|
||||
<li><a href='{{ backpack_url('country') }}'><i class='fa fa-tag'></i> <span>Countries</span></a></li>
|
||||
<li><a href='{{ backpack_url('event') }}'><i class='fa fa-tag'></i> <span>Events</span></a></li>
|
||||
|
|
@ -11,4 +11,7 @@ Route::group([
|
|||
'middleware' => ['web', config('backpack.base.middleware_key', 'admin')],
|
||||
'namespace' => 'App\Http\Controllers\Admin',
|
||||
], function () { // custom admin routes
|
||||
}); // this should be the absolute last line of this file
|
||||
CRUD::resource('category', 'CategoryCrudController');
|
||||
CRUD::resource('country', 'CountryCrudController');
|
||||
CRUD::resource('event', 'EventCrudController');
|
||||
}); // this should be the absolute last line of this file
|
||||
Loading…
Reference in New Issue