Commit 1a8ffe37 by Rinto

Admin-User Add

parent d085c07a
......@@ -27,6 +27,6 @@ MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=
PUSHER_APP_ID=
/node_modules
/public/storage
/storage/*.key
/vendor
/.idea
Homestead.json
......
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Input;
use File;
use App\Http\Requests;
use App\Models\Bus;
use App\Models\Users;
use App\Models\Supir;
use App\Models\Pemesanan;
use Validator;
use App\Http\Controllers\Controller;
use App\User;
use Image;
class AdminController extends Controller
{
public function store(Request $request){
$this->validate($request, [
'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
$input = $request->all();
$image = $request->file('image');
$input['image'] = time().'.'.$image->getClientOriginalExtension();
$destinationPath = public_path('/image');
$img = Image::make($image->getRealPath());
$img->resize(300, 300, function ($constraint) {
$constraint->aspectRatio();
})->save($destinationPath.'/'.$input['image']);
if($username = DB::table('users')->where('username' , $input['username'])->first()){
return redirect()->back()->with('info','We are so sorry :( .Username is exists. Please choose another username');
}else{
User::create(['username' => $input['username'],'password' => bcrypt($input['password']),'role' => $input['role'],'image' => $input['image']])->id;
return redirect(url('/admin/user'))->with('info','Data User Berhasil ditambah');
}
}
public function user(){
$key = Input::get('search');
$this->data['title'] = 'List User';
if(isset($key)){
$this->data['user'] = User::where('username','like','%'.$key.'%','and','role','!=','supir')->orderBy('id','desc')->paginate(10);
}else{
$this->data['user'] = User::where('role','!=','supir')->orderBy('id','desc')->paginate(10);
}
$this->data['total'] = DB::table('users')->where('role','!=','supir')->get();
return view('admin.user.index',$this->data);
}
public function tambahuser(){
$this->data['title'] = 'Tambah User';
return view('admin.user.tambah',$this->data);
}
public function hapususer($id){
User::find($id)->delete();
return redirect(url('/admin/user'))->with('info','Data User berhasil dihapus');
}
public function bus(){
$key = Input::get('search');
$this->data['title'] = 'Bus IT Del';
if(isset($key)){
$this->data['bus'] = Bus::where('nama_bus','like','%'.$key.'%')->orderBy('id','desc')->paginate(10);
}else{
$this->data['bus'] = Bus::orderBy('id','desc')->paginate(10);
}
$this->data['total'] = DB::table('bus')->get();
return view('admin.bus.index',$this->data);
}
public function tambahbus(){
$this->data['title'] = 'Tambah Bus';
return view('admin.bus.tambah',$this->data);
}
public function storebus(Request $request){
$this->validate($request, [
'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
$input = $request->all();
$image = $request->file('image');
$input['image'] = time().'.'.$image->getClientOriginalExtension();
$destinationPath = public_path('/image');
$img = Image::make($image->getRealPath());
$img->resize(300, 300, function ($constraint) {
$constraint->aspectRatio();
})->save($destinationPath.'/'.$input['image']);
if($plat_bus = DB::table('bus')->where('plat_bus' , $input['plat_bus'])->first()){
return redirect()->back()->with('info','We are so sorry :( .Plat Bus is exists. Please choose another Plat Bus');
}else{
Bus::create($input);
return redirect(url('/admin/bus'))->with('info','Data Bus berhasil ditambah');
}
}
public function hapusbus($id){
$bus = DB::table('bus')->where('id' , $id)->first();
File::delete('image/' . $bus->image);
Bus::find($id)->delete();
return redirect(url('/admin/bus'))->with('info','Bus berhasil dihapus');
}
public function detail($id){
$this->data['title'] = 'Detail Bus';
$this->data['bus'] = Bus::find($id);
return view('admin.bus.detail',$this->data);
}
public function ubah($id){
$this->data['title'] = 'Ubah Data Bus';
$this->data['bus'] = Bus::find($id);
return view('admin.bus.ubah',$this->data);
}
public function edit(Request $request, $id){
// code : from itsolutionstuff.com and modified by group 9 using intervention image
$input = $request->all();
if($request->file('image')){
$this->validate($request, [
'image' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
$bus = DB::table('bus')->where('id' , $id)->first();
File::delete('image/' . $bus->image);
$image = $request->file('image');
$input['image'] = time().'.'.$image->getClientOriginalExtension();
$destinationPath = public_path('/image');
$img = Image::make($image->getRealPath());
$img->resize(300, 300, function ($constraint) {
$constraint->aspectRatio();
})->save($destinationPath.'/'.$input['image']);
Bus::find($id)->update($input);
}
else{
Bus::find($id)->update($input);
}
return redirect(url('/admin/bus'))->with('info','Data Bus Berhasil di Ubah');
}
public function supir(){
$key = Input::get('search');
$this->data['title'] = 'Supir IT Del';
if(isset($key)){
$this->data['supir'] = Supir::where('nama_bus','like','%'.$key.'%')->orderBy('id','desc')->paginate(10);
}else{
$this->data['supir'] = Supir::orderBy('id','desc')->paginate(10);
}
$this->data['total'] = DB::table('supir')->get();
return view('admin.supir.index',$this->data);
}
public function tambahsupir(){
$this->data['title'] = 'Tambah Supir';
return view('admin.supir.tambah',$this->data);
}
public function storesupir(Request $request){
$this->validate($request, [
'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
$input = $request->all();
$image = $request->file('image');
$input['image'] = time().'.'.$image->getClientOriginalExtension();
$destinationPath = public_path('/image');
$img = Image::make($image->getRealPath());
$img->resize(300, 300, function ($constraint) {
$constraint->aspectRatio();
})->save($destinationPath.'/'.$input['image']);
if($id = DB::table('supir')->where('id' , $input['id'])->first()){
return redirect()->back()->with('info','We are so sorry :( .ID is exists. Please choose another ID');
}else{
Supir::create($input);
return redirect(url('/admin/supir'))->with('info','Data Supir berhasil ditambah');
}
}
public function hapussupir($id){
$supir = DB::table('supir')->where('id' , $id)->first();
File::delete('image/' . $supir->image);
Supir::find($id)->delete();
return redirect(url('/admin/supir'))->with('info','Supir berhasil dihapus');
}
public function detailsupir($id){
$this->data['title'] = 'Detail Supir';
$this->data['supir'] = Supir::find($id);
return view('admin.supir.detail',$this->data);
}
public function ubahsupir($id){
$this->data['title'] = 'Ubah Data Supir';
$this->data['supir'] = Supir::find($id);
return view('admin.supir.ubahsupir',$this->data);
}
public function editsupir(Request $request, $id){
// code : from itsolutionstuff.com and modified by group 9 using intervention image
$input = $request->all();
if($request->file('image')){
$this->validate($request, [
'image' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
$supir = DB::table('supir')->where('id' , $id)->first();
File::delete('image/' . $supir->image);
$image = $request->file('image');
$input['image'] = time().'.'.$image->getClientOriginalExtension();
$destinationPath = public_path('/image');
$img = Image::make($image->getRealPath());
$img->resize(300, 300, function ($constraint) {
$constraint->aspectRatio();
})->save($destinationPath.'/'.$input['image']);
Supir::find($id)->update($input);
}
else{
Supir::find($id)->update($input);
}
return redirect(url('/admin/supir'))->with('info','Data Supir Berhasil di Ubah');
}
public function profil(){
$this->data['title'] = 'Profil Anda';
return view('admin.profil.index',$this->data);
}
public function pemesanan(){
$key = Input::get('search');
$this->data['title'] = 'Pemesanan Bus IT Del';
if(isset($key)){
$this->data['pemesanan'] = Pemesanan::where('client_username','like','%'.$key.'%')->orderBy('id','desc')->paginate(10);
}else{
$this->data['pemesanan'] = Pemesanan::orderBy('id','desc')->paginate(10);
}
$this->data['total'] = DB::table('pemesanan')->get();
return view('admin.pemesanan.index',$this->data);
}
public function detailpemesanan($id){
$this->data['title'] = 'Detail Pemesanan';
$this->data['pemesanan'] = Pemesanan::find($id);
return view('admin.pemesanan.detail',$this->data);
}
}
......@@ -3,29 +3,12 @@
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
use Validator;
use App\User;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|--------------------------------------------------------------------------
|
| This controller handles authenticating users for the application and
| redirecting them to your home screen. The controller uses a trait
| to conveniently provide its functionality to your applications.
|
*/
use AuthenticatesUsers;
/**
* Where to redirect users after login.
*
* @var string
*/
protected $redirectTo = '/home';
/**
* Create a new controller instance.
......@@ -34,6 +17,39 @@ class LoginController extends Controller
*/
public function __construct()
{
$this->middleware('guest', ['except' => 'logout']);
//$this->middleware('guest', ['except' => 'logout']);
}
// <!-- code : login - krs app - arnosa.net - and modified by group 9 -->
public function Login(Request $request){
$validator = Validator::make($request->all(), [
'username' => 'required|exists:users,username',
'password' => 'required',
], [
'username.required' => 'Username diperlukan!',
'username.exists' => 'Username tidak diketemukan',
'password.required' => 'Password diperlukan'
]);
if ($validator->fails()) {
return redirect('/')
->withErrors($validator)
->withInput();
} else {
if (Auth::attempt(['username' => $request->username, 'password' => $request->password])) {
if(Auth::user()->role == 'admin'){
return redirect()->intended('admin');
}elseif(Auth::user()->role == 'k_supir'){
return redirect()->intended('k_supir');
} else {
return redirect()->intended('klien');
}
} else {
$validator->errors()->add('password', 'Password tidak benar');
return redirect('/')
->withErrors($validator)
->withInput();
}
}
}
}
......@@ -6,6 +6,9 @@ use App\User;
use Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\RegistersUsers;
use App\Models\Customer;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class RegisterController extends Controller
{
......@@ -27,7 +30,7 @@ class RegisterController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/register';
/**
* Create a new controller instance.
......@@ -39,6 +42,19 @@ class RegisterController extends Controller
$this->middleware('guest');
}
public function store(Request $request){
$input = $request->all();
if($username = DB::table('customer_data')->where('username' , $input['username'])->first()){
return redirect()->back()->with('info','We are so sorry :( .Username is exists. Please choose another username');
}else{
User::create(['username' => $input['username'],'password' => bcrypt($input['password']),'role' => 'customer'])->id;
$customer = $request->except(['password','role']);
Customer::create($customer);
return redirect()->back()->with('info','Registrasi berhasil dilakukan. Silahkan login');
}
}
/**
* Get a validator for an incoming registration request.
*
......
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Input;
use File;
use App\Http\Requests;
use App\Models\Menu;
Use App\Models\OrderTemp;
Use App\Models\Order;
use Image;
class K_SupirController extends Controller
{
}
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Input;
use File;
use App\Models\Pemesanan;
use App\Models\Bus;
use App\Models\Users;
use Image;
Use App\Models\OrderTemp;
Use App\Models\Order;
class KlienController extends Controller
{
public function pesan(){
$key = Input::get('search');
$this->data['title'] = 'Pesan Bus IT Del';
return view('klien.pesan.index',$this->data);
}
public function pemesanan(Request $request){
$input = $request->all();
Pemesanan::create($input);
return redirect(url('/klien'))->with('info','Data Bus berhasil ditambah');
}
public function bus(){
$key = Input::get('search');
$this->data['title'] = 'Bus IT Del';
if(isset($key)){
$this->data['bus'] = Bus::where('nama_bus','like','%'.$key.'%')->orderBy('id','desc')->paginate(10);
}else{
$this->data['bus'] = Bus::orderBy('id','desc')->paginate(10);
}
$this->data['total'] = DB::table('bus')->get();
return view('klien.bus.index',$this->data);
}
public function pilih(){
$key = Input::get('search');
$this->data['title'] = 'Bus IT Del';
if(isset($key)){
$this->data['bus'] = Bus::where('nama_bus','like','%'.$key.'%')->orderBy('id','desc')->paginate(10);
}else{
$this->data['bus'] = Bus::orderBy('id','desc')->paginate(10);
}
$this->data['total'] = DB::table('bus')->get();
return view('klien.pesan.pilih',$this->data);
}
public function detail($id){
$this->data['title'] = 'Detail Bus';
$this->data['bus'] = Bus::find($id);
return view('klien.bus.detail',$this->data);
}
public function history(){
$username = Auth::user()->username;
$users = DB::table('users')->where('username' , $username)->first();
$id = $users->id;
$this->data['title'] = 'History Pemesanan';
$this->data['users'] = Users::find($id);
$this->data['history'] = DB::table('pemesanan')->where('client_username' , $username)->orderBy('id','desc')->paginate(10);
$this->data['total'] = DB::table('pemesanan')->where('client_username' , $username)->get();
return view('klien.history.index',$this->data);
}
public function status(){
$username = Auth::user()->username;
$users = DB::table('users')->where('username' , $username)->first();
$id = $users->id;
$this->data['title'] = 'Status Pemesanan';
$this->data['users'] = Users::find($id);
$this->data['status'] = DB::table('pemesanan')->where('client_username' , $username)->orderBy('id','desc')->paginate(10);
$this->data['total'] = DB::table('pemesanan')->where('client_username' , $username)->get();
return view('klien.status.index',$this->data);
}
public function batal($id){
pemesanan::find($id)->delete();
return redirect(url('/klien/pesan'))->with('info','Pembatalan pemesanan berhasil dilakukan');
}
public function pilih_bus($id){
$key = Input::get('search');
$this->data['bus'] = Bus::find($id);
$this->data['title'] = 'Pilih Bus IT Del';
return view('klien.pesan.pilih_bus',$this->data);
}
}
......@@ -52,5 +52,8 @@ class Kernel extends HttpKernel
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
'admin' => \App\Http\Middleware\AdminMid::class,
'k_supir' => \App\Http\Middleware\K_SupirMid::class,
'klien' => \App\Http\Middleware\KlienMid::class,
];
}
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class AdminMid
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if(Auth::check()){
if(Auth::user()->role != 'admin'){
return redirect('/');
}
} else {
return redirect('/');
}
return $next($request);
}
}
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class K_SupirMid
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if(Auth::check()){
if(Auth::user()->role != 'k_supir'){
return redirect('/');
}
} else {
return redirect('/');
}
return $next($request);
}
}
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class KlienMid
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if(Auth::check()){
if(Auth::user()->role != 'klien'){
return redirect('/');
}
} else {
return redirect('/');
}
return $next($request);
}
}
......@@ -18,9 +18,17 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
return redirect('/home');
if(Auth::user()->role == 'admin')
return redirect('admin');
}
if (Auth::guard($guard)->check()) {
if(Auth::user()->role == 'k_supir')
return redirect('k_supir');
}
if (Auth::guard($guard)->check()) {
if(Auth::user()->role == 'klien')
return redirect('klien');
}
return $next($request);
}
}
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
abstract class Job
{
/*
|--------------------------------------------------------------------------
| Queueable Jobs
|--------------------------------------------------------------------------
|
| This job base class provides a central location to place any logic that
| is shared across all of your jobs. The trait included with the class
| provides access to the "onQueue" and "delay" queue helper methods.
|
*/
use Queueable;
}
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Bus extends Model
{
protected $table = 'bus';
protected $fillable = ['nama_bus','jenis_bus','plat_bus','deskripsi','image'];
//
}
\ No newline at end of file
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Klien extends Model
{
protected $table = 'users';
protected $fillable = ['username','password','role','image'];
//
}
\ No newline at end of file
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Pemesanan extends Model
{
protected $table = 'pemesanan';
protected $fillable = ['id','tujuan','jumlah','alasan','berangkat','kembali','client_username','plat_bus'];
//
}
\ No newline at end of file
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Supir extends Model
{
protected $table = 'supir';
protected $fillable = ['id','nama_supir','ttl','alamat','jk','agama','image'];
//
}
\ No newline at end of file
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Users extends Model
{
protected $table = 'users';
protected $fillable = ['username','password','role','image'];
//
}
\ No newline at end of file
......@@ -35,10 +35,10 @@ class RouteServiceProvider extends ServiceProvider
*/
public function map()
{
$this->mapApiRoutes();
$this->mapWebRoutes();
$this->mapApiRoutes();
//
}
......
......@@ -15,7 +15,7 @@ class User extends Authenticatable
* @var array
*/
protected $fillable = [
'name', 'email', 'password',
'username', 'password','role'
];
/**
......@@ -26,4 +26,6 @@ class User extends Authenticatable
protected $hidden = [
'password', 'remember_token',
];
}
......@@ -7,7 +7,7 @@
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
"laravelcollective/html": "5.3.*"
"intervention/image": "^2.3"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
......
......@@ -4,25 +4,25 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "1238e3ff7339dd85c8beb7d7f05fbe3c",
"content-hash": "dc30a27b7aa7694dab419a23d3564dd2",
"hash": "c0323f2c3d57b79d07d10c5952434008",
"content-hash": "86b58b428d13f83a0315a628a609f36c",
"packages": [
{
"name": "classpreloader/classpreloader",
"version": "3.1.0",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/ClassPreloader/ClassPreloader.git",
"reference": "bc7206aa892b5a33f4680421b69b191efd32b096"
"reference": "9b10b913c2bdf90c3d2e0d726b454fb7f77c552a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ClassPreloader/ClassPreloader/zipball/bc7206aa892b5a33f4680421b69b191efd32b096",
"reference": "bc7206aa892b5a33f4680421b69b191efd32b096",
"url": "https://api.github.com/repos/ClassPreloader/ClassPreloader/zipball/9b10b913c2bdf90c3d2e0d726b454fb7f77c552a",
"reference": "9b10b913c2bdf90c3d2e0d726b454fb7f77c552a",
"shasum": ""
},
"require": {
"nikic/php-parser": "^1.0|^2.0|^3.0",
"nikic/php-parser": "^1.0|^2.0",
"php": ">=5.5.9"
},
"require-dev": {
......@@ -31,7 +31,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.1-dev"
"dev-master": "3.0-dev"
}
},
"autoload": {
......@@ -59,7 +59,7 @@
"class",
"preload"
],
"time": "2016-09-16 12:50:15"
"time": "2015-11-09 22:51:51"
},
{
"name": "dnoegel/php-xdg-base-dir",
......@@ -162,6 +162,126 @@
"time": "2015-11-06 14:35:42"
},
{
"name": "guzzlehttp/psr7",
"version": "1.3.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "5c6447c9df362e8f8093bda8f5d8873fe5c7f65b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/5c6447c9df362e8f8093bda8f5d8873fe5c7f65b",
"reference": "5c6447c9df362e8f8093bda8f5d8873fe5c7f65b",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
"psr/http-message": "~1.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Psr7\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "PSR-7 message implementation",
"keywords": [
"http",
"message",
"stream",
"uri"
],
"time": "2016-06-24 23:00:38"
},
{
"name": "intervention/image",
"version": "2.3.8",
"source": {
"type": "git",
"url": "https://github.com/Intervention/image.git",
"reference": "4064a980324f6c3bfa2bd981dfb247afa705ec3c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Intervention/image/zipball/4064a980324f6c3bfa2bd981dfb247afa705ec3c",
"reference": "4064a980324f6c3bfa2bd981dfb247afa705ec3c",
"shasum": ""
},
"require": {
"ext-fileinfo": "*",
"guzzlehttp/psr7": "~1.1",
"php": ">=5.4.0"
},
"require-dev": {
"mockery/mockery": "~0.9.2",
"phpunit/phpunit": "3.*"
},
"suggest": {
"ext-gd": "to use GD library based image processing.",
"ext-imagick": "to use Imagick based image processing.",
"intervention/imagecache": "Caching extension for the Intervention Image library"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.3-dev"
}
},
"autoload": {
"psr-4": {
"Intervention\\Image\\": "src/Intervention/Image"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Oliver Vogel",
"email": "oliver@olivervogel.net",
"homepage": "http://olivervogel.net/"
}
],
"description": "Image handling and manipulation library with support for Laravel integration",
"homepage": "http://image.intervention.io/",
"keywords": [
"gd",
"image",
"imagick",
"laravel",
"thumbnail",
"watermark"
],
"time": "2016-09-01 17:04:03"
},
{
"name": "jakub-onderka/php-console-color",
"version": "0.1",
"source": {
......@@ -250,20 +370,20 @@
},
{
"name": "jeremeamia/SuperClosure",
"version": "2.3.0",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/jeremeamia/super_closure.git",
"reference": "443c3df3207f176a1b41576ee2a66968a507b3db"
"reference": "29a88be2a4846d27c1613aed0c9071dfad7b5938"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/jeremeamia/super_closure/zipball/443c3df3207f176a1b41576ee2a66968a507b3db",
"reference": "443c3df3207f176a1b41576ee2a66968a507b3db",
"url": "https://api.github.com/repos/jeremeamia/super_closure/zipball/29a88be2a4846d27c1613aed0c9071dfad7b5938",
"reference": "29a88be2a4846d27c1613aed0c9071dfad7b5938",
"shasum": ""
},
"require": {
"nikic/php-parser": "^1.2|^2.0|^3.0",
"nikic/php-parser": "^1.2|^2.0",
"php": ">=5.4",
"symfony/polyfill-php56": "^1.0"
},
......@@ -273,7 +393,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.3-dev"
"dev-master": "2.2-dev"
}
},
"autoload": {
......@@ -304,20 +424,20 @@
"serialize",
"tokenizer"
],
"time": "2016-12-07 09:37:55"
"time": "2015-12-05 17:17:57"
},
{
"name": "laravel/framework",
"version": "v5.3.28",
"version": "v5.3.6",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "a64fc4f8958091ca39623b2e8c8f173cb34fa47a"
"reference": "c63a7fb7066fea2bce91ace5c830c01d503abe6c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/a64fc4f8958091ca39623b2e8c8f173cb34fa47a",
"reference": "a64fc4f8958091ca39623b2e8c8f173cb34fa47a",
"url": "https://api.github.com/repos/laravel/framework/zipball/c63a7fb7066fea2bce91ace5c830c01d503abe6c",
"reference": "c63a7fb7066fea2bce91ace5c830c01d503abe6c",
"shasum": ""
},
"require": {
......@@ -332,7 +452,7 @@
"nesbot/carbon": "~1.20",
"paragonie/random_compat": "~1.4|~2.0",
"php": ">=5.6.4",
"psy/psysh": "0.7.*|0.8.*",
"psy/psysh": "0.7.*",
"ramsey/uuid": "~3.0",
"swiftmailer/swiftmailer": "~5.1",
"symfony/console": "3.1.*",
......@@ -365,7 +485,6 @@
"illuminate/http": "self.version",
"illuminate/log": "self.version",
"illuminate/mail": "self.version",
"illuminate/notifications": "self.version",
"illuminate/pagination": "self.version",
"illuminate/pipeline": "self.version",
"illuminate/queue": "self.version",
......@@ -399,7 +518,7 @@
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~2.0).",
"symfony/css-selector": "Required to use some of the crawler integration testing tools (3.1.*).",
"symfony/dom-crawler": "Required to use most of the crawler integration testing tools (3.1.*).",
"symfony/psr-http-message-bridge": "Required to use psr7 bridging features (0.2.*)."
"symfony/psr-http-message-bridge": "Required to psr7 bridging features (0.2.*)."
},
"type": "library",
"extra": {
......@@ -432,78 +551,24 @@
"framework",
"laravel"
],
"time": "2016-12-15 18:03:17"
},
{
"name": "laravelcollective/html",
"version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/LaravelCollective/html.git",
"reference": "961ce141c16c6b085128f209496c26efd3e681ca"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/LaravelCollective/html/zipball/961ce141c16c6b085128f209496c26efd3e681ca",
"reference": "961ce141c16c6b085128f209496c26efd3e681ca",
"shasum": ""
},
"require": {
"illuminate/http": "5.3.*",
"illuminate/routing": "5.3.*",
"illuminate/session": "5.3.*",
"illuminate/support": "5.3.*",
"illuminate/view": "5.3.*",
"php": ">=5.6.4"
},
"require-dev": {
"illuminate/database": "5.3.*",
"mockery/mockery": "~0.9.4",
"phpunit/phpunit": "~5.4"
},
"type": "library",
"autoload": {
"psr-4": {
"Collective\\Html\\": "src/"
},
"files": [
"src/helpers.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Taylor Otwell",
"email": "taylorotwell@gmail.com"
},
{
"name": "Adam Engebretson",
"email": "adam@laravelcollective.com"
}
],
"description": "HTML and Form Builders for the Laravel Framework",
"homepage": "http://laravelcollective.com",
"time": "2016-08-27 23:52:43"
"time": "2016-09-01 14:06:47"
},
{
"name": "league/flysystem",
"version": "1.0.32",
"version": "1.0.27",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "1b5c4a0031697f46e779a9d1b309c2e1b24daeab"
"reference": "50e2045ed70a7e75a5e30bc3662904f3b67af8a9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1b5c4a0031697f46e779a9d1b309c2e1b24daeab",
"reference": "1b5c4a0031697f46e779a9d1b309c2e1b24daeab",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/50e2045ed70a7e75a5e30bc3662904f3b67af8a9",
"reference": "50e2045ed70a7e75a5e30bc3662904f3b67af8a9",
"shasum": ""
},
"require": {
"php": ">=5.5.9"
"php": ">=5.4.0"
},
"conflict": {
"league/flysystem-sftp": "<1.0.6"
......@@ -569,20 +634,20 @@
"sftp",
"storage"
],
"time": "2016-10-19 20:38:46"
"time": "2016-08-10 08:55:11"
},
{
"name": "monolog/monolog",
"version": "1.22.0",
"version": "1.21.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
"reference": "bad29cb8d18ab0315e6c477751418a82c850d558"
"reference": "f42fbdfd53e306bda545845e4dbfd3e72edb4952"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/bad29cb8d18ab0315e6c477751418a82c850d558",
"reference": "bad29cb8d18ab0315e6c477751418a82c850d558",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/f42fbdfd53e306bda545845e4dbfd3e72edb4952",
"reference": "f42fbdfd53e306bda545845e4dbfd3e72edb4952",
"shasum": ""
},
"require": {
......@@ -593,7 +658,7 @@
"psr/log-implementation": "1.0.0"
},
"require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
"aws/aws-sdk-php": "^2.4.9",
"doctrine/couchdb": "~1.0@dev",
"graylog2/gelf-php": "~1.0",
"jakub-onderka/php-parallel-lint": "0.9",
......@@ -647,7 +712,7 @@
"logging",
"psr-3"
],
"time": "2016-11-26 00:15:39"
"time": "2016-07-29 03:23:52"
},
{
"name": "mtdowling/cron-expression",
......@@ -742,24 +807,24 @@
},
{
"name": "nikic/php-parser",
"version": "v3.0.2",
"version": "v2.1.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
"reference": "adf44419c0fc014a0f191db6f89d3e55d4211744"
"reference": "47b254ea51f1d6d5dc04b9b299e88346bf2369e3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/adf44419c0fc014a0f191db6f89d3e55d4211744",
"reference": "adf44419c0fc014a0f191db6f89d3e55d4211744",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/47b254ea51f1d6d5dc04b9b299e88346bf2369e3",
"reference": "47b254ea51f1d6d5dc04b9b299e88346bf2369e3",
"shasum": ""
},
"require": {
"ext-tokenizer": "*",
"php": ">=5.5"
"php": ">=5.4"
},
"require-dev": {
"phpunit/phpunit": "~4.0|~5.0"
"phpunit/phpunit": "~4.0"
},
"bin": [
"bin/php-parse"
......@@ -767,7 +832,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
"dev-master": "2.1-dev"
}
},
"autoload": {
......@@ -789,20 +854,20 @@
"parser",
"php"
],
"time": "2016-12-06 11:30:35"
"time": "2016-04-19 13:41:41"
},
{
"name": "paragonie/random_compat",
"version": "v2.0.4",
"version": "v2.0.2",
"source": {
"type": "git",
"url": "https://github.com/paragonie/random_compat.git",
"reference": "a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e"
"reference": "088c04e2f261c33bed6ca5245491cfca69195ccf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e",
"reference": "a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/088c04e2f261c33bed6ca5245491cfca69195ccf",
"reference": "088c04e2f261c33bed6ca5245491cfca69195ccf",
"shasum": ""
},
"require": {
......@@ -837,20 +902,20 @@
"pseudorandom",
"random"
],
"time": "2016-11-07 23:38:38"
"time": "2016-04-03 06:00:07"
},
{
"name": "psr/log",
"version": "1.0.2",
"name": "psr/http-message",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"shasum": ""
},
"require": {
......@@ -864,7 +929,49 @@
},
"autoload": {
"psr-4": {
"Psr\\Log\\": "Psr/Log/"
"Psr\\Http\\Message\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for HTTP messages",
"homepage": "https://github.com/php-fig/http-message",
"keywords": [
"http",
"http-message",
"psr",
"psr-7",
"request",
"response"
],
"time": "2016-08-06 14:39:51"
},
{
"name": "psr/log",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "fe0936ee26643249e916849d48e3a51d5f5e278b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b",
"reference": "fe0936ee26643249e916849d48e3a51d5f5e278b",
"shasum": ""
},
"type": "library",
"autoload": {
"psr-0": {
"Psr\\Log\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
......@@ -878,48 +985,46 @@
}
],
"description": "Common interface for logging libraries",
"homepage": "https://github.com/php-fig/log",
"keywords": [
"log",
"psr",
"psr-3"
],
"time": "2016-10-10 12:19:37"
"time": "2012-12-21 11:40:51"
},
{
"name": "psy/psysh",
"version": "v0.8.0",
"version": "v0.7.2",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
"reference": "4a8860e13aa68a4bbf2476c014f8a1f14f1bf991"
"reference": "e64e10b20f8d229cac76399e1f3edddb57a0f280"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/4a8860e13aa68a4bbf2476c014f8a1f14f1bf991",
"reference": "4a8860e13aa68a4bbf2476c014f8a1f14f1bf991",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/e64e10b20f8d229cac76399e1f3edddb57a0f280",
"reference": "e64e10b20f8d229cac76399e1f3edddb57a0f280",
"shasum": ""
},
"require": {
"dnoegel/php-xdg-base-dir": "0.1",
"jakub-onderka/php-console-highlighter": "0.3.*",
"nikic/php-parser": "~1.3|~2.0|~3.0",
"nikic/php-parser": "^1.2.1|~2.0",
"php": ">=5.3.9",
"symfony/console": "~2.3.10|^2.4.2|~3.0",
"symfony/var-dumper": "~2.7|~3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~1.11",
"hoa/console": "~3.16|~1.14",
"phpunit/phpunit": "~4.4|~5.0",
"fabpot/php-cs-fixer": "~1.5",
"phpunit/phpunit": "~3.7|~4.0|~5.0",
"squizlabs/php_codesniffer": "~2.0",
"symfony/finder": "~2.1|~3.0"
},
"suggest": {
"ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
"ext-pdo-sqlite": "The doc command requires SQLite to work.",
"ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
"ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.",
"hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
"ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history."
},
"bin": [
"bin/psysh"
......@@ -957,20 +1062,20 @@
"interactive",
"shell"
],
"time": "2016-12-07 17:15:07"
"time": "2016-03-09 05:03:14"
},
{
"name": "ramsey/uuid",
"version": "3.5.2",
"version": "3.5.0",
"source": {
"type": "git",
"url": "https://github.com/ramsey/uuid.git",
"reference": "5677cfe02397dd6b58c861870dfaa5d9007d3954"
"reference": "a6d15c8618ea3951fd54d34e326b68d3d0bc0786"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/5677cfe02397dd6b58c861870dfaa5d9007d3954",
"reference": "5677cfe02397dd6b58c861870dfaa5d9007d3954",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/a6d15c8618ea3951fd54d34e326b68d3d0bc0786",
"reference": "a6d15c8618ea3951fd54d34e326b68d3d0bc0786",
"shasum": ""
},
"require": {
......@@ -983,13 +1088,11 @@
"require-dev": {
"apigen/apigen": "^4.1",
"codeception/aspect-mock": "1.0.0",
"doctrine/annotations": "~1.2.0",
"goaop/framework": "1.0.0-alpha.2",
"ircmaxell/random-lib": "^1.1",
"jakub-onderka/php-parallel-lint": "^0.9.0",
"mockery/mockery": "^0.9.4",
"moontoast/math": "^1.1",
"php-mock/php-mock-phpunit": "^0.3|^1.1",
"phpunit/phpunit": "^4.7|>=5.0 <5.4",
"satooshi/php-coveralls": "^0.6.1",
"squizlabs/php_codesniffer": "^2.3"
......@@ -1039,20 +1142,20 @@
"identifier",
"uuid"
],
"time": "2016-11-22 19:21:44"
"time": "2016-08-02 18:39:32"
},
{
"name": "swiftmailer/swiftmailer",
"version": "v5.4.4",
"version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/swiftmailer/swiftmailer.git",
"reference": "545ce9136690cea74f98f86fbb9c92dd9ab1a756"
"reference": "4cc92842069c2bbc1f28daaaf1d2576ec4dfe153"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/545ce9136690cea74f98f86fbb9c92dd9ab1a756",
"reference": "545ce9136690cea74f98f86fbb9c92dd9ab1a756",
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/4cc92842069c2bbc1f28daaaf1d2576ec4dfe153",
"reference": "4cc92842069c2bbc1f28daaaf1d2576ec4dfe153",
"shasum": ""
},
"require": {
......@@ -1092,25 +1195,24 @@
"mail",
"mailer"
],
"time": "2016-11-24 01:01:23"
"time": "2016-07-08 11:51:25"
},
{
"name": "symfony/console",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "221a60fb2f369a065eea1ed96b61183219fdfa6e"
"reference": "8ea494c34f0f772c3954b5fbe00bffc5a435e563"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/221a60fb2f369a065eea1ed96b61183219fdfa6e",
"reference": "221a60fb2f369a065eea1ed96b61183219fdfa6e",
"url": "https://api.github.com/repos/symfony/console/zipball/8ea494c34f0f772c3954b5fbe00bffc5a435e563",
"reference": "8ea494c34f0f772c3954b5fbe00bffc5a435e563",
"shasum": ""
},
"require": {
"php": ">=5.5.9",
"symfony/debug": "~2.8|~3.0",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
......@@ -1153,20 +1255,20 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2016-12-08 14:58:14"
"time": "2016-08-19 06:48:39"
},
{
"name": "symfony/debug",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
"reference": "c058661c32f5b462722e36d120905940089cbd9a"
"reference": "34f6ac18c2974ca5fce68adf419ee7d15def6f11"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/c058661c32f5b462722e36d120905940089cbd9a",
"reference": "c058661c32f5b462722e36d120905940089cbd9a",
"url": "https://api.github.com/repos/symfony/debug/zipball/34f6ac18c2974ca5fce68adf419ee7d15def6f11",
"reference": "34f6ac18c2974ca5fce68adf419ee7d15def6f11",
"shasum": ""
},
"require": {
......@@ -1210,20 +1312,20 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
"time": "2016-11-15 12:55:20"
"time": "2016-08-23 13:39:15"
},
{
"name": "symfony/event-dispatcher",
"version": "v3.2.1",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "e8f47a327c2f0fd5aa04fa60af2b693006ed7283"
"reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e8f47a327c2f0fd5aa04fa60af2b693006ed7283",
"reference": "e8f47a327c2f0fd5aa04fa60af2b693006ed7283",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c0c00c80b3a69132c4e55c3e7db32b4a387615e5",
"reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5",
"shasum": ""
},
"require": {
......@@ -1243,7 +1345,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.2-dev"
"dev-master": "3.1-dev"
}
},
"autoload": {
......@@ -1270,20 +1372,20 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"time": "2016-10-13 06:29:04"
"time": "2016-07-19 10:45:57"
},
{
"name": "symfony/finder",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "74dcd370c8d057882575e535616fde935e411b19"
"reference": "e568ef1784f447a0e54dcb6f6de30b9747b0f577"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/74dcd370c8d057882575e535616fde935e411b19",
"reference": "74dcd370c8d057882575e535616fde935e411b19",
"url": "https://api.github.com/repos/symfony/finder/zipball/e568ef1784f447a0e54dcb6f6de30b9747b0f577",
"reference": "e568ef1784f447a0e54dcb6f6de30b9747b0f577",
"shasum": ""
},
"require": {
......@@ -1319,20 +1421,20 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"time": "2016-12-13 09:38:21"
"time": "2016-08-26 12:04:02"
},
{
"name": "symfony/http-foundation",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "88a1d3cee2dbd06f7103ff63938743b903b65a92"
"reference": "63592e00fd90632b57ee50220a1ddb29b6bf3bb4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/88a1d3cee2dbd06f7103ff63938743b903b65a92",
"reference": "88a1d3cee2dbd06f7103ff63938743b903b65a92",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/63592e00fd90632b57ee50220a1ddb29b6bf3bb4",
"reference": "63592e00fd90632b57ee50220a1ddb29b6bf3bb4",
"shasum": ""
},
"require": {
......@@ -1372,20 +1474,20 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
"time": "2016-11-27 04:21:07"
"time": "2016-08-22 12:11:19"
},
{
"name": "symfony/http-kernel",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "d7a4671a6f8e4174127770263dcd95bee5713f76"
"reference": "aeda215d6b01f119508c090d2a09ebb5b0bc61f3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/d7a4671a6f8e4174127770263dcd95bee5713f76",
"reference": "d7a4671a6f8e4174127770263dcd95bee5713f76",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/aeda215d6b01f119508c090d2a09ebb5b0bc61f3",
"reference": "aeda215d6b01f119508c090d2a09ebb5b0bc61f3",
"shasum": ""
},
"require": {
......@@ -1393,7 +1495,7 @@
"psr/log": "~1.0",
"symfony/debug": "~2.8|~3.0",
"symfony/event-dispatcher": "~2.8|~3.0",
"symfony/http-foundation": "~2.8.13|~3.1.6|~3.2"
"symfony/http-foundation": "~2.8.8|~3.0.8|~3.1.2|~3.2"
},
"conflict": {
"symfony/config": "<2.8"
......@@ -1454,20 +1556,20 @@
],
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
"time": "2016-12-13 12:52:10"
"time": "2016-09-03 15:28:24"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.3.0",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "e79d363049d1c2128f133a2667e4f4190904f7f4"
"reference": "dff51f72b0706335131b00a7f49606168c582594"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4",
"reference": "e79d363049d1c2128f133a2667e4f4190904f7f4",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594",
"reference": "dff51f72b0706335131b00a7f49606168c582594",
"shasum": ""
},
"require": {
......@@ -1479,7 +1581,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
"dev-master": "1.2-dev"
}
},
"autoload": {
......@@ -1513,20 +1615,20 @@
"portable",
"shim"
],
"time": "2016-11-14 01:06:16"
"time": "2016-05-18 14:26:46"
},
{
"name": "symfony/polyfill-php56",
"version": "v1.3.0",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php56.git",
"reference": "1dd42b9b89556f18092f3d1ada22cb05ac85383c"
"reference": "3edf57a8fbf9a927533344cef65ad7e1cf31030a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/1dd42b9b89556f18092f3d1ada22cb05ac85383c",
"reference": "1dd42b9b89556f18092f3d1ada22cb05ac85383c",
"url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/3edf57a8fbf9a927533344cef65ad7e1cf31030a",
"reference": "3edf57a8fbf9a927533344cef65ad7e1cf31030a",
"shasum": ""
},
"require": {
......@@ -1536,7 +1638,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
"dev-master": "1.2-dev"
}
},
"autoload": {
......@@ -1569,20 +1671,20 @@
"portable",
"shim"
],
"time": "2016-11-14 01:06:16"
"time": "2016-05-18 14:26:46"
},
{
"name": "symfony/polyfill-util",
"version": "v1.3.0",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-util.git",
"reference": "746bce0fca664ac0a575e465f65c6643faddf7fb"
"reference": "ef830ce3d218e622b221d6bfad42c751d974bf99"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-util/zipball/746bce0fca664ac0a575e465f65c6643faddf7fb",
"reference": "746bce0fca664ac0a575e465f65c6643faddf7fb",
"url": "https://api.github.com/repos/symfony/polyfill-util/zipball/ef830ce3d218e622b221d6bfad42c751d974bf99",
"reference": "ef830ce3d218e622b221d6bfad42c751d974bf99",
"shasum": ""
},
"require": {
......@@ -1591,7 +1693,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
"dev-master": "1.2-dev"
}
},
"autoload": {
......@@ -1621,20 +1723,20 @@
"polyfill",
"shim"
],
"time": "2016-11-14 01:06:16"
"time": "2016-05-18 14:26:46"
},
{
"name": "symfony/process",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "d23427a7f97a373129f61bc3b876fe4c66e2b3c7"
"reference": "e64e93041c80e77197ace5ab9385dedb5a143697"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/d23427a7f97a373129f61bc3b876fe4c66e2b3c7",
"reference": "d23427a7f97a373129f61bc3b876fe4c66e2b3c7",
"url": "https://api.github.com/repos/symfony/process/zipball/e64e93041c80e77197ace5ab9385dedb5a143697",
"reference": "e64e93041c80e77197ace5ab9385dedb5a143697",
"shasum": ""
},
"require": {
......@@ -1670,20 +1772,20 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
"time": "2016-11-24 01:08:05"
"time": "2016-08-16 14:58:24"
},
{
"name": "symfony/routing",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "4beb3dceb14cf2dd63dd222d1825ca981a2952cb"
"reference": "8edf62498a1a4c57ba317664a4b698339c10cdf6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/4beb3dceb14cf2dd63dd222d1825ca981a2952cb",
"reference": "4beb3dceb14cf2dd63dd222d1825ca981a2952cb",
"url": "https://api.github.com/repos/symfony/routing/zipball/8edf62498a1a4c57ba317664a4b698339c10cdf6",
"reference": "8edf62498a1a4c57ba317664a4b698339c10cdf6",
"shasum": ""
},
"require": {
......@@ -1745,20 +1847,20 @@
"uri",
"url"
],
"time": "2016-11-25 12:27:14"
"time": "2016-08-16 14:58:24"
},
{
"name": "symfony/translation",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "2f4b6114b75c506dd1ee7eb485b35facbcb2d873"
"reference": "a35edc277513c9bc0f063ca174c36b346f974528"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/2f4b6114b75c506dd1ee7eb485b35facbcb2d873",
"reference": "2f4b6114b75c506dd1ee7eb485b35facbcb2d873",
"url": "https://api.github.com/repos/symfony/translation/zipball/a35edc277513c9bc0f063ca174c36b346f974528",
"reference": "a35edc277513c9bc0f063ca174c36b346f974528",
"shasum": ""
},
"require": {
......@@ -1809,20 +1911,20 @@
],
"description": "Symfony Translation Component",
"homepage": "https://symfony.com",
"time": "2016-11-18 21:15:08"
"time": "2016-08-05 08:37:39"
},
{
"name": "symfony/var-dumper",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "5ccbd23a97035886e595ce497dbe94bc88ac0b57"
"reference": "62ee73706c421654a4c840028954510277f7dfc8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/5ccbd23a97035886e595ce497dbe94bc88ac0b57",
"reference": "5ccbd23a97035886e595ce497dbe94bc88ac0b57",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/62ee73706c421654a4c840028954510277f7dfc8",
"reference": "62ee73706c421654a4c840028954510277f7dfc8",
"shasum": ""
},
"require": {
......@@ -1872,7 +1974,7 @@
"debug",
"dump"
],
"time": "2016-12-08 14:58:14"
"time": "2016-08-31 09:05:42"
},
{
"name": "vlucas/phpdotenv",
......@@ -2075,16 +2177,16 @@
},
{
"name": "mockery/mockery",
"version": "0.9.6",
"version": "0.9.5",
"source": {
"type": "git",
"url": "https://github.com/padraic/mockery.git",
"reference": "65d4ca18e15cb02eeb1e5336f884e46b9b905be0"
"reference": "4db079511a283e5aba1b3c2fb19037c645e70fc2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/padraic/mockery/zipball/65d4ca18e15cb02eeb1e5336f884e46b9b905be0",
"reference": "65d4ca18e15cb02eeb1e5336f884e46b9b905be0",
"url": "https://api.github.com/repos/padraic/mockery/zipball/4db079511a283e5aba1b3c2fb19037c645e70fc2",
"reference": "4db079511a283e5aba1b3c2fb19037c645e70fc2",
"shasum": ""
},
"require": {
......@@ -2136,20 +2238,20 @@
"test double",
"testing"
],
"time": "2016-09-30 12:09:40"
"time": "2016-05-22 21:52:33"
},
{
"name": "myclabs/deep-copy",
"version": "1.5.5",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108"
"reference": "a8773992b362b58498eed24bf85005f363c34771"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/399c1f9781e222f6eb6cc238796f5200d1b7f108",
"reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/a8773992b362b58498eed24bf85005f363c34771",
"reference": "a8773992b362b58498eed24bf85005f363c34771",
"shasum": ""
},
"require": {
......@@ -2178,7 +2280,7 @@
"object",
"object graph"
],
"time": "2016-10-31 17:19:45"
"time": "2015-11-20 12:04:31"
},
{
"name": "phpdocumentor/reflection-common",
......@@ -2236,16 +2338,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "3.1.1",
"version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
"reference": "9270140b940ff02e58ec577c237274e92cd40cdd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd",
"reference": "9270140b940ff02e58ec577c237274e92cd40cdd",
"shasum": ""
},
"require": {
......@@ -2277,20 +2379,20 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2016-09-30 07:12:33"
"time": "2016-06-10 09:48:41"
},
{
"name": "phpdocumentor/type-resolver",
"version": "0.2.1",
"version": "0.2",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
"reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443",
"reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443",
"shasum": ""
},
"require": {
......@@ -2324,20 +2426,20 @@
"email": "me@mikevanriel.com"
}
],
"time": "2016-11-25 06:54:22"
"time": "2016-06-10 07:14:17"
},
{
"name": "phpspec/prophecy",
"version": "v1.6.2",
"version": "v1.6.1",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "6c52c2722f8460122f96f86346600e1077ce22cb"
"reference": "58a8137754bc24b25740d4281399a4a3596058e0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/6c52c2722f8460122f96f86346600e1077ce22cb",
"reference": "6c52c2722f8460122f96f86346600e1077ce22cb",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/58a8137754bc24b25740d4281399a4a3596058e0",
"reference": "58a8137754bc24b25740d4281399a4a3596058e0",
"shasum": ""
},
"require": {
......@@ -2345,11 +2447,10 @@
"php": "^5.3|^7.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
"sebastian/comparator": "^1.1",
"sebastian/recursion-context": "^1.0|^2.0"
"sebastian/recursion-context": "^1.0"
},
"require-dev": {
"phpspec/phpspec": "^2.0",
"phpunit/phpunit": "^4.8 || ^5.6.5"
"phpspec/phpspec": "^2.0"
},
"type": "library",
"extra": {
......@@ -2387,20 +2488,20 @@
"spy",
"stub"
],
"time": "2016-11-21 14:58:47"
"time": "2016-06-07 08:13:47"
},
{
"name": "phpunit/php-code-coverage",
"version": "4.0.4",
"version": "4.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "c14196e64a78570034afd0b7a9f3757ba71c2a0a"
"reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c14196e64a78570034afd0b7a9f3757ba71c2a0a",
"reference": "c14196e64a78570034afd0b7a9f3757ba71c2a0a",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5f3f7e736d6319d5f1fc402aff8b026da26709a3",
"reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3",
"shasum": ""
},
"require": {
......@@ -2450,20 +2551,20 @@
"testing",
"xunit"
],
"time": "2016-12-20 15:22:42"
"time": "2016-07-26 14:39:29"
},
{
"name": "phpunit/php-file-iterator",
"version": "1.4.2",
"version": "1.4.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
"reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
"reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
"reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
"reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
"shasum": ""
},
"require": {
......@@ -2497,7 +2598,7 @@
"filesystem",
"iterator"
],
"time": "2016-10-03 07:40:28"
"time": "2015-06-21 13:08:43"
},
{
"name": "phpunit/php-text-template",
......@@ -2586,16 +2687,16 @@
},
{
"name": "phpunit/php-token-stream",
"version": "1.4.9",
"version": "1.4.8",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
"reference": "3b402f65a4cc90abf6e1104e388b896ce209631b"
"reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3b402f65a4cc90abf6e1104e388b896ce209631b",
"reference": "3b402f65a4cc90abf6e1104e388b896ce209631b",
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
"reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
"shasum": ""
},
"require": {
......@@ -2631,42 +2732,42 @@
"keywords": [
"tokenizer"
],
"time": "2016-11-15 14:06:22"
"time": "2015-09-15 10:49:45"
},
{
"name": "phpunit/phpunit",
"version": "5.7.4",
"version": "5.5.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "af91da3f2671006ff5d0628023de3b7ac4d1ef09"
"reference": "3e6e88e56c912133de6e99b87728cca7ed70c5f5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/af91da3f2671006ff5d0628023de3b7ac4d1ef09",
"reference": "af91da3f2671006ff5d0628023de3b7ac4d1ef09",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3e6e88e56c912133de6e99b87728cca7ed70c5f5",
"reference": "3e6e88e56c912133de6e99b87728cca7ed70c5f5",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-xml": "*",
"ext-pcre": "*",
"ext-reflection": "*",
"ext-spl": "*",
"myclabs/deep-copy": "~1.3",
"php": "^5.6 || ^7.0",
"phpspec/prophecy": "^1.6.2",
"phpunit/php-code-coverage": "^4.0.3",
"phpspec/prophecy": "^1.3.1",
"phpunit/php-code-coverage": "^4.0.1",
"phpunit/php-file-iterator": "~1.4",
"phpunit/php-text-template": "~1.2",
"phpunit/php-timer": "^1.0.6",
"phpunit/phpunit-mock-objects": "^3.2",
"sebastian/comparator": "~1.2.2",
"sebastian/comparator": "~1.1",
"sebastian/diff": "~1.2",
"sebastian/environment": "^1.3.4 || ^2.0",
"sebastian/exporter": "~2.0",
"sebastian/global-state": "^1.0 || ^2.0",
"sebastian/object-enumerator": "~2.0",
"sebastian/environment": "^1.3 || ^2.0",
"sebastian/exporter": "~1.2",
"sebastian/global-state": "~1.0",
"sebastian/object-enumerator": "~1.0",
"sebastian/resource-operations": "~1.0",
"sebastian/version": "~1.0|~2.0",
"symfony/yaml": "~2.1|~3.0"
......@@ -2674,11 +2775,7 @@
"conflict": {
"phpdocumentor/reflection-docblock": "3.0.2"
},
"require-dev": {
"ext-pdo": "*"
},
"suggest": {
"ext-xdebug": "*",
"phpunit/php-invoker": "~1.1"
},
"bin": [
......@@ -2687,7 +2784,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "5.7.x-dev"
"dev-master": "5.5.x-dev"
}
},
"autoload": {
......@@ -2713,27 +2810,27 @@
"testing",
"xunit"
],
"time": "2016-12-13 16:19:44"
"time": "2016-08-26 07:11:44"
},
{
"name": "phpunit/phpunit-mock-objects",
"version": "3.4.3",
"version": "3.2.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
"reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24"
"reference": "46b249b43fd2ed8e127aa0fdb3cbcf56e9bc0e49"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24",
"reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/46b249b43fd2ed8e127aa0fdb3cbcf56e9bc0e49",
"reference": "46b249b43fd2ed8e127aa0fdb3cbcf56e9bc0e49",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.0.2",
"php": "^5.6 || ^7.0",
"phpunit/php-text-template": "^1.2",
"sebastian/exporter": "^1.2 || ^2.0"
"sebastian/exporter": "^1.2"
},
"conflict": {
"phpunit/phpunit": "<5.4.0"
......@@ -2772,7 +2869,7 @@
"mock",
"xunit"
],
"time": "2016-12-08 20:27:08"
"time": "2016-08-26 05:51:59"
},
{
"name": "sebastian/code-unit-reverse-lookup",
......@@ -2821,22 +2918,22 @@
},
{
"name": "sebastian/comparator",
"version": "1.2.2",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f"
"reference": "937efb279bd37a375bcadf584dec0726f84dbf22"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/6a1ed12e8b2409076ab22e3897126211ff8b1f7f",
"reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22",
"reference": "937efb279bd37a375bcadf584dec0726f84dbf22",
"shasum": ""
},
"require": {
"php": ">=5.3.3",
"sebastian/diff": "~1.2",
"sebastian/exporter": "~1.2 || ~2.0"
"sebastian/exporter": "~1.2"
},
"require-dev": {
"phpunit/phpunit": "~4.4"
......@@ -2881,7 +2978,7 @@
"compare",
"equality"
],
"time": "2016-11-19 09:18:40"
"time": "2015-07-26 15:48:44"
},
{
"name": "sebastian/diff",
......@@ -2937,28 +3034,28 @@
},
{
"name": "sebastian/environment",
"version": "2.0.0",
"version": "1.3.8",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
"reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
"reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
"reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
"reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
"shasum": ""
},
"require": {
"php": "^5.6 || ^7.0"
"php": "^5.3.3 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^5.0"
"phpunit/phpunit": "^4.8 || ^5.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "1.3.x-dev"
}
},
"autoload": {
......@@ -2983,25 +3080,25 @@
"environment",
"hhvm"
],
"time": "2016-11-26 07:53:53"
"time": "2016-08-18 05:49:44"
},
{
"name": "sebastian/exporter",
"version": "2.0.0",
"version": "1.2.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
"reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
"reference": "42c4c2eec485ee3e159ec9884f95b431287edde4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
"reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4",
"reference": "42c4c2eec485ee3e159ec9884f95b431287edde4",
"shasum": ""
},
"require": {
"php": ">=5.3.3",
"sebastian/recursion-context": "~2.0"
"sebastian/recursion-context": "~1.0"
},
"require-dev": {
"ext-mbstring": "*",
......@@ -3010,7 +3107,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "1.3.x-dev"
}
},
"autoload": {
......@@ -3050,7 +3147,7 @@
"export",
"exporter"
],
"time": "2016-11-19 08:54:04"
"time": "2016-06-17 09:04:28"
},
{
"name": "sebastian/global-state",
......@@ -3105,21 +3202,21 @@
},
{
"name": "sebastian/object-enumerator",
"version": "2.0.0",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
"reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35"
"reference": "d4ca2fb70344987502567bc50081c03e6192fb26"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35",
"reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35",
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/d4ca2fb70344987502567bc50081c03e6192fb26",
"reference": "d4ca2fb70344987502567bc50081c03e6192fb26",
"shasum": ""
},
"require": {
"php": ">=5.6",
"sebastian/recursion-context": "~2.0"
"sebastian/recursion-context": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "~5"
......@@ -3127,7 +3224,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "1.0.x-dev"
}
},
"autoload": {
......@@ -3147,20 +3244,20 @@
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
"time": "2016-11-19 07:35:10"
"time": "2016-01-28 13:25:10"
},
{
"name": "sebastian/recursion-context",
"version": "2.0.0",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
"reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
"reference": "913401df809e99e4f47b27cdd781f4a258d58791"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
"reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791",
"reference": "913401df809e99e4f47b27cdd781f4a258d58791",
"shasum": ""
},
"require": {
......@@ -3172,7 +3269,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "1.0.x-dev"
}
},
"autoload": {
......@@ -3200,7 +3297,7 @@
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
"time": "2016-11-19 07:33:16"
"time": "2015-11-11 19:50:13"
},
{
"name": "sebastian/resource-operations",
......@@ -3246,16 +3343,16 @@
},
{
"name": "sebastian/version",
"version": "2.0.1",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/version.git",
"reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
"reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
"reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
"url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5",
"reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5",
"shasum": ""
},
"require": {
......@@ -3285,20 +3382,20 @@
],
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
"homepage": "https://github.com/sebastianbergmann/version",
"time": "2016-10-03 07:35:21"
"time": "2016-02-04 12:56:52"
},
{
"name": "symfony/css-selector",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
"reference": "a37b3359566415a91cba55a2d95820b3fa1a9658"
"reference": "2851e1932d77ce727776154d659b232d061e816a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/a37b3359566415a91cba55a2d95820b3fa1a9658",
"reference": "a37b3359566415a91cba55a2d95820b3fa1a9658",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/2851e1932d77ce727776154d659b232d061e816a",
"reference": "2851e1932d77ce727776154d659b232d061e816a",
"shasum": ""
},
"require": {
......@@ -3338,20 +3435,20 @@
],
"description": "Symfony CssSelector Component",
"homepage": "https://symfony.com",
"time": "2016-11-03 08:04:31"
"time": "2016-06-29 05:41:56"
},
{
"name": "symfony/dom-crawler",
"version": "v3.1.8",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
"reference": "51e979357eba65b1e6aac7cba75cf5aa6379b8f3"
"reference": "bb7395e8b1db3654de82b9f35d019958276de4d7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dom-crawler/zipball/51e979357eba65b1e6aac7cba75cf5aa6379b8f3",
"reference": "51e979357eba65b1e6aac7cba75cf5aa6379b8f3",
"url": "https://api.github.com/repos/symfony/dom-crawler/zipball/bb7395e8b1db3654de82b9f35d019958276de4d7",
"reference": "bb7395e8b1db3654de82b9f35d019958276de4d7",
"shasum": ""
},
"require": {
......@@ -3394,35 +3491,29 @@
],
"description": "Symfony DomCrawler Component",
"homepage": "https://symfony.com",
"time": "2016-12-10 14:24:45"
"time": "2016-08-05 08:37:39"
},
{
"name": "symfony/yaml",
"version": "v3.2.1",
"version": "v3.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "a7095af4b97a0955f85c8989106c249fa649011f"
"reference": "f291ed25eb1435bddbe8a96caaef16469c2a092d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/a7095af4b97a0955f85c8989106c249fa649011f",
"reference": "a7095af4b97a0955f85c8989106c249fa649011f",
"url": "https://api.github.com/repos/symfony/yaml/zipball/f291ed25eb1435bddbe8a96caaef16469c2a092d",
"reference": "f291ed25eb1435bddbe8a96caaef16469c2a092d",
"shasum": ""
},
"require": {
"php": ">=5.5.9"
},
"require-dev": {
"symfony/console": "~2.8|~3.0"
},
"suggest": {
"symfony/console": "For validating YAML files using the lint command"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.2-dev"
"dev-master": "3.1-dev"
}
},
"autoload": {
......@@ -3449,24 +3540,24 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2016-12-10 10:07:06"
"time": "2016-09-02 02:12:52"
},
{
"name": "webmozart/assert",
"version": "1.2.0",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
"reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
"reference": "bb2d123231c095735130cc8f6d31385a44c7b308"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
"reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
"url": "https://api.github.com/repos/webmozart/assert/zipball/bb2d123231c095735130cc8f6d31385a44c7b308",
"reference": "bb2d123231c095735130cc8f6d31385a44c7b308",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0"
"php": "^5.3.3|^7.0"
},
"require-dev": {
"phpunit/phpunit": "^4.6",
......@@ -3475,7 +3566,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
"dev-master": "1.2-dev"
}
},
"autoload": {
......@@ -3499,7 +3590,7 @@
"check",
"validate"
],
"time": "2016-11-23 20:04:58"
"time": "2016-08-09 15:02:57"
}
],
"aliases": [],
......
......@@ -12,7 +12,7 @@ return [
| any other location as required by the application or its packages.
*/
'name' => 'Laravel',
'name' => 'Booking Driver IS',
/*
|--------------------------------------------------------------------------
......@@ -173,11 +173,12 @@ return [
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\AuthServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
Collective\Html\HtmlServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,
],
......@@ -198,7 +199,6 @@ return [
'Artisan' => Illuminate\Support\Facades\Artisan::class,
'Auth' => Illuminate\Support\Facades\Auth::class,
'Blade' => Illuminate\Support\Facades\Blade::class,
'Bus' => Illuminate\Support\Facades\Bus::class,
'Cache' => Illuminate\Support\Facades\Cache::class,
'Config' => Illuminate\Support\Facades\Config::class,
'Cookie' => Illuminate\Support\Facades\Cookie::class,
......@@ -226,8 +226,7 @@ return [
'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'Image' => Intervention\Image\Facades\Image::class,
],
......
......@@ -81,6 +81,10 @@ return [
| Resetting Passwords
|--------------------------------------------------------------------------
|
| Here you may set the options for resetting passwords including the view
| that is your password reset e-mail. You may also set the name of the
| table that maintains all of the reset tokens for your application.
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
......
......@@ -52,11 +52,11 @@ return [
'memcached' => [
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
'options' => [
'options' => [
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
],
'servers' => [
......
......@@ -62,7 +62,7 @@ return [
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => true,
'strict' => false,
'engine' => null,
],
......
......@@ -161,7 +161,7 @@ return [
|
*/
'secure' => env('SESSION_SECURE_COOKIE', false),
'secure' => false,
/*
|--------------------------------------------------------------------------
......
......@@ -11,13 +11,14 @@
|
*/
/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(App\User::class, function (Faker\Generator $faker) {
static $password;
return [
'name' => $faker->name,
'email' => $faker->unique()->safeEmail,
'email' => $faker->safeEmail,
'password' => $password ?: $password = bcrypt('secret'),
'remember_token' => str_random(10),
];
});
});
\ No newline at end of file
......@@ -11,6 +11,6 @@ class DatabaseSeeder extends Seeder
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
// $this->call(UsersTableSeeder::class);
}
}
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
require('laravel-elixir-vue');
/*
|--------------------------------------------------------------------------
......
......@@ -9,10 +9,10 @@
"gulp": "^3.9.1",
"jquery": "^3.1.0",
"laravel-elixir": "^6.0.0-9",
"laravel-elixir-vue-2": "^0.2.0",
"laravel-elixir-vue": "^0.1.4",
"laravel-elixir-webpack-official": "^1.0.2",
"lodash": "^4.16.2",
"vue": "^2.0.1",
"vue-resource": "^1.0.3"
"lodash": "^4.14.0",
"vue": "^1.0.26",
"vue-resource": "^0.9.3"
}
}
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 09 Jan 2017 pada 13.00
-- Versi Server: 10.1.10-MariaDB
-- PHP Version: 7.0.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `taman`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `barang`
--
CREATE TABLE `barang` (
`id` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
`type` varchar(100) NOT NULL,
`quantity` varchar(100) NOT NULL,
`deskripsi` text NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `barang`
--
INSERT INTO `barang` (`id`, `name`, `type`, `quantity`, `deskripsi`, `created_at`, `updated_at`) VALUES
(32, 'Kursi bundar', 'Kayu', '20', 'Tinggi 80cm. Terbuat dari kayu jati', NULL, NULL),
(33, 'Vas Bunga', 'Keramik', '20', 'Berukuran 45cm. Tidak bermotif', NULL, NULL),
(34, 'Sendok', 'Sendok Aluminium', '300 buah', 'Berukuran 25 cm. \r\n ', '2017-01-03 07:36:54', '2017-01-03 08:16:33'),
(35, 'Garpu', 'Garpu aluminium', '300 buah', 'Berpasangan dengan sendok\r\n ', '2017-01-03 07:42:57', '2017-01-03 07:42:57'),
(36, 'Vassy', 'Vas Bunga', '20 buah', ' Berwarna cokelat polos\r\n ', '2017-01-03 07:44:30', '2017-01-03 07:44:30'),
(37, 'Choco Chair', 'Kursi kayu', '20 buah', ' Terbuat dari kayu jati\r\n ', '2017-01-03 07:45:55', '2017-01-03 07:45:55'),
(38, 'Tabel Boo', 'Meja Kayu', '20 buah', 'Terbuat dari kayu jati ', '2017-01-03 07:47:09', '2017-01-03 07:47:09'),
(39, 'Washy', 'Wastafel', '3 buah', ' Terbuat dari keramik\r\n ', '2017-01-03 07:48:38', '2017-01-03 07:48:38'),
(40, 'Cosmos', 'Rice Cooker', '3', ' Menghasilkan beras yang empuk dan tidak berbau.\r\n ', '2017-01-03 07:49:55', '2017-01-03 07:49:55'),
(41, 'Kulkas LG', 'Kulkas', '3 buah', 'Terdiri dari 3 pintu dengan tinggi 180 cm \r\n ', '2017-01-03 08:13:55', '2017-01-03 08:13:55');
-- --------------------------------------------------------
--
-- Struktur dari tabel `customer_data`
--
CREATE TABLE `customer_data` (
`id` int(10) NOT NULL,
`username` varchar(50) NOT NULL,
`first_name` varchar(50) NOT NULL,
`last_name` varchar(50) NOT NULL,
`balance` int(20) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `customer_data`
--
INSERT INTO `customer_data` (`id`, `username`, `first_name`, `last_name`, `balance`, `created_at`, `updated_at`) VALUES
(18, 'ester', 'Ester', 'Marbun', 19500, '2017-01-05 18:14:26', '2017-01-06 00:43:05'),
(19, 'eko', 'Eko', 'Simanjuntak', 30000, '2017-01-05 18:14:44', '2017-01-05 18:34:06'),
(20, 'amendo', 'Amendo', 'Sitinjak', 30000, '2017-01-05 18:14:59', '2017-01-05 18:33:48'),
(21, 'anastasya', 'Anastasya', 'Manullang', 30000, '2017-01-05 18:15:20', '2017-01-05 18:33:37'),
(22, 'anggiat', 'Anggiat', 'Tambunan', 30000, '2017-01-05 18:15:35', '2017-01-05 18:33:29'),
(23, 'arren', 'Arren', 'Situngkir', 30000, '2017-01-05 18:15:50', '2017-01-05 18:33:20'),
(24, 'chika', 'Chika', 'Hutapea', 30000, '2017-01-05 18:16:27', '2017-01-05 18:33:03'),
(25, 'edward', 'Edward', 'Simarmata', 30000, '2017-01-05 18:17:41', '2017-01-05 18:32:44'),
(26, 'gideon', 'Gideon', 'Panjaitan', 30000, '2017-01-05 18:18:45', '2017-01-05 18:32:36'),
(27, 'greace', 'Greace', 'Situmorang', 30000, '2017-01-05 18:20:39', '2017-01-05 18:32:27'),
(28, 'irene', 'Irene', 'Panjaitan', 30000, '2017-01-05 18:21:22', '2017-01-05 18:32:13'),
(29, 'jhon', 'Jhon', 'Tampubolon', 30000, '2017-01-05 18:22:04', '2017-01-05 18:32:05'),
(30, 'joel', 'Joel', 'Marpaung', 102500, '2017-01-05 18:22:15', '2017-01-08 23:59:26'),
(31, 'johan', 'Johan', 'Lumbanbatu', 30000, '2017-01-05 18:23:08', '2017-01-05 18:31:44'),
(32, 'juliper', 'Juliper', 'Simanjuntak', 30000, '2017-01-05 18:23:24', '2017-01-05 18:31:34'),
(33, 'lestari', 'Lestari', 'Siregar', 30000, '2017-01-05 18:23:40', '2017-01-05 18:31:09'),
(34, 'lily', 'Lily', 'Naibaho', 30000, '2017-01-05 18:23:54', '2017-01-05 18:31:01'),
(35, 'martupa', 'Martupa', 'Lumbantoruan', 30000, '2017-01-05 18:24:09', '2017-01-05 18:30:34'),
(36, 'palti', 'Palti', 'Sinaga', 30000, '2017-01-05 18:24:21', '2017-01-05 18:30:10'),
(37, 'patota', 'Patota', 'Siahaan', 30000, '2017-01-05 18:24:34', '2017-01-05 18:30:01'),
(38, 'pratiwi', 'Pratiwi', 'Manik', 30000, '2017-01-05 18:24:47', '2017-01-05 18:29:53'),
(39, 'rahel', 'Rahel', 'Purba', 30000, '2017-01-05 18:24:59', '2017-01-05 18:29:33'),
(40, 'rizky', 'Rizky', 'Manurung', 30000, '2017-01-05 18:25:11', '2017-01-05 18:29:21'),
(41, 'winda', 'Winda', 'Sianipar', 30000, '2017-01-05 18:25:34', '2017-01-05 18:29:02'),
(42, 'yessica', 'Yessica', 'Sitorus', 30000, '2017-01-05 18:25:51', '2017-01-05 18:28:52'),
(43, 'yolanda', 'Yolanda', 'Hutajulu', 30000, '2017-01-05 18:26:06', '2017-01-05 18:28:41'),
(44, 'yonatan', 'Yonatan', 'Parapat', 30000, '2017-01-05 18:26:22', '2017-01-05 18:28:26'),
(45, 'hans', 'Hans', 'Purba', 30000, '2017-01-05 18:26:33', '2017-01-05 18:28:12'),
(46, 'jhoncha', 'Jhon', 'Sipahutar', 30000, '2017-01-05 18:27:09', '2017-01-05 18:28:04'),
(47, 'rinto', 'Rinto', 'Tambunan', 65000, '2017-01-05 18:27:24', '2017-01-08 23:54:22'),
(49, 'christine', 'christine', 'christine', 0, '2017-01-09 05:55:52', '2017-01-09 05:55:52');
-- --------------------------------------------------------
--
-- Struktur dari tabel `dapur`
--
CREATE TABLE `dapur` (
`id` int(10) NOT NULL,
`name` varchar(100) NOT NULL,
`type` varchar(100) NOT NULL,
`quantity` varchar(100) NOT NULL,
`deskripsi` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `dapur`
--
INSERT INTO `dapur` (`id`, `name`, `type`, `quantity`, `deskripsi`, `created_at`, `updated_at`) VALUES
(7, 'Wortel', 'Sayur', '3 kg', 'Berwarna jingga cerah\r\n ', '2017-01-03 07:51:57', '2017-01-03 07:51:57'),
(8, 'Tepung terigu', 'Tepung', '10 kg', 'Lembut dan menjadikan masakan lebih enak \r\n ', '2017-01-03 07:53:34', '2017-01-03 07:53:34'),
(9, 'Jeruk', 'Buah', '3 kg', 'Jeruk sunkist \r\n ', '2017-01-03 07:54:43', '2017-01-03 07:54:43'),
(10, 'Choco chips', 'Cemilan', '1 kg', 'Berbentuk butir-butir \r\n ', '2017-01-03 07:56:51', '2017-01-03 07:56:51'),
(11, 'Aspartam', 'Gula', '20 kg', 'Berbentuk kristal dan rasa manis yang tinggi. \r\n ', '2017-01-03 07:58:43', '2017-01-03 07:58:43'),
(12, 'Garam Laut', 'Garam', '10 kg', 'Putih bersih berbentuk kristal \r\n ', '2017-01-03 08:00:07', '2017-01-03 08:00:07'),
(13, 'Ladaku', 'Lada', '800 gr', 'Rasa spicy dan wangi \r\n ', '2017-01-03 08:01:47', '2017-01-03 08:01:47'),
(14, 'Mericaaca', 'Merica', '800 gr', 'Wangi dan sedikit manis\r\n ', '2017-01-03 08:03:59', '2017-01-03 08:03:59'),
(15, 'Kopi Robusta', 'Kopi', '3 kg', 'Wangi dan tahan lama \r\n ', '2017-01-03 08:05:19', '2017-01-03 08:05:19'),
(16, 'Susu kental manis', 'Susu', '3 kaleng', 'Manis dan kaya kalsium \r\n ', '2017-01-03 08:06:47', '2017-01-03 08:06:47'),
(17, 'Udang', 'Ikan laut', '3 kg', 'Diambil dari Bikini Buttom \r\n ', '2017-01-03 08:08:43', '2017-01-03 08:08:43'),
(18, 'Daging sapi segar', 'Daging', '20 kg', 'Diambil dari sapi kuat dan perkasa \r\n \r\n ', '2017-01-06 03:11:27', '2017-01-05 20:11:27');
-- --------------------------------------------------------
--
-- Struktur dari tabel `feedback`
--
CREATE TABLE `feedback` (
`id` int(10) NOT NULL,
`customer` varchar(100) NOT NULL,
`subjek` varchar(100) NOT NULL,
`kriteria` varchar(100) NOT NULL,
`deskripsi` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `feedback`
--
INSERT INTO `feedback` (`id`, `customer`, `subjek`, `kriteria`, `deskripsi`, `created_at`, `updated_at`) VALUES
(7, 'rinto', 'Pelayanan', 'Pujian', 'Menu makanan di tempat ini sangat beragam dan sangat enak, terlebih lagi makanan nya steril dan sehat', '2017-01-05 19:10:55', '2017-01-05 19:10:55'),
(8, 'ester', 'Website', 'Pujian', 'Sistem informasi ini sangat bermanfaat dikarenakan saya tak lagi repot untuk memesan makanan yang akan saya pesan dan tidak akan membutuhkan waktu yang lama untuk melakukan pemesanan.', '2017-01-05 19:14:22', '2017-01-05 19:14:22'),
(9, 'joel', 'Tempat', 'Kritik', 'Meja yang saya tempati tadi agak berantakan dan kotor, mohon untuk selanjutnya agar lebih di perhatikan, terimakasih. ', '2017-01-05 19:17:41', '2017-01-05 19:17:41'),
(10, 'rinto', 'Menu', 'Pujian', ' Menunya bagus', '2017-01-06 00:38:39', '2017-01-06 00:38:39'),
(11, 'joel', 'Website', 'Pujian', 'Bagus Websitenya ', '2017-01-08 23:39:05', '2017-01-08 23:39:05'),
(12, 'joel', 'Menu', 'Pujian', 'Bagus ', '2017-01-08 23:39:41', '2017-01-08 23:39:41'),
(13, 'joel', 'Menu', 'Pujian', 'coba', '2017-01-08 23:39:53', '2017-01-08 23:39:53'),
(14, 'joel', 'Menu', 'Pujian', 'coba ', '2017-01-08 23:40:08', '2017-01-08 23:40:08');
-- --------------------------------------------------------
--
-- Struktur dari tabel `menu`
--
CREATE TABLE `menu` (
`id` int(10) NOT NULL,
`product_name` varchar(100) NOT NULL,
`product_type` varchar(100) NOT NULL,
`price` int(20) NOT NULL,
`deskripsi` text NOT NULL,
`status` varchar(100) NOT NULL,
`image` varchar(100) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `menu`
--
INSERT INTO `menu` (`id`, `product_name`, `product_type`, `price`, `deskripsi`, `status`, `image`, `created_at`, `updated_at`) VALUES
(14, 'Nasi Goreng', 'Makanan', 15000, 'Nasi goreng makanan yang dibuat dari nasi yang digoreng dengan bumbu dan bahan-bahan lainnya. Nasi goreng adalah makanan populer di Asia Timur dan Asia Tenggara. Nasi adalah sebuah bagian penting dari masakan tradisional Tionghoa, menurut catatan sejarah sudah mulai ada sejak 4000 SM. Nasi goreng kemudian tersebar ke Asia Tenggara dibawa oleh perantau-perantau Tionghoa yang menetap di sana dan menciptakan nasi goreng khas lokal yang didasarkan atas perbedaan bumbu-bumbu dan cara menggoreng. Nasi goreng sebenarnya muncul dari beberapa sifat dalam kebudayaan Tionghoa, yang tidak suka mencicipi makanan dingin dan juga membuang sisa makanan beberapa hari sebelumnya. Makanya, nasi yang dingin itu kemudian digoreng untuk dihidangkan kembali di meja makan.\r\n\r\n \r\n \r\n ', 'Tersedia', '1483665408.png', '2017-01-05 11:05:30', '2017-01-05 11:16:48'),
(15, 'Pecel lele', 'Makanan', 10000, ' \r\n Pecel lele (atau Pecek lele) ini adalah nama sebuah makanan yang terbuat dari ikan lele. Makanan yang dimaksud adalah ikan lele yang digoreng kering dengan minyak dan lalu disajikan dengan sambal tomat dan lalapan. Lalapan biasa terdiri dari kemangi, kubis, ketimun dan kacang panjang. Pecel lele adalah sebuah makanan yang murah dan meriah. Makanan ini sangat digemari di pulau Jawa sebagai alternatif masakan ayam, terutama ayam goreng.\r\n ', 'Tersedia', '1483664899.jpg', '2017-01-05 11:08:19', '2017-01-05 11:08:19'),
(16, 'Nasi Kuning', 'Makanan', 15000, 'Makanan ini terbuat dari beras yang dimasak bersama dengan kunyit serta santan dan rempah-rempah. Dengan ditambahkannya bumbu-bumbu dan santan, nasi kuning memiliki rasa yang lebih gurih daripada nasi putih. Nasi kuning adalah salah satu variasi dari nasi putih yang sering digunakan sebagai tumpeng. Nasi kuning biasa disajikan dengan bermacam lauk-pauk khas Indonesia.\r\n \r\n \r\n ', 'Tersedia', '1483665473.png', '2017-01-05 11:11:29', '2017-01-05 11:17:53'),
(17, 'Gudeg', 'Makanan', 15500, ' \r\nGudeg (bahasa Jawa gudheg) adalah makanan khas Yogyakarta dan Jawa Tengah yang terbuat dari nangka muda yang dimasak dengan santan. Perlu waktu berjam-jam untuk membuat masakan ini. Warna coklat biasanya dihasilkan oleh daun jati yang dimasak bersamaan. Gudeg dimakan dengan nasi dan disajikan dengan kuah santan kental (areh), ayam kampung, telur, tahu dan sambal goreng krecek. ', 'Tersedia', '1483665199.jpg', '2017-01-05 11:13:19', '2017-01-05 11:13:19'),
(18, 'Gado-gado', 'Makanan', 20000, 'Gado-gado ini adalah salah satu makanan yang berasal dari Indonesia yang berupa sayur-sayuran yang direbus dan dicampur jadi satu, dengan bumbu kacang atau saus dari kacang tanah yang dihaluskan disertai irisan telur dan di atasnya ditaburkan bawang goreng. Sedikit emping goreng atau kerupuk (ada juga yang memakai kerupuk udang) juga ditambahkan. Gado-gado dapat dimakan begitu saja seperti salad dengan bumbu/saus kacang, tapi juga dapat dimakan beserta nasi putih atau kadang-kadang juga disajikan dengan lontong.\r\n \r\n \r\n \r\n ', 'Tersedia', '1483665640.png', '2017-01-05 11:20:18', '2017-01-05 11:24:59'),
(19, 'Keripik kentang', 'Snack', 10000, ' Rasa gurih dari kripik kentang membawa makanan ini menjadi makanan gurih yang banyak memiliki idola. Rasanya yang renyah dan enak menjadikan makanan ini masuk dalam jajaran makanan enak di cafe ini. \r\n ', 'Tersedia', '1483665847.png', '2017-01-05 11:24:07', '2017-01-05 11:29:48'),
(20, 'Bakwan', 'Gorengan', 1000, ' Bakwan merupakan makanan yang berisi beraneka sayuran yang dicampur dengan tepung kemudian digoreng. Biasanya makanan ini dijual oleh tukang gorengan, baik yang menggunakan gerobak, amupun di warung-warung. Setiap kota memiliki panggilan yang berbeda untuk makanan ini. seperti di Jawa Barat menamainya dengan bala-bala, di Jakarta menamainya Bakwan, sedangkan di Surabaya menamainya Ote-Ote. Biasanya bahan-bahan sayuran yang digunakan untuk membuat bakwan ini bisa berupa tauge, kubis, dan wortel yang di potong tipis-tipis kemudian dicampurkan.\r\n ', 'Tidak Tersedia', '1483666114.png', '2017-01-05 11:28:34', '2017-01-05 11:30:27'),
(21, 'Lumpia', 'Gorengan', 2000, 'Makanan ini salah satu cemilan yang paling favorit oleh banyak orang karena memiliki rasa yang enak. Makanan ini berasal dari Semarang, Jawa Tengah. Di Semarang kita bisa menemukan cemilan ini di Restoran hingga pedagang kaki lima.', 'Tersedia', '1483666501.png', '2017-01-05 11:35:01', '2017-01-05 11:35:01'),
(22, 'Cireng', 'Gorengan', 3000, 'Cireng merupakan singkatan dari Aci (Kanji) digoreng adalah makanan cemilan yang berasal dari daerah Sunda yang dibuat dengan cara menggoreng campuran adonan yang berbahan utama tepung kanji atau tapioka. Makanan ini sangat popluer di daerah Jawa Barat, bahkan di Bandung makanan ini dijual dalam berbagai bentuk dan variasi rasa. bahan makanan ini antara lain terdiri dari tepung kanji, tepung terigu, air, merica bubuk, garam, bawang putih, keelai, daun bawang dan minyak goreng. ', 'Tidak Tersedia', '1483666950.png', '2017-01-05 11:42:30', '2017-01-05 11:42:30'),
(23, 'Lentho', 'Snack', 3000, ' Makanan ini biasa disajikan sebagai menu pendamping Lontong Balap. Tapi, makanan ini juga bisa dimakan sebagai cemilan juga. Makanan ini terasa lebih enak bila dinikmati dengan sambal petis. \r\n ', 'Tersedia', '1483667458.png', '2017-01-05 11:49:07', '2017-01-05 11:50:58'),
(24, 'Kue Mangkok', 'Snack', 2000, ' Kue ini berbentuk sangat lucu, imut-imut, dan memiliki rasa yang sangat enak. Kue mangkok memiliki rasa manis dan sedikit asam, karena di dalamnya terdapat campuran tapai ketan. Biasanya, di dasar kue mangkok digunakan daun pisang untuk membungkus sekaligus memperindahnya. Kue mangkok juga bisa diberi pewarna agar lebih menarik ketika disajikan.\r\n ', 'Tersedia', '1483667770.png', '2017-01-05 11:56:10', '2017-01-09 05:40:15');
-- --------------------------------------------------------
--
-- Struktur dari tabel `order_product`
--
CREATE TABLE `order_product` (
`id` int(10) NOT NULL,
`product_name` varchar(100) NOT NULL,
`product_type` varchar(50) NOT NULL,
`quantity` int(10) NOT NULL,
`total_price` int(20) NOT NULL,
`table_number` int(10) NOT NULL,
`customer_username` varchar(100) NOT NULL,
`product_id` int(10) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `order_product`
--
INSERT INTO `order_product` (`id`, `product_name`, `product_type`, `quantity`, `total_price`, `table_number`, `customer_username`, `product_id`, `created_at`, `updated_at`) VALUES
(13, 'Kue Mangkok', 'Snack', 2, 4000, 3, 'joel', 24, '2017-01-05 19:21:05', '2017-01-05 19:21:05'),
(14, 'Nasi Kuning', 'Makanan', 1, 15000, 4, 'joel', 16, '2017-01-05 19:21:07', '2017-01-05 19:21:07'),
(15, 'Gudeg', 'Makanan', 3, 46500, 3, 'joel', 17, '2017-01-05 19:21:08', '2017-01-05 19:21:08'),
(16, 'Pecel lele', 'Makanan', 1, 10000, 5, 'joel', 15, '2017-01-05 19:21:09', '2017-01-05 19:21:09'),
(17, 'Lumpia', 'Gorengan', 2, 4000, 6, 'joel', 21, '2017-01-05 19:21:10', '2017-01-05 19:21:10'),
(18, 'Keripik kentang', 'Snack', 1, 10000, 7, 'rinto', 19, '2017-01-06 00:24:45', '2017-01-06 00:24:45'),
(19, 'Kue Mangkok', 'Snack', 3, 6000, 4, 'joel', 24, '2017-01-06 00:42:13', '2017-01-06 00:42:13'),
(20, 'Gudeg', 'Makanan', 1, 15500, 1, 'ester', 17, '2017-01-06 00:43:05', '2017-01-06 00:43:05'),
(21, 'Kue Mangkok', 'Snack', 1, 2000, 1, 'joel', 24, '2017-01-08 23:48:07', '2017-01-08 23:48:07'),
(22, 'Kue Mangkok', 'Snack', 1, 2000, 1, 'joel', 24, '2017-01-08 23:57:26', '2017-01-08 23:57:26');
-- --------------------------------------------------------
--
-- Struktur dari tabel `order_product_temp`
--
CREATE TABLE `order_product_temp` (
`id` int(10) NOT NULL,
`product_name` varchar(100) NOT NULL,
`product_type` varchar(50) NOT NULL,
`quantity` int(10) NOT NULL,
`total_price` int(10) NOT NULL,
`table_number` int(10) NOT NULL,
`customer_username` varchar(100) NOT NULL,
`product_id` int(10) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `topup_history`
--
CREATE TABLE `topup_history` (
`id` int(10) NOT NULL,
`balance` int(20) NOT NULL,
`customer_username` varchar(50) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `topup_history`
--
INSERT INTO `topup_history` (`id`, `balance`, `customer_username`, `created_at`, `updated_at`) VALUES
(18, 30000, 'rinto', '2017-01-05 18:27:55', '2017-01-05 18:27:55'),
(19, 30000, 'jhoncha', '2017-01-05 18:28:04', '2017-01-05 18:28:04'),
(20, 30000, 'hans', '2017-01-05 18:28:12', '2017-01-05 18:28:12'),
(21, 30000, 'yonatan', '2017-01-05 18:28:26', '2017-01-05 18:28:26'),
(22, 30000, 'yolanda', '2017-01-05 18:28:41', '2017-01-05 18:28:41'),
(23, 30000, 'yessica', '2017-01-05 18:28:53', '2017-01-05 18:28:53'),
(24, 30000, 'winda', '2017-01-05 18:29:02', '2017-01-05 18:29:02'),
(25, 30000, 'rizky', '2017-01-05 18:29:21', '2017-01-05 18:29:21'),
(26, 30000, 'rahel', '2017-01-05 18:29:33', '2017-01-05 18:29:33'),
(27, 30000, 'pratiwi', '2017-01-05 18:29:53', '2017-01-05 18:29:53'),
(28, 30000, 'patota', '2017-01-05 18:30:01', '2017-01-05 18:30:01'),
(29, 30000, 'palti', '2017-01-05 18:30:10', '2017-01-05 18:30:10'),
(30, 30000, 'martupa', '2017-01-05 18:30:34', '2017-01-05 18:30:34'),
(31, 30000, 'lily', '2017-01-05 18:31:01', '2017-01-05 18:31:01'),
(32, 30000, 'lestari', '2017-01-05 18:31:09', '2017-01-05 18:31:09'),
(33, 30000, 'juliper', '2017-01-05 18:31:35', '2017-01-05 18:31:35'),
(34, 30000, 'johan', '2017-01-05 18:31:44', '2017-01-05 18:31:44'),
(35, 30000, 'joel', '2017-01-05 18:31:55', '2017-01-05 18:31:55'),
(36, 30000, 'jhon', '2017-01-05 18:32:05', '2017-01-05 18:32:05'),
(37, 30000, 'irene', '2017-01-05 18:32:13', '2017-01-05 18:32:13'),
(38, 30000, 'greace', '2017-01-05 18:32:27', '2017-01-05 18:32:27'),
(39, 30000, 'gideon', '2017-01-05 18:32:36', '2017-01-05 18:32:36'),
(40, 30000, 'edward', '2017-01-05 18:32:45', '2017-01-05 18:32:45'),
(41, 30000, 'chika', '2017-01-05 18:33:03', '2017-01-05 18:33:03'),
(42, 30000, 'arren', '2017-01-05 18:33:20', '2017-01-05 18:33:20'),
(43, 30000, 'anggiat', '2017-01-05 18:33:29', '2017-01-05 18:33:29'),
(44, 30000, 'anastasya', '2017-01-05 18:33:38', '2017-01-05 18:33:38'),
(45, 30000, 'amendo', '2017-01-05 18:33:48', '2017-01-05 18:33:48'),
(46, 30000, 'eko', '2017-01-05 18:34:06', '2017-01-05 18:34:06'),
(47, 30000, 'ester', '2017-01-05 18:34:14', '2017-01-05 18:34:14'),
(48, 100000, 'joel', '2017-01-05 19:19:35', '2017-01-05 19:19:35'),
(49, 10000000, 'rinto', '2017-01-05 20:13:34', '2017-01-05 20:13:34'),
(50, 15000, 'rinto', '2017-01-06 00:29:18', '2017-01-06 00:29:18'),
(51, 10000, 'rinto', '2017-01-06 00:30:14', '2017-01-06 00:30:14'),
(52, 5000, 'ester', '2017-01-06 00:32:33', '2017-01-06 00:32:33'),
(53, 10000, 'rinto', '2017-01-06 00:33:21', '2017-01-06 00:33:21'),
(54, 10000, 'baru', '2017-01-08 23:52:54', '2017-01-08 23:52:54'),
(55, 10000, 'joel', '2017-01-08 23:54:18', '2017-01-08 23:54:18'),
(56, 10000, 'rinto', '2017-01-08 23:54:22', '2017-01-08 23:54:22'),
(57, 1000, 'joel', '2017-01-08 23:55:10', '2017-01-08 23:55:10'),
(58, 1000, 'joel', '2017-01-08 23:55:33', '2017-01-08 23:55:33'),
(59, 10000, 'joel', '2017-01-08 23:57:41', '2017-01-08 23:57:41'),
(60, 20000, 'joel', '2017-01-08 23:57:44', '2017-01-08 23:57:44'),
(61, 10000, 'joel', '2017-01-08 23:58:46', '2017-01-08 23:58:46'),
(62, 10000, 'joel', '2017-01-08 23:59:26', '2017-01-08 23:59:26'),
(63, 1000, 'baru', '2017-01-09 05:38:37', '2017-01-09 05:38:37');
-- --------------------------------------------------------
--
-- Struktur dari tabel `topup_request`
--
CREATE TABLE `topup_request` (
`id` int(10) NOT NULL,
`balance` int(20) NOT NULL,
`customer_username` varchar(50) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`role` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id`, `username`, `password`, `role`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'admin', '$2y$10$A19nzArRlsMiqYeofRyc0uspK8O2tE9eirHIRnMjZsHUVx0wHlO7q', 'admin', 'x5aXo1rmtkg70rJIHoSBl3QighSB7O203IcuTkqccms79g5xoDXvNhsXYc01', '2016-12-22 19:20:37', '2017-01-09 05:59:46'),
(46, 'kasir', '$2y$10$9INQvmugHQuZO/jj07j78eIx2mMMLkaEBGeubZH/AotdZjDox0QpG', 'kasir', 'LaboreQ2J9E3AZuBvqIti2eLB6s57ouGYzHSWGfhCkPUDFpE5avkEe8nn67x', '2016-12-27 00:42:36', '2017-01-09 05:38:45'),
(47, 'inventori', '$2y$10$TE1leDON290mDbCxQoKWQu8jImfzYr1.YAElhftDkon.8hpsUsGky', 'inventori', 'Cnvzv0uoANz5f4Qjutbo1jMmp69IhHYhTExbzqvD7kR1Y50314xLxfMFUfsU', '2016-12-27 00:42:52', '2017-01-09 05:45:00'),
(48, 'pelayan', '$2y$10$RidUSaTSHEsuId.pDqxndO4wNNb2VKuOVy4yhtVY74Q2yd0n56Gy.', 'pelayan', 'cM9QzNzfXgqfRGq08bZ1tw9Ea1Oh3HMru5UahiC0X145oPctjJSWq3zB896w', '2016-12-27 00:43:01', '2017-01-09 05:41:45'),
(52, 'ester', '$2y$10$1.SkCwPIElomojWhCPZMOu3tdI4kITlVdA1duDHP6vGJEiBh7bPNO', 'customer', '5vKGkx66oP7fMB5C5ySep5zv7r2ow8diC7N5cl1nug99lwePdyJe94qkAN0d', '2017-01-05 18:14:26', '2017-01-06 00:43:08'),
(53, 'eko', '$2y$10$ao405UVwW4bsDMvx/Brv4Oz84V/5n05Vvl8maD9et1aOx.AXhiizu', 'customer', NULL, '2017-01-05 18:14:44', '2017-01-05 18:14:44'),
(54, 'amendo', '$2y$10$vdDA4nh4XdvJGt3.iCJy/O87cVIPr5wFfKbogs3aTwJdfPobwEmgK', 'customer', NULL, '2017-01-05 18:14:59', '2017-01-05 18:14:59'),
(55, 'anastasya', '$2y$10$m9mZ4LQJBzEqbMfefV4a1.k9OJkER8x25OZL5jdoip/u6pBXpTsxa', 'customer', NULL, '2017-01-05 18:15:20', '2017-01-05 18:15:20'),
(56, 'anggiat', '$2y$10$fxhMv8iYqZSRhxJgDdNkouGEP.xn6wPX9nunM1dpDUnwsN757M7h.', 'customer', NULL, '2017-01-05 18:15:35', '2017-01-05 18:15:35'),
(57, 'arren', '$2y$10$QYkfcNZNh4hPMo7lVIaUz.VTO3HAY8zVje590lfGYbbwENFvE8yW2', 'customer', NULL, '2017-01-05 18:15:50', '2017-01-05 18:15:50'),
(58, 'chika', '$2y$10$vcn7V4MCizZbdrIHGfjxWe.fhqalDA/VVUUIf7e42k2/.vFJFtgga', 'customer', NULL, '2017-01-05 18:16:27', '2017-01-05 18:16:27'),
(59, 'edward', '$2y$10$Ira0xb7ktdsYAy3W6nitbuybcraRwMAQqQNyONmQ9buK/eFSajAdy', 'customer', NULL, '2017-01-05 18:17:41', '2017-01-05 18:17:41'),
(60, 'gideon', '$2y$10$7jdFNlIPgKq57Ef3MOH5HukPFFJm.rkYXQ.sjb6T4uUbFaWkJzg6O', 'customer', NULL, '2017-01-05 18:18:44', '2017-01-05 18:18:44'),
(61, 'greace', '$2y$10$FmL0JbBpRWrQXdu07AVAFOTZJkOe2OaXOqvgbgpHGi1zrFqcKaDfC', 'customer', NULL, '2017-01-05 18:20:39', '2017-01-05 18:20:39'),
(62, 'irene', '$2y$10$Zlycxdh1phN.rmfoiK2YWO1D4tH3EKQffsLdlXZJkIzJPBJAAzGca', 'customer', NULL, '2017-01-05 18:21:22', '2017-01-05 18:21:22'),
(63, 'jhon', '$2y$10$mjXG2y4VKU3Ay9HldpvQKOEqANpCq616HyzNmt9UGGvaPpqUlW5gS', 'customer', NULL, '2017-01-05 18:22:04', '2017-01-05 18:22:04'),
(64, 'joel', '$2y$10$JS22efjwfGLimhN7GonYROoOx5i9TIVu8g2Z8ZdkG3EC5LU82OwBi', 'customer', '5VmuHZN47n5vuZMO695XhCS4GoUGyXhrUgApe4zZZO0xmzyCMRJJqxJUDbeO', '2017-01-05 18:22:15', '2017-01-09 05:57:26'),
(65, 'johan', '$2y$10$d8fXZYfnn3bkpbbbre1.buDvp/PSrxPaQvsv7wccUPaJlpaCsPzoa', 'customer', NULL, '2017-01-05 18:23:08', '2017-01-05 18:23:08'),
(66, 'juliper', '$2y$10$qpStTxd6xciHnRna9.Bzl.korHeBKvFa5l/Fq/frbxXYfUapov8h.', 'customer', NULL, '2017-01-05 18:23:24', '2017-01-05 18:23:24'),
(67, 'lestari', '$2y$10$riK8kTXUb3sbGUOEYdu0AeZlD4xSTiFBj2QKnWDy6YtKa4BFoCipi', 'customer', NULL, '2017-01-05 18:23:40', '2017-01-05 18:23:40'),
(68, 'lily', '$2y$10$c4HF9rfwoPbqyOUgGSU7aOTHvgGSJoUHZntc9uuIFwiCIk2CaaZ.O', 'customer', NULL, '2017-01-05 18:23:54', '2017-01-05 18:23:54'),
(69, 'martupa', '$2y$10$YuThH3AtEcecijuX29YLauCqGm4mIdjYFEnbhAJDgosiWqJb88pUC', 'customer', NULL, '2017-01-05 18:24:09', '2017-01-05 18:24:09'),
(70, 'palti', '$2y$10$HvOAakQKLDXIp69AimQmbOkhKdhAkwdd3jqMNBV.CZNnHKOQ1J9Nq', 'customer', NULL, '2017-01-05 18:24:21', '2017-01-05 18:24:21'),
(71, 'patota', '$2y$10$h3/WtY57IQV0LyvX5LvrGuj1kood0VfgXjwYAuY8Ub/EJqWbfP2wW', 'customer', NULL, '2017-01-05 18:24:34', '2017-01-05 18:24:34'),
(72, 'pratiwi', '$2y$10$zinaF3shDRNdccPvaIBNeOw.4VhrI37jTPZKDLWm/qD2jfEbA2jN2', 'customer', NULL, '2017-01-05 18:24:47', '2017-01-05 18:24:47'),
(73, 'rahel', '$2y$10$wSKh/UQhu8KBMdXTlHaFaOK6HVCn3Do27t0c8Be784nRha1nT8NLS', 'customer', NULL, '2017-01-05 18:24:58', '2017-01-05 18:24:58'),
(74, 'rizky', '$2y$10$cHsMVfYorE5wK/Tw5A0abOJTX7AriXYx6yciUHzDdzcXw2WQC30.e', 'customer', NULL, '2017-01-05 18:25:11', '2017-01-05 18:25:11'),
(75, 'winda', '$2y$10$CzdyOr20u8HvQE.i0Fq1ous1KZnSClNViQQBbHebT8I4njHt3i7cC', 'customer', NULL, '2017-01-05 18:25:34', '2017-01-05 18:25:34'),
(76, 'yessica', '$2y$10$KhvUVMAz2VSnoR1/UAk81ejkFiG/ggwU9nHtR.DxKkG//dQnELBZ.', 'customer', NULL, '2017-01-05 18:25:51', '2017-01-05 18:25:51'),
(77, 'yolanda', '$2y$10$EU0S5STwKWXDUWQ.Gt4EDOhqsgmD0FPskjfiWlTjhTYoSq2uq9dQK', 'customer', NULL, '2017-01-05 18:26:06', '2017-01-05 18:26:06'),
(78, 'yonatan', '$2y$10$ccJ/kckNJLQYpOEXyIeEtu8vBETqP4Uq.usAzAuYnWHeirT1LVpYK', 'customer', NULL, '2017-01-05 18:26:22', '2017-01-05 18:26:22'),
(79, 'hans', '$2y$10$Na/UejmGKYjiX4R9XzIAZ.DEra/0i5fu.QYTsbm29rdnrynfWU7aK', 'customer', NULL, '2017-01-05 18:26:33', '2017-01-05 18:26:33'),
(80, 'jhoncha', '$2y$10$rWU12Bzy.F/UjZmEuvwVFedMjoBoJKm/9dRdtBuAXuIB/kMT0i5O6', 'customer', NULL, '2017-01-05 18:27:09', '2017-01-05 18:27:09'),
(81, 'rinto', '$2y$10$Jj1Jbi2gKLkhp1jlxscpKemRpe9uubR3pzjQlkH/xZHXTeKfVRZdy', 'customer', '29iyGeO7IFTh4ub4QlSkPjcQYSEgLa6qWmGFqPzPFxanIl7YnZUIRIrFdq1s', '2017-01-05 18:27:24', '2017-01-06 00:38:51'),
(85, 'christine', '$2y$10$cd1pCSnr16eP/AJhk7zFOuHOjhHvCTxAyC7R2B/Xv2py60TLVjT2e', 'customer', NULL, '2017-01-09 05:55:52', '2017-01-09 05:55:52');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `barang`
--
ALTER TABLE `barang`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customer_data`
--
ALTER TABLE `customer_data`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `username` (`username`);
--
-- Indexes for table `dapur`
--
ALTER TABLE `dapur`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `feedback`
--
ALTER TABLE `feedback`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `menu`
--
ALTER TABLE `menu`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `order_product`
--
ALTER TABLE `order_product`
ADD PRIMARY KEY (`id`),
ADD KEY `customer_id` (`customer_username`),
ADD KEY `product_id` (`product_id`);
--
-- Indexes for table `order_product_temp`
--
ALTER TABLE `order_product_temp`
ADD PRIMARY KEY (`id`),
ADD KEY `customer_id` (`customer_username`),
ADD KEY `product_id` (`product_id`);
--
-- Indexes for table `topup_history`
--
ALTER TABLE `topup_history`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `topup_request`
--
ALTER TABLE `topup_request`
ADD PRIMARY KEY (`id`),
ADD KEY `customer_username` (`customer_username`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_username_unique` (`username`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `barang`
--
ALTER TABLE `barang`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;
--
-- AUTO_INCREMENT for table `customer_data`
--
ALTER TABLE `customer_data`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;
--
-- AUTO_INCREMENT for table `dapur`
--
ALTER TABLE `dapur`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
--
-- AUTO_INCREMENT for table `feedback`
--
ALTER TABLE `feedback`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `menu`
--
ALTER TABLE `menu`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;
--
-- AUTO_INCREMENT for table `order_product`
--
ALTER TABLE `order_product`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `order_product_temp`
--
ALTER TABLE `order_product_temp`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `topup_history`
--
ALTER TABLE `topup_history`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64;
--
-- AUTO_INCREMENT for table `topup_request`
--
ALTER TABLE `topup_request`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
......@@ -16,5 +16,5 @@ require('./bootstrap');
Vue.component('example', require('./components/Example.vue'));
const app = new Vue({
el: '#app'
el: 'body'
});
......@@ -26,7 +26,7 @@ require('vue-resource');
*/
Vue.http.interceptors.push((request, next) => {
request.headers.set('X-CSRF-TOKEN', Laravel.csrfToken);
request.headers['X-CSRF-TOKEN'] = Laravel.csrfToken;
next();
});
......
......@@ -16,7 +16,7 @@
<script>
export default {
mounted() {
ready() {
console.log('Component ready.')
}
}
......
// Body
$body-bg: #f5f8fa;
// Borders
$laravel-border-color: darken($body-bg, 10%);
$list-group-border: $laravel-border-color;
$navbar-default-border: $laravel-border-color;
$panel-default-border: $laravel-border-color;
$panel-inner-border: $laravel-border-color;
// Brands
$brand-primary: #3097D1;
$brand-info: #8eb4cb;
$brand-success: #2ab27b;
$brand-warning: #cbb956;
$brand-danger: #bf5329;
// Typography
$font-family-sans-serif: "Raleway", sans-serif;
$font-size-base: 14px;
$line-height-base: 1.6;
$text-color: #636b6f;
// Navbar
$navbar-default-bg: #fff;
// Buttons
$btn-default-color: $text-color;
// Inputs
$input-border: lighten($text-color, 40%);
$input-border-focus: lighten($brand-primary, 25%);
$input-color-placeholder: lighten($text-color, 30%);
// Panels
$panel-default-heading-bg: #fff;
......@@ -53,7 +53,6 @@ return [
'array' => 'The :attribute may not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
......@@ -81,7 +80,6 @@ return [
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute format is invalid.',
/*
......
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<div class="row"></div>
<!-- /.row -->
<div class="row"></div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-users"></i>Profil</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header"></div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding"></div>
<!-- /.box-body -->
<div class="box-footer"></div>
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-users"></i>User</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">User</h3>
<div class="box-tools">
<form action="{{url('/admin/user')}}">
<div class="input-group input-group-sm" style="width: 150px;">
<input type="text" name="search" class="form-control pull-right"
placeholder="Username" id="search" type="text">
<div class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
</div>
<div class="form-group">
<?php $jumlah=0 ?>
@foreach($total as $tot)
<?php $jumlah++ ?>
@endforeach
<h4>Total User = {{$jumlah}}</h4>
</div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead><tr>
<th>Username User</th>
<th>Role</th>
<th>Created At</th>
<th>Updated At</th>
<th>Aksi</th>
</tr></thead>
<tbody>
@foreach($user as $stf)
<tr>
<td>{{$stf->username}}</td>
<td>{{$stf->role}}</td>
<td>{{$stf->created_at}}</td>
<td>{{$stf->updated_at}}</td>
<td>
<a href="{{url('admin/user/hapus',$stf->id)}}" class="btn btn-danger">Hapus</a>
<i fa-user-plus></i>
</td>
</tr>
</form>
@endforeach
</tbody>
</table>
{{$user->links()}}
</div>
<!-- /.box-body -->
<div class="box-footer">
<a href="{{url('admin/user/tambah')}}" class="btn btn-danger">Tambah User</a>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-users"></i>User</li>
<li class="active"><i class="fa-user"></i>Add User</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<div class="login-box">
<!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">Add new User Sistem</p>
<form action="{{route('admin.store')}}" method="post" enctype="multipart/form-data">
{{ csrf_field() }}
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Username</label>
<input type="text" class="form-control" name="username" required>
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Password</label>
<input class="form-control" type="password" name="password" required/>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Role</label>
<input type="text" value="klien" class="form-control" name="role" readonly>
</div>
<div class="form-group has-feedback">
<label for="exampleInputImage">Masukkan Gambar</label>
<input type="file" id="exampleInputImage" name="image" required/>
</div>
<div class="row">
<!-- /.col -->
<div class="col-xs-4">
<input type="submit" value="Tambah User" class="btn btn-danger">
</div>
<!-- /.col -->
</div>
</form>
</div>
<!-- /.login-box-body -->
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Simple Tables
<small>preview of simple tables</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Tables</a></li>
<li class="active">Simple</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box"></div>
<!-- /.box -->
<div class="box"></div>
<!-- /.box -->
</div>
<!-- /.col -->
<div class="col-md-6">
<div class="box"></div>
<!-- /.box -->
<div class="box"></div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box"></div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-bus"></i>Pesan Bus</li>
<li class="active"><i class="fa-bus"></i>Pilih Bus</li>
<li class="active"><i class="fa-users"></i>Detail Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-md-6">
<!-- Box Comment -->
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<img style="display: block;margin-left: auto;margin-right: auto;" src="{{ asset('image/' . $bus->image) }}"/>
<span class="username">{{$bus->nama_bus}}</span>
</div>
<!-- /.user-block -->
<div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<img style="display: block;margin-left: auto;margin-right: auto;" src="{{ asset('image/' . $bus->image) }}"/>
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form action="" method="post">
{{ csrf_field() }}
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Nama Bus</label>
<input type="text" class="form-control" name="nama_bus" value="{{$bus->nama_bus}}" readonly>
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Jenis Bus</label>
<input type="text" class="form-control" name="jenis_bus" value="{{$bus->jenis_bus}}" readonly>
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Plat Bus</label>
<input type="text" class="form-control" name="plat_bus" value="{{$bus->plat_bus}}" readonly>
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Deskripsi</label>
<textarea class="form-control" placeholder="Berikan deskripsi disini" rows="3" name="deskripsi" readonly>{{$bus->deskripsi}}</textarea>
</div>
<div class="form-group has-feedback">
<a href="{{url('klien/pesan/pilih_bus',$bus->id)}}" class="btn btn-danger">Pilih</a>
</div>
</form><br>
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-bus"></i>Pesan Bus</li>
<li class="active"><i class="fa-bus"></i>Pilih Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">List Bus</h3>
<div class="box-tools">
<form action="{{url('/klien/bus')}}">
<div class="input-group input-group-sm" style="width: 150px;">
<input type="text" name="search" class="form-control pull-right"
placeholder="Nama Bus" id="search" type="text">
<div class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
</div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead><tr>
<th>Nama Bus</th>
<th>Jenis Bus</th>
<th>Plat Bus</th>
<th>Aksi</th>
</tr></thead>
<tbody>
@foreach($bus as $bu)
<tr>
<td>{{$bu->nama_bus}}</td>
<td>{{$bu->jenis_bus}}</td>
<td>{{$bu->plat_bus}}</td>
<td colspan="1">
<a href="{{url('klien/bus/detail',$bu->id)}}" class="btn btn-danger">Detail</a>
<a href="{{url('klien/pesan/pilih_bus',$bu->id)}}" class="btn btn-danger">Pesan Bus</a>
</td>
</tr>
</form>
@endforeach
</tbody>
</table>
</div>
<div class="box-footer">
<!--<a href="{{url('admin/bus/tambah')}}" class="btn btn-danger">Tambah Data Bus</a>-->
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-bus"></i>Pemesanan Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">List Pemesanan</h3>
<div class="box-tools"></div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead><tr>
<th>Nama Pemesan</th>
<th>Tujuan</th>
<th>Berangkat</th>
<th>Plat Bus</th>
<th>Status</th>
</tr></thead>
<tbody>
@foreach($history as $his)
<tr>
<td>{{$his->client_username}}</td>
<td>{{$his->tujuan}}</td>
<td>{{$his->berangkat}}</td>
<td>{{$his->plat_bus}}</td>
<td><span class="label label-info">Request</span>
</tr>
</form>
@endforeach
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<div class="row"></div>
<!-- /.row -->
<div class="row"></div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-users"></i>Pesan Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<div class="box box-default">
<form action="{{url('/klien/pemesanan')}}" method="post" enctype="multipart/form-data">
{{ csrf_field() }}
<div class="box-header with-border">
<h3 class="box-title">Formulir Pemesanan Bus</h3>
<span class="hidden-xs">{{ Auth::user()->username }}</span>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Nama Pemesan</label>
<input type="text" value="{{ Auth::user()->username }}" class="form-control" name="client_username" readonly>
</div>
<div class="form-group">
<label>Tempat Tujuan Keberangkatan</label>
<input type="text" class="form-control" name="tujuan" required>
</div>
<!-- /.form-group -->
<div class="form-group">
<label>Jumlah Anggota</label>
<input type="text" class="form-control" name="jumlah" required>
</div>
<!-- /.form-group -->
<div class="form-group">
<label>Keperluan Pemesanan</label>
<textarea class="form-control" rows="3"name="alasan" placeholder="Alasan..." style="width: 499px; height: 104px;" required></textarea>
</div>
<!-- /.form-group -->
</div>
<!-- /.col -->
<div class="col-md-6">
<div class="form-group">
<label>Rencana Keberangkatan:</label>
<div class="input-group">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
</div>
<input class="form-control" placeholder="yyyy-mm-dd" data-inputmask="'alias': 'yyyy-mm-dd'" data-mask="" type="date" name="berangkat" required>
</div>
<!-- /.input group -->
</div>
<!-- /.form-group -->
<div class="form-group">
<label>Rencana Kembali:</label>
<div class="input-group">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
</div>
<input class="form-control" placeholder="yyyy-mm-dd" data-inputmask="'alias': 'yyyy-mm-dd'" data-mask="" type="date" name="kembali" required>
</div>
<!-- /.input group -->
</div>
<!-- /.form-group -->
<div class="input-group input-group-sm">
<input type="text" value=" " class="form-control" name="plat_bus" required>
<span class="input-group-btn">
<a href="{{url('klien/pesan/pilih')}}" type="button" class="btn btn-info btn-flat">Pilih Bus</a>
</span>
</div>
<div class="form-group">
</div>
<!-- /.form-group -->
<!-- /.form-group -->
<div class="form-group">
<input type="submit" value="Pesan" class="btn btn-danger">
</div>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.box-body -->
</form>
<div class="box-footer">* Pemesanan hanya dapat di lakukan 3 hari sebelum hari keberangkatan</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-bus"></i>Pesan Bus</li>
<li class="active"><i class="fa-bus"></i>Pilih Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">List Bus</h3>
<div class="box-tools">
<form action="{{url('/klien/pesan/pilih')}}">
<div class="input-group input-group-sm" style="width: 150px;">
<input type="text" name="search" class="form-control pull-right"
placeholder="Nama Bus" id="search" type="text">
<div class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
</div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead><tr>
<th>Nama Bus</th>
<th>Jenis Bus</th>
<th>Plat Bus</th>
<th>Aksi</th>
</tr></thead>
<tbody>
@foreach($bus as $bu)
<tr>
<td>{{$bu->nama_bus}}</td>
<td>{{$bu->jenis_bus}}</td>
<td>{{$bu->plat_bus}}</td>
<td colspan="1">
<a href="{{url('klien/bus/detail',$bu->id)}}" class="btn btn-danger">Detail</a>
<a href="{{url('klien/pesan/pilih_bus',$bu->id)}}" class="btn btn-danger">Pilih</a>
</td>
</tr>
</form>
@endforeach
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-users"></i>Pesan Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<div class="box box-default">
<form action="{{url('/klien/pemesanan')}}" method="post" enctype="multipart/form-data">
{{ csrf_field() }}
<div class="box-header with-border">
<h3 class="box-title">Formulir Pemesanan Bus</h3>
<span class="hidden-xs">{{ Auth::user()->username }}</span>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Nama Pemesan</label>
<input type="text" value="{{ Auth::user()->username }}" class="form-control" name="client_username" readonly>
</div>
<div class="form-group">
<label>Tempat Tujuan Keberangkatan</label>
<input type="text" class="form-control" name="tujuan" required>
</div>
<!-- /.form-group -->
<div class="form-group">
<label>Jumlah Anggota</label>
<input type="text" class="form-control" name="jumlah" required>
</div>
<!-- /.form-group -->
<div class="form-group">
<label>Keperluan Pemesanan</label>
<textarea class="form-control" rows="3"name="alasan" placeholder="Alasan..." style="width: 499px; height: 104px;" required></textarea>
</div>
<!-- /.form-group -->
</div>
<!-- /.col -->
<div class="col-md-6">
<div class="form-group">
<label>Rencana Keberangkatan:</label>
<div class="input-group">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
</div>
<input class="form-control" placeholder="yyyy-mm-dd" data-inputmask="'alias': 'yyyy-mm-dd'" data-mask="" type="date" name="berangkat" required>
</div>
<!-- /.input group -->
</div>
<!-- /.form-group -->
<div class="form-group">
<label>Rencana Kembali:</label>
<div class="input-group">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
</div>
<input class="form-control" placeholder="yyyy-mm-dd" data-inputmask="'alias': 'yyyy-mm-dd'" data-mask="" type="date" name="kembali" required>
</div>
<!-- /.input group -->
</div>
<!-- /.form-group -->
<div class="input-group input-group-sm">
<input type="text" value="{{$bus->plat_bus}}" class="form-control" name="plat_bus" readonly>
<span class="input-group-btn">
<a href="{{url('klien/pesan/pilih')}}" type="button" class="btn btn-info btn-flat">Pilih Bus</a>
</span>
</div>
<div class="form-group">
</div>
<!-- /.form-group -->
<!-- /.form-group -->
<div class="form-group">
<input type="submit" value="Pesan" class="btn btn-danger">
</div>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.box-body -->
</form>
<div class="box-footer">* Pemesanan hanya dapat di lakukan 3 hari sebelum hari keberangkatan</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-bus"></i>Status Pemesanan Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">List Pemesanan</h3>
<div class="box-tools"></div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead><tr>
<th>Nama Pemesan</th>
<th>Tujuan</th>
<th>Berangkat</th>
<th>Plat Bus</th>
<th>Status</th>
</tr></thead>
<tbody>
@foreach($status as $stat)
<tr>
<td>{{$stat->client_username}}</td>
<td>{{$stat->tujuan}}</td>
<td>{{$stat->berangkat}}</td>
<td>{{$stat->plat_bus}}</td>
<td><span class="label label-info">Request</span>
<button class="label label-danger">Batalkan</button></td>
</tr>
</form>
@endforeach
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
@if(Auth::check())
@extends('layouts.layout')
@include('layouts.header')
<body class="skin-blue sidebar-mini" style="height: auto;">
<div class="wrapper" style="height: auto;">
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section id="content-menu" class="content-menu">
<div class="module-menu-container"></div>
<ol class="breadcrumb"><li><a href="/"><i class="fa-home"></i> Home</a></li>
<li class="active"><i class="fa-bus"></i>Status Pemesanan Bus</li>
</ol><!-- breadcrumbs -->
</section>
<!-- Main content -->
<section class="content">
<!-- /.row -->
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">List Pemesanan</h3>
<div class="box-tools"></div>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead><tr>
<th>Nama Pemesan</th>
<th>Tujuan</th>
<th>Berangkat</th>
<th>Plat Bus</th>
<th>Status</th>
</tr></thead>
<tbody>
@foreach($status as $stat)
<tr>
<td>{{$stat->client_username}}</td>
<td>{{$stat->tujuan}}</td>
<td>{{$stat->berangkat}}</td>
<td>{{$stat->plat_bus}}</td>
<td><span class="label label-info">Request</span>
<a href="{{url('klien/pemesanan/batal',$stat->id)}}" class="label label-danger">Batalkan</a></td>
</tr>
</form>
@endforeach
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
</div>
</body>
@endif
\ No newline at end of file
......@@ -36,28 +36,6 @@
<i class="fa fa-group"></i> <span>User</span>
</a>
</li>
<li class="{{Request::segment(2) == 'bus' ? 'active' : ''}}">
<a href="{{url('admin/bus')}}">
<i class="fa-truck"></i> <span>Bus</span>
</a>
</li>
<li class="treeview {{Request::segment(2) == 'supir' ? 'active' : ''}}">
<a href="#"><span>Supir</span> <i class="fa fa-angle-left pull-right"></i></a>
<ul class="treeview-menu">
<li><a href="{{url('admin/supir')}}">Data Supir</a></li>
</ul>
</li>
<li class="{{Request::segment(2) == 'pemesanan' ? 'active' : ''}}">
<a href="{{url('admin/pemesanan')}}">
<i class="fa fa-group"></i>
<span>Pemesanan</span>
<small class="label pull-right bg-yellow">
</small>
</a>
</li>
</ul>
......
......@@ -58,7 +58,7 @@ Route::group(['prefix' => 'admin','middleware' => 'admin'], function() {
Route::get('/profil','AdminController@profil');
Route::get('/pemesanan','AdminController@pemesanan');
Route::get('/pemesanan/detail/{id}','AdminController@detailpemesanan');
});
Route::group(['prefix' => 'k_supir','middleware' => 'k_supir'], function() {
......@@ -75,11 +75,12 @@ Route::group(['prefix' => 'klien','middleware' => 'klien'], function() {
});
Route::resource('klien','KlienController');
Route::get('/pesan','KlienController@pesan');
Route::get('/pesan/pilih','KlienController@pilih');
Route::post('/pemesanan','KlienController@pemesanan');
Route::get('/bus','KlienController@bus');
Route::get('/bus/detail/{id}','KlienController@detail');
Route::get('/history','KlienController@history');
Route::get('/status','KlienController@status');
Route::get('/pemesanan/batal/{id}','KlienController@batal');
Route::get('/pesan/pilih_bus/{id}','KlienController@pilih_bus');
});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment