commit 92c811bca344010960ab913a4ba30669d97b4e32 Author: alfinfadli16 Date: Sat May 31 23:45:12 2025 +0700 first commit diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8f0de65 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 + +[docker-compose.yml] +indent_size = 4 diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ea0665b --- /dev/null +++ b/.env.example @@ -0,0 +1,59 @@ +APP_NAME=Laravel +APP_ENV=local +APP_KEY= +APP_DEBUG=true +APP_URL=http://localhost + +LOG_CHANNEL=stack +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=laravel +DB_USERNAME=root +DB_PASSWORD= + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +FILESYSTEM_DISK=local +QUEUE_CONNECTION=sync +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +MEMCACHED_HOST=127.0.0.1 + +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=smtp +MAIL_HOST=mailpit +MAIL_PORT=1025 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_ENCRYPTION=null +MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= +AWS_USE_PATH_STYLE_ENDPOINT=false + +PUSHER_APP_ID= +PUSHER_APP_KEY= +PUSHER_APP_SECRET= +PUSHER_HOST= +PUSHER_PORT=443 +PUSHER_SCHEME=https +PUSHER_APP_CLUSTER=mt1 + +VITE_APP_NAME="${APP_NAME}" +VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +VITE_PUSHER_HOST="${PUSHER_HOST}" +VITE_PUSHER_PORT="${PUSHER_PORT}" +VITE_PUSHER_SCHEME="${PUSHER_SCHEME}" +VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fcb21d3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +* text=auto eol=lf + +*.blade.php diff=html +*.css diff=css +*.html diff=html +*.md diff=markdown +*.php diff=php + +/.github export-ignore +CHANGELOG.md export-ignore +.styleci.yml export-ignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7fe978f --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +/.phpunit.cache +/node_modules +/public/build +/public/hot +/public/storage +/storage/*.key +/vendor +.env +.env.backup +.env.production +.phpunit.result.cache +Homestead.json +Homestead.yaml +auth.json +npm-debug.log +yarn-error.log +/.fleet +/.idea +/.vscode diff --git a/README.md b/README.md new file mode 100644 index 0000000..1a4c26b --- /dev/null +++ b/README.md @@ -0,0 +1,66 @@ +

Laravel Logo

+ +

+Build Status +Total Downloads +Latest Stable Version +License +

+ +## About Laravel + +Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: + +- [Simple, fast routing engine](https://laravel.com/docs/routing). +- [Powerful dependency injection container](https://laravel.com/docs/container). +- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. +- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). +- Database agnostic [schema migrations](https://laravel.com/docs/migrations). +- [Robust background job processing](https://laravel.com/docs/queues). +- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). + +Laravel is accessible, powerful, and provides tools required for large, robust applications. + +## Learning Laravel + +Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. + +You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. + +If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. + +## Laravel Sponsors + +We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com). + +### Premium Partners + +- **[Vehikl](https://vehikl.com/)** +- **[Tighten Co.](https://tighten.co)** +- **[WebReinvent](https://webreinvent.com/)** +- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** +- **[64 Robots](https://64robots.com)** +- **[Curotec](https://www.curotec.com/services/technologies/laravel/)** +- **[Cyber-Duck](https://cyber-duck.co.uk)** +- **[DevSquad](https://devsquad.com/hire-laravel-developers)** +- **[Jump24](https://jump24.co.uk)** +- **[Redberry](https://redberry.international/laravel/)** +- **[Active Logic](https://activelogic.com)** +- **[byte5](https://byte5.de)** +- **[OP.GG](https://op.gg)** + +## Contributing + +Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). + +## Code of Conduct + +In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). + +## Security Vulnerabilities + +If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. + +## License + +The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php new file mode 100644 index 0000000..e6b9960 --- /dev/null +++ b/app/Console/Kernel.php @@ -0,0 +1,27 @@ +command('inspire')->hourly(); + } + + /** + * Register the commands for the application. + */ + protected function commands(): void + { + $this->load(__DIR__.'/Commands'); + + require base_path('routes/console.php'); + } +} diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php new file mode 100644 index 0000000..56af264 --- /dev/null +++ b/app/Exceptions/Handler.php @@ -0,0 +1,30 @@ + + */ + protected $dontFlash = [ + 'current_password', + 'password', + 'password_confirmation', + ]; + + /** + * Register the exception handling callbacks for the application. + */ + public function register(): void + { + $this->reportable(function (Throwable $e) { + // + }); + } +} diff --git a/app/Http/Controllers/Admin/DashboardController.php b/app/Http/Controllers/Admin/DashboardController.php new file mode 100644 index 0000000..5d17a49 --- /dev/null +++ b/app/Http/Controllers/Admin/DashboardController.php @@ -0,0 +1,73 @@ + User::where('role', 'customer')->count(), + 'packages' => Paket::count(), + 'rentals' => Sewa::count(), + 'revenue' => Sewa::where('status', 'selesai')->sum('total_harga') + ]; + + // Mengambil aktivitas terbaru + $activities = $this->getRecentActivities(); + + return view('admin.dashboard', compact('stats', 'activities')); + } + + private function getRecentActivities() + { + $activities = []; + + // Aktivitas sewa terbaru + $recentRentals = Sewa::with(['user', 'paket']) + ->latest() + ->take(5) + ->get(); + + foreach ($recentRentals as $rental) { + $activities[] = [ + 'title' => 'Sewa Baru', + 'description' => "{$rental->user->name} menyewa paket {$rental->paket->nama_paket}", + 'time' => Carbon::parse($rental->created_at)->diffForHumans(), + 'color' => 'blue', + 'icon' => 'M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2' + ]; + } + + // Aktivitas pembayaran + $recentPayments = Sewa::where('status', 'selesai') + ->latest() + ->take(5) + ->get(); + + foreach ($recentPayments as $payment) { + $activities[] = [ + 'title' => 'Pembayaran Selesai', + 'description' => "Pembayaran sewa paket {$payment->paket->nama_paket} oleh {$payment->user->name}", + 'time' => Carbon::parse($payment->updated_at)->diffForHumans(), + 'color' => 'green', + 'icon' => 'M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z' + ]; + } + + // Urutkan berdasarkan waktu terbaru + usort($activities, function($a, $b) { + return strtotime($b['time']) - strtotime($a['time']); + }); + + return array_slice($activities, 0, 5); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/Admin/VerifikasiController.php b/app/Http/Controllers/Admin/VerifikasiController.php new file mode 100644 index 0000000..cf17fd7 --- /dev/null +++ b/app/Http/Controllers/Admin/VerifikasiController.php @@ -0,0 +1,74 @@ +whereNotNull('bukti_pembayaran') + ->whereNotNull('foto_jaminan') + ->with(['user', 'paket', 'kota']) + ->latest() + ->get(); + + return view('admin.verifikasi-pembayaran', compact('sewas')); + } + + /** + * Menyetujui pembayaran + */ + public function approve($id) + { + try { + $sewa = Sewa::findOrFail($id); + + // Pastikan status masih pending + if ($sewa->status !== 'pending') { + return back()->with('error', 'Status sewa tidak valid untuk diverifikasi.'); + } + + // Update status menjadi confirmed + $sewa->update([ + 'status' => 'confirmed' + ]); + + return back()->with('success', 'Pembayaran berhasil diverifikasi dan disetujui.'); + } catch (\Exception $e) { + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } + + /** + * Menolak pembayaran + */ + public function reject($id) + { + try { + $sewa = Sewa::findOrFail($id); + + // Pastikan status masih pending + if ($sewa->status !== 'pending') { + return back()->with('error', 'Status sewa tidak valid untuk ditolak.'); + } + + // Update status menjadi ditolak + $sewa->update([ + 'status' => 'ditolak' + ]); + + return back()->with('success', 'Pembayaran telah ditolak.'); + } catch (\Exception $e) { + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } +} \ No newline at end of file diff --git a/app/Http/Controllers/AdminController.php b/app/Http/Controllers/AdminController.php new file mode 100644 index 0000000..a82d8df --- /dev/null +++ b/app/Http/Controllers/AdminController.php @@ -0,0 +1,115 @@ +middleware(['auth', 'role:admin']); + } + + /** + * Menampilkan halaman daftar admin + * + * @return \Illuminate\View\View + */ + public function index() + { + $admins = Admin::all(); + return view('admin', compact('admins')); + } + + /** + * Menampilkan form tambah admin + * + * @return \Illuminate\View\View + */ + public function create() + { + return view('tambah-admin'); + } + + /** + * Menyimpan admin baru + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(Request $request) + { + $validated = $request->validate([ + 'username' => 'required|string|max:255', + 'email' => 'required|string|email|max:255|unique:admins', + 'no_telp' => 'required|string|max:20', + 'alamat' => 'required|string', + 'password' => 'required|string|min:8' + ]); + + $validated['password'] = Hash::make($validated['password']); + + Admin::create($validated); + + return redirect()->route('admin')->with('success', 'Admin berhasil ditambahkan'); + } + + /** + * Menampilkan form edit admin + * + * @param int $id + * @return \Illuminate\View\View + */ + public function edit($id) + { + $admin = Admin::findOrFail($id); + return view('edit-admin', compact('admin')); + } + + /** + * Update data admin + * + * @param \Illuminate\Http\Request $request + * @param int $id + * @return \Illuminate\Http\RedirectResponse + */ + public function update(Request $request, $id) + { + $admin = Admin::findOrFail($id); + + $validated = $request->validate([ + 'username' => 'required|string|max:255', + 'email' => 'required|string|email|max:255|unique:admins,email,' . $id, + 'no_telp' => 'required|string|max:20', + 'alamat' => 'required|string', + 'password' => 'nullable|string|min:8' + ]); + + if (!empty($validated['password'])) { + $validated['password'] = Hash::make($validated['password']); + } else { + unset($validated['password']); + } + + $admin->update($validated); + + return redirect()->route('admin')->with('success', 'Data admin berhasil diperbarui'); + } + + /** + * Menghapus admin + * + * @param int $id + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy($id) + { + $admin = Admin::findOrFail($id); + $admin->delete(); + + return redirect()->route('admin')->with('success', 'Admin berhasil dihapus'); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php new file mode 100644 index 0000000..7efdffe --- /dev/null +++ b/app/Http/Controllers/AuthController.php @@ -0,0 +1,150 @@ +middleware('guest')->except('logout'); + } + + /** + * Menampilkan halaman login + * + * @return \Illuminate\View\View + */ + public function showLoginForm() + { + return view('login'); + } + + /** + * Menampilkan halaman register + * + * @return \Illuminate\View\View + */ + public function showRegisterForm(Request $request) + { + $paket_id = $request->query('paket_id'); + return view('auth.register', compact('paket_id')); + } + + /** + * Proses registrasi user baru + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse + */ + public function register(Request $request) + { + $validator = Validator::make($request->all(), [ + 'nama' => 'required|string|max:255', + 'username' => 'required|string|max:255|unique:users', + 'email' => 'required|string|email|max:255|unique:users', + 'password' => 'required|string|min:8|confirmed', + 'alamat' => 'required|string', + 'no_telp' => 'required|string|max:20', + 'agree' => 'required|accepted' + ], [ + 'nama.required' => 'Nama lengkap harus diisi', + 'username.required' => 'Username harus diisi', + 'username.unique' => 'Username sudah digunakan', + 'email.required' => 'Email harus diisi', + 'email.email' => 'Format email tidak valid', + 'email.unique' => 'Email sudah terdaftar', + 'password.required' => 'Password harus diisi', + 'password.min' => 'Password minimal 8 karakter', + 'password.confirmed' => 'Konfirmasi password tidak sesuai', + 'alamat.required' => 'Alamat harus diisi', + 'no_telp.required' => 'Nomor telepon harus diisi', + 'agree.required' => 'Anda harus menyetujui syarat dan ketentuan', + 'agree.accepted' => 'Anda harus menyetujui syarat dan ketentuan' + ]); + + if ($validator->fails()) { + return redirect()->back() + ->withErrors($validator) + ->withInput(); + } + + $user = User::create([ + 'nama' => $request->nama, + 'username' => $request->username, + 'email' => $request->email, + 'password' => Hash::make($request->password), + 'alamat' => $request->alamat, + 'no_telp' => $request->no_telp, + 'tipe_pengguna' => 'user' + ]); + + auth()->login($user); + + // Jika ada paket_id, redirect ke halaman sewa + if ($request->has('paket_id')) { + return redirect()->route('sewa.paket', $request->paket_id); + } + + return redirect()->route('dashboard')->with('success', 'Registrasi berhasil! Selamat datang di INUFA.'); + } + + /** + * Proses login + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse + */ + public function login(Request $request) + { + $validator = Validator::make($request->all(), [ + 'email' => 'required|email', + 'password' => 'required' + ]); + + if ($validator->fails()) { + return back() + ->withErrors($validator) + ->withInput($request->except('password')); + } + + $credentials = $request->only('email', 'password'); + $remember = $request->has('remember'); + + if (Auth::attempt($credentials, $remember)) { + $request->session()->regenerate(); + + // Redirect ke URL yang dituju sebelumnya atau ke dashboard + return redirect()->intended(route('dashboard')) + ->with('success', 'Selamat datang kembali!'); + } + + return back() + ->withErrors([ + 'email' => 'Email atau password salah.', + ]) + ->withInput($request->except('password')); + } + + /** + * Proses logout + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse + */ + public function logout(Request $request) + { + Auth::logout(); + + $request->session()->invalidate(); + $request->session()->regenerateToken(); + + return redirect()->route('login') + ->with('success', 'Anda telah berhasil logout.'); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/BarangController.php b/app/Http/Controllers/BarangController.php new file mode 100644 index 0000000..27196e0 --- /dev/null +++ b/app/Http/Controllers/BarangController.php @@ -0,0 +1,91 @@ + 1, + 'nama_barang' => 'Box Subwoofer CLA 18 inc', + 'kategori' => 'Speaker', + 'deskripsi' => 'Box Subwoofer dengan ukuran 18 inch', + 'stok' => 4, + 'gambar' => 'box-subwoofer.jpg' + ], + [ + 'id' => 2, + 'nama_barang' => 'Mixer 12,16,18 channel', + 'kategori' => 'Audio Mixer', + 'deskripsi' => 'Mixer audio dengan 12, 16, atau 18 channel', + 'stok' => 3, + 'gambar' => 'mixer.jpg' + ], + [ + 'id' => 3, + 'nama_barang' => 'Kabel', + 'kategori' => 'Kabel', + 'deskripsi' => 'Kabel audio berbagai ukuran', + 'stok' => 30, + 'gambar' => 'kabel.jpg' + ], + [ + 'id' => 4, + 'nama_barang' => 'Wired microphone (kabel)', + 'kategori' => 'Microphone', + 'deskripsi' => 'Microphone dengan kabel', + 'stok' => 8, + 'gambar' => 'wired-mic.jpg' + ], + [ + 'id' => 5, + 'nama_barang' => 'Wireless microphone (UHF/VHF)', + 'kategori' => 'Microphone', + 'deskripsi' => 'Microphone wireless tipe UHF/VHF', + 'stok' => 6, + 'gambar' => 'wireless-mic.jpg' + ] + ]; + + /** + * Mendapatkan data barang dari session atau data default jika belum ada + * + * @return array + */ + public static function getBarangData() + { + if (!Session::has(self::$sessionKey)) { + Session::put(self::$sessionKey, self::$defaultBarangData); + } + + return Session::get(self::$sessionKey); + } + + /** + * Menyimpan data barang ke session + * + * @param array $data + * @return void + */ + public static function saveBarangData($data) + { + Session::put(self::$sessionKey, $data); + } + + /** + * Menampilkan halaman daftar barang + */ + public function index() + { + $barangs = Barang::where('status', 'aktif')->get(); + return view('barang', compact('barangs')); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/ChatController.php b/app/Http/Controllers/ChatController.php new file mode 100644 index 0000000..be35ea1 --- /dev/null +++ b/app/Http/Controllers/ChatController.php @@ -0,0 +1,286 @@ +middleware('auth'); + } + + public function index() + { + // Tampilkan daftar chat berdasarkan tipe_pengguna user + if (Auth::user()->tipe_pengguna === 'admin') { + // Untuk admin, tampilkan semua pengguna yang memiliki chat + $users = User::where('tipe_pengguna', '!=', 'admin') + ->withCount(['sentChats as unread_chats_count' => function($query) { + $query->where('is_read', false); + }]) + ->orderBy('nama') + ->get(); + + return view('chat.index', compact('users')); + } else { + // Untuk user biasa, tampilkan chat dengan admin + $adminUsers = User::where('tipe_pengguna', 'admin') + ->get(); + + return view('chat.index', compact('adminUsers')); + } + } + + public function show($user_id) + { + try { + \Log::info('Chat Show Method - Start', [ + 'user_id' => $user_id, + 'auth_user' => [ + 'id' => Auth::id(), + 'tipe_pengguna' => Auth::user()->tipe_pengguna + ] + ]); + + // Cek apakah user yang diminta ada + $chatUser = User::findOrFail($user_id); + \Log::info('Chat User Found', [ + 'chat_user' => [ + 'id' => $chatUser->id, + 'nama' => $chatUser->nama, + 'tipe_pengguna' => $chatUser->tipe_pengguna + ] + ]); + + // Jika user biasa mencoba mengakses chat dengan user non-admin lain, tolak + if (Auth::user()->tipe_pengguna !== 'admin' && $chatUser->tipe_pengguna !== 'admin') { + abort(403, 'Anda hanya dapat chat dengan admin.'); + } + + // Jika admin mencoba chat dengan admin lain, tolak + if (Auth::user()->tipe_pengguna === 'admin' && $chatUser->tipe_pengguna === 'admin') { + abort(403, 'Admin tidak dapat chat dengan admin lain.'); + } + + // Ambil riwayat chat antara kedua user + $chats = Chat::where(function($query) use ($user_id) { + $query->where('sender_id', Auth::id()) + ->where('receiver_id', $user_id); + })->orWhere(function($query) use ($user_id) { + $query->where('sender_id', $user_id) + ->where('receiver_id', Auth::id()); + })->orderBy('created_at', 'asc')->get(); + + \Log::info('Chats Retrieved', [ + 'count' => $chats->count() + ]); + + return view('chat.chat_view', compact('chatUser', 'chats')); + + } catch (\Exception $e) { + \Log::error('Error in Chat Show Method', [ + 'error' => $e->getMessage(), + 'trace' => $e->getTraceAsString() + ]); + + return back()->with('error', 'Terjadi kesalahan saat membuka chat.'); + } + } + + // Helper untuk mendapatkan atau membuat sewa untuk chat + private function getOrCreateSewaForChat($user_id) + { + try { + \Log::info('Getting or Creating Sewa for Chat', [ + 'user_id' => $user_id + ]); + + // Cari sewa terakhir dari user tersebut + $sewa = Sewa::where('user_id', $user_id) + ->latest() + ->first(); + + if ($sewa) { + \Log::info('Existing Sewa Found', [ + 'sewa_id' => $sewa->id, + 'status' => $sewa->status + ]); + return $sewa; + } + + // Jika tidak ada sewa, buat sewa dummy untuk chat + \Log::info('No existing sewa found, creating dummy sewa'); + + // Cari paket pertama yang aktif untuk digunakan sebagai dummy + $paket = \App\Models\Paket::where('status', 'aktif')->first(); + + if (!$paket) { + \Log::error('No active package found for dummy sewa'); + throw new \Exception('Tidak dapat membuat chat karena tidak ada paket yang tersedia.'); + } + + // Buat sewa dummy + $sewa = Sewa::create([ + 'user_id' => $user_id, + 'paket_id' => $paket->id, + 'tanggal_mulai' => now(), + 'tanggal_selesai' => now()->addDays(1), + 'lokasi' => 'Chat Admin', + 'catatan' => 'Sewa otomatis dibuat untuk keperluan chat', + 'total_harga' => 0, + 'status' => 'chat_only' + ]); + + \Log::info('Dummy Sewa Created', [ + 'sewa_id' => $sewa->id, + 'user_id' => $sewa->user_id, + 'paket_id' => $sewa->paket_id + ]); + + return $sewa; + } catch (\Exception $e) { + \Log::error('Error in getOrCreateSewaForChat', [ + 'error' => $e->getMessage(), + 'trace' => $e->getTraceAsString() + ]); + throw $e; + } + } + + public function getNewMessages(Request $request, $user_id) + { + try { + // Cek apakah user yang diminta ada + $chatUser = User::findOrFail($user_id); + + // Ambil sewa untuk keperluan chat + if (Auth::user()->tipe_pengguna === 'admin') { + $sewa = $this->getOrCreateSewaForChat($chatUser->id); + } else { + $sewa = $this->getOrCreateSewaForChat(Auth::id()); + } + + $messages = Chat::with('sender') + ->where('sewa_id', $sewa->id) + ->where('id', '>', $request->query('after', 0)) + ->orderBy('created_at', 'asc') + ->get(); + + // Tandai pesan baru sebagai sudah dibaca + Chat::where('sewa_id', $sewa->id) + ->where('sender_id', '!=', auth()->id()) + ->where('is_read', false) + ->update(['is_read' => true]); + + return response()->json([ + 'messages' => $messages + ]); + } catch (\Exception $e) { + return response()->json([ + 'error' => 'Terjadi kesalahan: ' . $e->getMessage() + ], 500); + } + } + + public function store(Request $request, $user_id) + { + try { + \Log::info('Chat Store Method - Start', [ + 'user_id' => $user_id, + 'message' => $request->message + ]); + + $request->validate([ + 'message' => 'required|string' + ]); + + // Cek apakah user yang diminta ada + $receiver = User::findOrFail($user_id); + + // Ambil sewa untuk keperluan chat + if (Auth::user()->tipe_pengguna === 'admin') { + $sewa = $this->getOrCreateSewaForChat($receiver->id); + } else { + $sewa = $this->getOrCreateSewaForChat(Auth::id()); + } + + $chat = Chat::create([ + 'sewa_id' => $sewa->id, + 'sender_id' => Auth::id(), + 'receiver_id' => $user_id, + 'message' => $request->message, + 'is_read' => false + ]); + + \Log::info('Chat Created', [ + 'chat_id' => $chat->id + ]); + + return back()->with('success', 'Pesan terkirim'); + + } catch (\Exception $e) { + \Log::error('Error in Chat Store Method', [ + 'error' => $e->getMessage(), + 'trace' => $e->getTraceAsString() + ]); + + return back()->with('error', 'Gagal mengirim pesan: ' . $e->getMessage()); + } + } + + public function markAsRead($user_id) + { + try { + // Cek apakah user yang diminta ada + $chatUser = User::findOrFail($user_id); + + // Ambil sewa untuk keperluan chat + if (Auth::user()->tipe_pengguna === 'admin') { + $sewa = $this->getOrCreateSewaForChat($chatUser->id); + } else { + $sewa = $this->getOrCreateSewaForChat(Auth::id()); + } + + Chat::where('sewa_id', $sewa->id) + ->where('sender_id', '!=', auth()->id()) + ->where('is_read', false) + ->update(['is_read' => true]); + + return response()->json(['success' => true]); + } catch (\Exception $e) { + return response()->json([ + 'error' => 'Terjadi kesalahan: ' . $e->getMessage() + ], 500); + } + } + + public function getUnreadCount() + { + $query = Chat::where('is_read', false) + ->where('sender_id', '!=', auth()->id()); + + if (auth()->user()->tipe_pengguna !== 'admin') { + $query->whereHas('sewa', function($q) { + $q->where('user_id', auth()->id()); + }); + } + + $unreadCount = $query->count(); + + return response()->json(['count' => $unreadCount]); + } + + // Helper untuk mendapatkan ID admin pertama (untuk chat dari user ke admin) + public static function getFirstAdminId() + { + $admin = User::where('tipe_pengguna', 'admin')->first(); + return $admin ? $admin->id : 1; // Default ke ID 1 jika tidak ada admin + } +} \ No newline at end of file diff --git a/app/Http/Controllers/ContactInfoController.php b/app/Http/Controllers/ContactInfoController.php new file mode 100644 index 0000000..7cc2e40 --- /dev/null +++ b/app/Http/Controllers/ContactInfoController.php @@ -0,0 +1,41 @@ +validate([ + 'title' => 'required|string|max:255', + 'description' => 'nullable|string', + 'name' => 'required|string|max:255', + 'address' => 'nullable|string', + 'phone' => 'nullable|string|max:20', + 'email' => 'nullable|email|max:255', + 'whatsapp' => 'nullable|string|max:20', + ]); + + ContactInfo::updateOrCreate( + ['id' => 1], + $request->all() + ); + + return redirect()->back()->with('success', 'Informasi kontak berhasil diperbarui'); + } + + public function show() + { + $contactInfo = ContactInfo::where('is_active', true)->first(); + return view('contact.hubungikami', compact('contactInfo')); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php new file mode 100644 index 0000000..77ec359 --- /dev/null +++ b/app/Http/Controllers/Controller.php @@ -0,0 +1,12 @@ +user(); + + // Mengambil statistik + $stats = [ + 'active_rentals' => Sewa::where('user_id', $user->id) + ->whereIn('status', ['menunggu', 'diproses']) + ->count(), + 'total_rentals' => Sewa::where('user_id', $user->id)->count(), + 'total_spent' => Sewa::where('user_id', $user->id) + ->where('status', 'selesai') + ->sum('total_harga') + ]; + + // Mengambil riwayat sewa terakhir + $recent_rentals = $this->getRecentRentals($user->id); + + return view('customer.dashboard', compact('stats', 'recent_rentals')); + } + + private function getRecentRentals($userId) + { + $rentals = Sewa::with('paket') + ->where('user_id', $userId) + ->latest() + ->take(5) + ->get(); + + return $rentals->map(function ($rental) { + $statusColors = [ + 'menunggu' => 'yellow', + 'diproses' => 'blue', + 'selesai' => 'green', + 'dibatalkan' => 'red' + ]; + + $statusIcons = [ + 'menunggu' => 'M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z', + 'diproses' => 'M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15', + 'selesai' => 'M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z', + 'dibatalkan' => 'M6 18L18 6M6 6l12 12' + ]; + + return [ + 'package_name' => $rental->paket->nama_paket, + 'status' => ucfirst($rental->status), + 'status_color' => $statusColors[$rental->status] ?? 'gray', + 'icon' => $statusIcons[$rental->status] ?? '', + 'description' => "Sewa pada " . Carbon::parse($rental->created_at)->format('d M Y'), + 'date' => Carbon::parse($rental->created_at)->diffForHumans() + ]; + }); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php new file mode 100644 index 0000000..ab9e416 --- /dev/null +++ b/app/Http/Controllers/DashboardController.php @@ -0,0 +1,207 @@ +tipe_pengguna; + + // Data untuk dashboard + $stats = [ + 'pengguna' => User::where('tipe_pengguna', 'user')->count(), + 'admin' => User::where('tipe_pengguna', 'admin')->count(), + 'total_pengguna' => User::count(), + 'barang' => Barang::count(), + 'sewa' => DB::table('sewas')->count() + ]; + + // Data grafik per tahun + $yearlyStats = DB::table('sewas') + ->select( + DB::raw('YEAR(created_at) as tahun'), + DB::raw('COUNT(*) as total_sewa'), + DB::raw('SUM(total_harga) as total_pemasukan'), + DB::raw('0 as total_pengeluaran') // Sementara set 0 karena belum ada kolom biaya_operasional + ) + ->groupBy('tahun') + ->orderBy('tahun', 'ASC') + ->get(); + + // Jika tidak ada data, tambahkan data dummy untuk tahun ini + if ($yearlyStats->isEmpty()) { + $yearlyStats = collect([ + (object)[ + 'tahun' => date('Y'), + 'total_sewa' => 0, + 'total_pemasukan' => 0, + 'total_pengeluaran' => 0 + ] + ]); + } + + // Data pertumbuhan pengguna per tahun + $userGrowth = DB::table('users') + ->select( + DB::raw('YEAR(created_at) as tahun'), + DB::raw('COUNT(*) as total_pengguna') + ) + ->groupBy('tahun') + ->orderBy('tahun', 'ASC') + ->get(); + + // Jika tidak ada data pengguna, tambahkan data dummy + if ($userGrowth->isEmpty()) { + $userGrowth = collect([ + (object)[ + 'tahun' => date('Y'), + 'total_pengguna' => User::count() + ] + ]); + } + + // Format data untuk grafik + $chartData = [ + 'labels' => $yearlyStats->pluck('tahun')->toArray(), + 'datasets' => [ + [ + 'label' => 'Pemasukan', + 'data' => $yearlyStats->pluck('total_pemasukan')->toArray(), + 'backgroundColor' => 'rgba(34, 197, 94, 0.2)', + 'borderColor' => 'rgb(34, 197, 94)', + 'borderWidth' => 2, + 'tension' => 0.4 + ], + [ + 'label' => 'Pengeluaran', + 'data' => $yearlyStats->pluck('total_pengeluaran')->toArray(), + 'backgroundColor' => 'rgba(239, 68, 68, 0.2)', + 'borderColor' => 'rgb(239, 68, 68)', + 'borderWidth' => 2, + 'tension' => 0.4 + ], + [ + 'label' => 'Total Sewa', + 'data' => $yearlyStats->pluck('total_sewa')->toArray(), + 'backgroundColor' => 'rgba(59, 130, 246, 0.2)', + 'borderColor' => 'rgb(59, 130, 246)', + 'borderWidth' => 2, + 'tension' => 0.4 + ] + ] + ]; + + $userChartData = [ + 'labels' => $userGrowth->pluck('tahun')->toArray(), + 'datasets' => [ + [ + 'label' => 'Total Pengguna', + 'data' => $userGrowth->pluck('total_pengguna')->toArray(), + 'backgroundColor' => 'rgba(139, 92, 246, 0.2)', + 'borderColor' => 'rgb(139, 92, 246)', + 'borderWidth' => 2, + 'tension' => 0.4, + 'fill' => true + ] + ] + ]; + + // Debug data + // dd($chartData, $userChartData); + + // Data aktivitas + $aktivitas = []; + + // Jika user adalah admin, tampilkan semua data + if ($userType === 'admin') { + // Ambil user terbaru yang mendaftar (baik admin maupun user) + $latestUsers = User::latest()->take(5)->get(); + + foreach ($latestUsers as $user) { + $aktivitas[] = [ + 'type' => 'pengguna', + 'title' => 'Pengguna ' . ucfirst($user->tipe_pengguna), + 'description' => $user->nama . ' (' . $user->tipe_pengguna . ')', + 'time' => Carbon::parse($user->created_at)->diffForHumans(), + 'icon_color' => $user->tipe_pengguna === 'admin' ? 'indigo' : 'blue' + ]; + } + + // Tambahkan aktivitas sewa terbaru + $latestSewa = Sewa::with(['user', 'paket'])->latest()->first(); + if ($latestSewa) { + $aktivitas[] = [ + 'type' => 'sewa', + 'title' => 'Pemesanan Baru', + 'description' => $latestSewa->user->nama . ' memesan paket ' . $latestSewa->paket->nama_paket, + 'time' => Carbon::parse($latestSewa->created_at)->diffForHumans(), + 'icon_color' => 'green' + ]; + } + } else { + // Jika user adalah customer, hanya tampilkan data terbatas + $aktivitas[] = [ + 'type' => 'info', + 'title' => 'Selamat Datang', + 'description' => 'Anda login sebagai pengguna biasa. Anda hanya dapat melihat informasi.', + 'time' => 'Saat ini', + 'icon_color' => 'blue' + ]; + + // Tampilkan riwayat sewa pengguna ini saja + $userSewa = Sewa::where('user_id', Auth::id()) + ->with('paket') + ->latest() + ->first(); + + if ($userSewa) { + $aktivitas[] = [ + 'type' => 'sewa', + 'title' => 'Pesanan Terakhir Anda', + 'description' => 'Paket: ' . $userSewa->paket->nama_paket, + 'time' => Carbon::parse($userSewa->created_at)->diffForHumans(), + 'icon_color' => 'green' + ]; + } + } + + return view('dashboard', compact('stats', 'chartData', 'userChartData', 'aktivitas', 'userType')); + } + + /** + * Menampilkan halaman profile + * + * @return \Illuminate\View\View + */ + public function showProfile() + { + return view('profile'); + } + + /** + * Update profile (dummy) + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse + */ + public function updateProfile(Request $request) + { + // Proses update profile akan ditambahkan nanti + return redirect()->back()->with('success', 'Profile berhasil diperbarui'); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/OngkirKotaController.php b/app/Http/Controllers/OngkirKotaController.php new file mode 100644 index 0000000..5cdde2c --- /dev/null +++ b/app/Http/Controllers/OngkirKotaController.php @@ -0,0 +1,84 @@ +get(); + return view('admin.ongkir-kota.index', compact('kotas')); + } + + public function create() + { + return view('admin.ongkir-kota.create'); + } + + public function store(Request $request) + { + $request->validate([ + 'kotas.*.nama_kota' => 'required|string|max:255|unique:ongkir_kota,nama_kota', + 'kotas.*.biaya_ongkir' => 'required|numeric|min:0', + ], [ + 'kotas.*.nama_kota.required' => 'Nama kota harus diisi', + 'kotas.*.nama_kota.unique' => 'Nama kota sudah ada', + 'kotas.*.biaya_ongkir.required' => 'Biaya ongkir harus diisi', + 'kotas.*.biaya_ongkir.numeric' => 'Biaya ongkir harus berupa angka', + 'kotas.*.biaya_ongkir.min' => 'Biaya ongkir minimal 0', + ]); + + try { + foreach ($request->kotas as $kota) { + OngkirKota::create([ + 'nama_kota' => $kota['nama_kota'], + 'biaya_ongkir' => $kota['biaya_ongkir'], + 'status' => true + ]); + } + + return redirect()->route('admin.ongkir-kota.index') + ->with('success', 'Data ongkir kota berhasil ditambahkan'); + } catch (\Exception $e) { + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage()) + ->withInput(); + } + } + + public function edit($id) + { + $kota = OngkirKota::findOrFail($id); + return view('admin.ongkir-kota.edit', compact('kota')); + } + + public function update(Request $request, $id) + { + $kota = OngkirKota::findOrFail($id); + + $request->validate([ + 'nama_kota' => 'required|string|max:255|unique:ongkir_kota,nama_kota,' . $id, + 'biaya_ongkir' => 'required|numeric|min:0', + ]); + + $kota->update([ + 'nama_kota' => $request->nama_kota, + 'biaya_ongkir' => $request->biaya_ongkir, + 'status' => $request->has('status') + ]); + + return redirect()->route('admin.ongkir-kota.index') + ->with('success', 'Data ongkir kota berhasil diperbarui'); + } + + public function destroy($id) + { + $kota = OngkirKota::findOrFail($id); + $kota->delete(); + + return redirect()->route('admin.ongkir-kota.index') + ->with('success', 'Data ongkir kota berhasil dihapus'); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/PaketBarangController.php b/app/Http/Controllers/PaketBarangController.php new file mode 100644 index 0000000..31d1fa7 --- /dev/null +++ b/app/Http/Controllers/PaketBarangController.php @@ -0,0 +1,62 @@ +validate([ + 'jumlah' => 'required|integer|min:1', + ]); + + $paketBarang = PaketBarang::findOrFail($id); + + // Cek stok barang yang tersedia + $barangData = \App\Http\Controllers\BarangController::getBarangData(); + $barangStok = 0; + + foreach ($barangData as $barang) { + if ($barang['id'] == $paketBarang->barang_id) { + $barangStok = $barang['stok']; + break; + } + } + + // Validasi jumlah tidak melebihi stok + if ($request->jumlah > $barangStok) { + return response()->json([ + 'success' => false, + 'message' => 'Jumlah melebihi stok tersedia' + ], 400); + } + + $paketBarang->jumlah = $request->jumlah; + $paketBarang->save(); + + return response()->json([ + 'success' => true, + 'message' => 'Jumlah barang berhasil diperbarui' + ]); + } + + /** + * Hapus barang dari paket + */ + public function destroy($id) + { + $paketBarang = PaketBarang::findOrFail($id); + $paketBarang->delete(); + + return response()->json([ + 'success' => true, + 'message' => 'Barang berhasil dihapus dari paket' + ]); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/PaketController.php b/app/Http/Controllers/PaketController.php new file mode 100644 index 0000000..d8a4028 --- /dev/null +++ b/app/Http/Controllers/PaketController.php @@ -0,0 +1,401 @@ +middleware('auth'); + // Terapkan middleware admin hanya untuk method yang membutuhkan akses admin + $this->middleware('admin')->only([ + 'create', 'store', 'edit', 'update', 'destroy', 'activate', + 'tambahBarang', 'updateJumlah' + ]); + } + + /** + * Menampilkan daftar paket + */ + public function index() + { + $pakets = Paket::with('barangs')->get(); + return view('paket', compact('pakets')); + } + + /** + * Menampilkan form untuk membuat paket baru + */ + public function create() + { + // Ambil data barang yang masih ada stoknya + $barangs = StockModel::where('stok', '>', 0)->get(); + return view('tambah-paket', compact('barangs')); + } + + /** + * Menyimpan paket baru + */ + public function store(Request $request) + { + $request->validate([ + 'nama_paket' => 'required|string|max:255', + 'jenis_paket' => 'required|in:wedding,seminar,outdoor,custom', + 'harga' => 'required|numeric|min:0', + 'stok' => 'required|integer|min:1', + 'keterangan' => 'nullable|string', + 'image' => 'nullable|image|mimes:jpeg,png,jpg,gif|max:2048', + 'ongkir.*.nama_kota' => 'nullable|string|max:255', + 'ongkir.*.biaya_ongkir' => 'nullable|numeric|min:0', + ]); + + try { + DB::beginTransaction(); + + // Upload gambar jika ada + $imagePath = null; + if ($request->hasFile('image')) { + $imagePath = $request->file('image')->store('paket-images', 'public'); + } + + // Simpan data paket + $paket = Paket::create([ + 'nama_paket' => $request->nama_paket, + 'jenis_paket' => $request->jenis_paket, + 'harga' => $request->harga, + 'stok' => $request->stok, + 'keterangan' => $request->keterangan, + 'image' => $imagePath, + 'status' => 'aktif' + ]); + + // Simpan data ongkir kota + if ($request->has('ongkir')) { + foreach ($request->ongkir as $ongkir) { + if (!empty($ongkir['nama_kota']) && !empty($ongkir['biaya_ongkir'])) { + $paket->ongkirKota()->create([ + 'nama_kota' => $ongkir['nama_kota'], + 'biaya_ongkir' => $ongkir['biaya_ongkir'], + 'status' => true + ]); + } + } + } + + DB::commit(); + return redirect()->route('paket.index')->with('success', 'Paket berhasil ditambahkan'); + } catch (\Exception $e) { + DB::rollback(); + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage())->withInput(); + } + } + + /** + * Menampilkan form untuk mengedit paket + */ + public function edit($id) + { + $paket = Paket::with(['barangs', 'ongkirKota'])->findOrFail($id); + $barangs = StockModel::all(); + return view('edit-paket', compact('paket', 'barangs')); + } + + /** + * Update data paket + */ + public function update(Request $request, $id) + { + $request->validate([ + 'nama_paket' => 'required|string|max:255', + 'jenis_paket' => 'required|string|in:wedding,seminar,outdoor,custom', + 'harga' => 'required|numeric|min:0', + 'image' => 'nullable|image|mimes:jpeg,png,jpg,gif|max:2048', + 'keterangan' => 'nullable|string', + 'stok' => 'required|integer|min:0', + 'ongkir.*.nama_kota' => 'nullable|string|max:255', + 'ongkir.*.biaya_ongkir' => 'nullable|numeric|min:0', + ]); + + try { + DB::beginTransaction(); + + $paket = Paket::findOrFail($id); + + // Upload gambar jika ada + if ($request->hasFile('image')) { + // Hapus gambar lama + if ($paket->image) { + Storage::disk('public')->delete($paket->image); + } + $imagePath = $request->file('image')->store('pakets', 'public'); + $paket->image = $imagePath; + } + + $paket->update([ + 'nama_paket' => $request->nama_paket, + 'jenis_paket' => $request->jenis_paket, + 'harga' => $request->harga, + 'keterangan' => $request->keterangan, + 'stok' => $request->stok + ]); + + // Update ongkir kota + if ($request->has('ongkir')) { + // Hapus data ongkir yang lama + $paket->ongkirKota()->delete(); + + // Tambah data ongkir yang baru + foreach ($request->ongkir as $ongkir) { + if (!empty($ongkir['nama_kota']) && !empty($ongkir['biaya_ongkir'])) { + $paket->ongkirKota()->create([ + 'nama_kota' => $ongkir['nama_kota'], + 'biaya_ongkir' => $ongkir['biaya_ongkir'], + 'status' => true + ]); + } + } + } + + DB::commit(); + return redirect()->route('paket')->with('success', 'Paket berhasil diperbarui!'); + + } catch (\Exception $e) { + DB::rollback(); + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage())->withInput(); + } + } + + /** + * Hapus paket + */ + public function destroy($id) + { + try { + DB::beginTransaction(); + + $paket = Paket::findOrFail($id); + + // Hapus gambar jika ada + if ($paket->image) { + Storage::disk('public')->delete($paket->image); + } + + // Kembalikan stok barang + foreach ($paket->barangs as $barang) { + $jumlah = $barang->pivot->jumlah; + $barang->increment('stok', $jumlah); + } + + $paket->delete(); + + DB::commit(); + return redirect()->route('paket')->with('success', 'Paket berhasil dihapus!'); + + } catch (\Exception $e) { + DB::rollback(); + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } + + /** + * Mendapatkan daftar barang dalam paket + */ + public function getBarang($id) + { + try { + $paket = Paket::with('barangs')->findOrFail($id); + + $result = []; + foreach ($paket->barangs as $barang) { + $result[] = [ + 'id' => $barang->pivot->id, + 'barang_id' => $barang->id, + 'nama_barang' => $barang->nama_barang, + 'kode_barang' => $barang->kode_barang, + 'kategori' => $barang->kategori, + 'harga_sewa' => $barang->harga_sewa, + 'stok' => $barang->stok, + 'jumlah' => $barang->pivot->jumlah, + 'image_url' => $barang->image_url + ]; + } + + return response()->json([ + 'success' => true, + 'data' => $result + ]); + + } catch (\Exception $e) { + return response()->json([ + 'success' => false, + 'message' => 'Terjadi kesalahan: ' . $e->getMessage() + ], 500); + } + } + + /** + * Menambahkan barang ke paket + */ + public function tambahBarang(Request $request, $id) + { + $request->validate([ + 'barang_id' => 'required|exists:barangs,id', + 'jumlah' => 'required|integer|min:1', + ]); + + try { + DB::beginTransaction(); + + $paket = Paket::findOrFail($id); + $barang = StockModel::findOrFail($request->barang_id); + + // Validasi stok + if ($barang->stok < $request->jumlah) { + throw new \Exception("Stok barang {$barang->nama_barang} tidak mencukupi"); + } + + // Cek apakah barang sudah ada dalam paket + $existing = $paket->barangs()->where('barang_id', $request->barang_id)->first(); + + if ($existing) { + // Update jumlah jika sudah ada + $oldJumlah = $existing->pivot->jumlah; + $selisih = $request->jumlah - $oldJumlah; + + if ($selisih > 0 && $barang->stok < $selisih) { + throw new \Exception("Stok barang {$barang->nama_barang} tidak mencukupi"); + } + + $paket->barangs()->updateExistingPivot($request->barang_id, [ + 'jumlah' => $request->jumlah + ]); + + // Update stok barang + $barang->decrement('stok', $selisih); + } else { + // Tambahkan baru jika belum ada + $paket->barangs()->attach($request->barang_id, [ + 'jumlah' => $request->jumlah + ]); + + // Kurangi stok barang + $barang->decrement('stok', $request->jumlah); + } + + DB::commit(); + return response()->json([ + 'success' => true, + 'message' => 'Barang berhasil ditambahkan ke paket', + 'data' => [ + 'nama_barang' => $barang->nama_barang, + 'jumlah' => $request->jumlah, + 'stok_tersisa' => $barang->stok + ] + ]); + + } catch (\Exception $e) { + DB::rollback(); + return response()->json([ + 'success' => false, + 'message' => 'Terjadi kesalahan: ' . $e->getMessage() + ], 500); + } + } + + public function updateJumlah(Request $request, $id) + { + try { + $paket = Paket::findOrFail($id); + + $request->validate([ + 'jumlah' => 'required|integer|min:1' + ]); + + // Update detail_barang dengan jumlah baru + if ($paket->detail_barang) { + $detail_barang = $paket->detail_barang; + foreach ($detail_barang as &$barang) { + $barang['jumlah'] = $request->jumlah; + } + $paket->detail_barang = $detail_barang; + $paket->save(); + } + + return response()->json([ + 'success' => true, + 'message' => 'Jumlah berhasil diperbarui' + ]); + } catch (\Exception $e) { + return response()->json([ + 'success' => false, + 'message' => 'Gagal memperbarui jumlah: ' . $e->getMessage() + ], 500); + } + } + + /** + * Mengaktifkan satu unit paket yang sedang disewa + */ + public function activate($id) + { + try { + DB::beginTransaction(); + + $paket = Paket::findOrFail($id); + + // Ambil sewa yang paling lama (terlama) untuk diaktifkan + $oldestSewa = $paket->sewas() + ->whereIn('status', ['confirmed', 'ongoing']) + ->orderBy('tanggal_mulai', 'asc') + ->first(); + + if (!$oldestSewa) { + return redirect()->route('paket')->with('error', 'Tidak ada penyewaan aktif yang dapat diselesaikan.'); + } + + // Update status sewa menjadi completed hanya untuk sewa terlama + $oldestSewa->update(['status' => 'completed']); + + DB::commit(); + return redirect()->route('paket')->with('success', 'Satu unit paket berhasil diaktifkan kembali.'); + } catch (\Exception $e) { + DB::rollback(); + return redirect()->route('paket')->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } + + /** + * Mengaktifkan semua unit paket yang sedang disewa + */ + public function activateAll($id) + { + try { + DB::beginTransaction(); + + $paket = Paket::findOrFail($id); + + // Update status semua sewa yang masih aktif menjadi completed + $count = $paket->sewas() + ->whereIn('status', ['confirmed', 'ongoing']) + ->update(['status' => 'completed']); + + if ($count === 0) { + return redirect()->route('paket')->with('error', 'Tidak ada penyewaan aktif yang dapat diselesaikan.'); + } + + DB::commit(); + return redirect()->route('paket')->with('success', 'Semua unit paket berhasil diaktifkan kembali.'); + } catch (\Exception $e) { + DB::rollback(); + return redirect()->route('paket')->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } +} \ No newline at end of file diff --git a/app/Http/Controllers/PenggunaController.php b/app/Http/Controllers/PenggunaController.php new file mode 100644 index 0000000..955d4b4 --- /dev/null +++ b/app/Http/Controllers/PenggunaController.php @@ -0,0 +1,96 @@ +get(); + return view('pengguna', compact('pengguna')); + } + + /** + * Menampilkan form tambah pengguna + * + * @return \Illuminate\View\View + */ + public function create() + { + return view('tambah-pengguna'); + } + + /** + * Menyimpan pengguna baru + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\RedirectResponse + */ + public function store(Request $request) + { + try { + DB::beginTransaction(); + + $validated = $request->validate([ + 'nama' => 'required|string|max:255', + 'username' => 'required|string|max:255|unique:users', + 'email' => 'required|string|email|max:255|unique:users', + 'no_telp' => 'required|string|max:20', + 'alamat' => 'required|string', + 'password' => 'required|string|min:8', + 'tipe_pengguna' => 'required|in:admin,user' + ]); + + $validated['password'] = Hash::make($validated['password']); + + $user = User::create($validated); + + DB::commit(); + + return redirect()->route('pengguna') + ->with('success', 'Admin berhasil ditambahkan'); + + } catch (\Exception $e) { + DB::rollback(); + Log::error('Error saat menambah admin: ' . $e->getMessage()); + + return redirect()->back() + ->withInput() + ->withErrors(['error' => 'Terjadi kesalahan saat menyimpan data. Silakan coba lagi.']); + } + } + + /** + * Menghapus pengguna + * + * @param int $id + * @return \Illuminate\Http\RedirectResponse + */ + public function destroy($id) + { + try { + $user = User::findOrFail($id); + $user->delete(); + + return redirect()->route('pengguna') + ->with('success', 'Admin berhasil dihapus'); + + } catch (\Exception $e) { + Log::error('Error saat menghapus admin: ' . $e->getMessage()); + + return redirect()->back() + ->withErrors(['error' => 'Terjadi kesalahan saat menghapus data.']); + } + } +} \ No newline at end of file diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php new file mode 100644 index 0000000..257a5f9 --- /dev/null +++ b/app/Http/Controllers/ProfileController.php @@ -0,0 +1,77 @@ +validate([ + 'username' => [ + 'required', + 'string', + 'max:255', + Rule::unique('users')->ignore($user->id) + ], + 'email' => [ + 'required', + 'string', + 'email', + 'max:255', + Rule::unique('users')->ignore($user->id) + ], + 'phone' => ['required', 'string', 'max:15'], + 'address' => ['required', 'string', 'max:255'], + 'password' => ['nullable', 'string', 'min:8'], + ], [ + 'username.required' => 'Username harus diisi', + 'username.unique' => 'Username sudah digunakan', + 'email.required' => 'Email harus diisi', + 'email.email' => 'Format email tidak valid', + 'email.unique' => 'Email sudah digunakan', + 'phone.required' => 'Nomor telepon harus diisi', + 'address.required' => 'Alamat harus diisi', + 'password.min' => 'Password minimal 8 karakter', + ]); + + try { + // Update data user + $userData = [ + 'username' => $request->username, + 'email' => $request->email, + 'no_telp' => $request->phone, + 'alamat' => $request->address, + ]; + + // Update password jika diisi + if ($request->filled('password')) { + $userData['password'] = Hash::make($request->password); + } + + $user->update($userData); + + return redirect()->route('profile.index') + ->with('success', 'Profil berhasil diperbarui'); + } catch (\Exception $e) { + return redirect()->back() + ->with('error', 'Terjadi kesalahan saat memperbarui profil') + ->withInput(); + } + } +} \ No newline at end of file diff --git a/app/Http/Controllers/RiwayatController.php b/app/Http/Controllers/RiwayatController.php new file mode 100644 index 0000000..44c7641 --- /dev/null +++ b/app/Http/Controllers/RiwayatController.php @@ -0,0 +1,117 @@ +where('user_id', Auth::id()) + ->where('status', '!=', 'draft') + ->orderBy('created_at', 'desc') + ->get(); + + return view('riwayat', compact('sewas')); + } + + /** + * Menampilkan detail riwayat pemesanan + */ + public function show($id) + { + $sewa = Sewa::with('paket')->findOrFail($id); + + // Pastikan yang melihat adalah pemilik pesanan + if ($sewa->user_id != Auth::id() && !Auth::user()->tipe_pengguna == 'admin') { + return redirect()->route('riwayat') + ->with('error', 'Anda tidak memiliki akses untuk melihat pesanan ini.'); + } + + return view('detail-riwayat', compact('sewa')); + } + + /** + * Membatalkan pemesanan + */ + public function cancel($id) + { + $sewa = Sewa::findOrFail($id); + + // Pastikan yang membatalkan adalah pemilik pesanan + if ($sewa->user_id != Auth::id()) { + return redirect()->route('riwayat') + ->with('error', 'Anda tidak memiliki akses untuk membatalkan pesanan ini.'); + } + + // Izinkan pembatalan untuk status yang belum selesai atau dibatalkan + if (in_array($sewa->status, ['completed', 'dibatalkan', 'ongoing'])) { + return redirect()->route('riwayat') + ->with('error', 'Pesanan ini tidak dapat dibatalkan karena status sudah ' . $sewa->status); + } + + // Tambahkan catatan jika pembatalan setelah disetujui + if ($sewa->status === 'confirmed') { + $sewa->catatan = ($sewa->catatan ? $sewa->catatan . "\n" : '') . + "[DIBATALKAN OLEH PENYEWA SETELAH DISETUJUI] - " . now(); + } + + $sewa->status = 'dibatalkan'; + $sewa->save(); + + $message = 'Pesanan berhasil dibatalkan.'; + if ($sewa->status === 'confirmed') { + $message .= ' Mohon hubungi admin untuk informasi biaya pembatalan.'; + } + + return redirect()->route('riwayat') + ->with('success', $message); + } + + /** + * Halaman untuk admin melihat semua riwayat pesanan + */ + public function adminIndex() + { + // Hanya admin yang bisa akses + if (!Auth::user()->tipe_pengguna == 'admin') { + return redirect()->route('dashboard'); + } + + $sewas = Sewa::with(['paket', 'user']) + ->orderBy('created_at', 'desc') + ->get(); + + return view('admin.riwayat', compact('sewas')); + } + + /** + * Mengubah status pemesanan (khusus admin) + */ + public function updateStatus(Request $request, $id) + { + // Hanya admin yang bisa akses + if (!Auth::user()->tipe_pengguna == 'admin') { + return redirect()->route('dashboard'); + } + + $request->validate([ + 'status' => 'required|in:pending,confirmed,ongoing,completed,dibatalkan', + ]); + + $sewa = Sewa::findOrFail($id); + $sewa->status = $request->status; + $sewa->save(); + + return redirect()->route('admin.riwayat') + ->with('success', 'Status pesanan berhasil diperbarui.'); + } +} \ No newline at end of file diff --git a/app/Http/Controllers/SewaController.php b/app/Http/Controllers/SewaController.php new file mode 100644 index 0000000..1018982 --- /dev/null +++ b/app/Http/Controllers/SewaController.php @@ -0,0 +1,280 @@ +latest() + ->get(); + + return view('sewa', compact('pakets')); + } + + /** + * Menampilkan riwayat sewa + */ + public function riwayat(Request $request) + { + $query = Sewa::with(['user', 'paket']); + + // Jika view=all dan user adalah admin, tampilkan semua data sewa + if ($request->view == 'all' && auth()->user()->tipe_pengguna === 'admin') { + $sewas = $query->orderBy('created_at', 'desc')->get(); + return view('sewa.index', [ + 'sewas' => $sewas, + 'showDetailPenyewa' => true + ]); + } + + // Jika user biasa, hanya tampilkan sewa miliknya + if (auth()->user()->tipe_pengguna !== 'admin') { + $query->where('user_id', auth()->id()); + } + + $sewas = $query->orderBy('created_at', 'desc')->get(); + return view('sewa.index', [ + 'sewas' => $sewas, + 'showDetailPenyewa' => false + ]); + } + + /** + * Menampilkan form pemesanan paket + */ + public function create($id) + { + $paket = Paket::with('ongkirKota')->findOrFail($id); + return view('sewa.create', compact('paket')); + } + + /** + * Menyimpan data sewa baru + */ + public function store(Request $request) + { + $request->validate([ + 'paket_id' => 'required|exists:pakets,id', + 'tanggal_mulai' => 'required|date', + 'tanggal_selesai' => 'required|date|after_or_equal:tanggal_mulai', + 'lokasi' => 'required|string', + 'kota_id' => 'required|exists:paket_ongkir_kota,id', + 'catatan' => 'nullable|string', + ]); + + try { + $paket = Paket::findOrFail($request->paket_id); + $kota = PaketOngkirKota::where('id', $request->kota_id) + ->where('paket_id', $request->paket_id) + ->firstOrFail(); + + // Hitung durasi sewa dalam hari + $tanggal_mulai = Carbon::parse($request->tanggal_mulai); + $tanggal_selesai = Carbon::parse($request->tanggal_selesai); + $durasi = $tanggal_mulai->diffInDays($tanggal_selesai) + 1; + + // Ambil ongkir dari kota yang dipilih + $ongkir = $kota->biaya_ongkir; + + // Hitung total harga + $total_harga = ($paket->harga * $durasi) + $ongkir; + + $sewa = Sewa::create([ + 'user_id' => auth()->id(), + 'paket_id' => $request->paket_id, + 'kota_id' => $kota->id, + 'ongkir' => $ongkir, + 'tanggal_mulai' => $request->tanggal_mulai, + 'tanggal_selesai' => $request->tanggal_selesai, + 'lokasi' => $request->lokasi, + 'catatan' => $request->catatan, + 'total_harga' => $total_harga, + 'status' => 'pending' + ]); + + return redirect()->route('sewa.show', $sewa->id) + ->with('success', 'Silakan upload bukti pembayaran dan jaminan untuk melanjutkan proses penyewaan.'); + } catch (\Exception $e) { + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } + + public function show($id) + { + $sewa = Sewa::with(['paket', 'user', 'kota'])->findOrFail($id); + return view('sewa.show', compact('sewa')); + } + + public function uploadBukti(Request $request, $id) + { + $request->validate([ + 'nominal_pembayaran' => 'required|numeric|min:0', + 'bukti_pembayaran' => 'required|image|max:2048', // max 2MB + 'jenis_jaminan' => 'required|in:ktp,sim', + 'foto_jaminan' => 'required|image|max:2048', // max 2MB + ]); + + try { + $sewa = Sewa::findOrFail($id); + + // Validasi nominal pembayaran + if ($request->nominal_pembayaran > $sewa->total_harga) { + return back()->with('error', 'Nominal pembayaran tidak boleh melebihi total harga sewa.'); + } + + // Pastikan yang mengupload adalah pemilik sewa + if ($sewa->user_id !== auth()->id()) { + return back()->with('error', 'Anda tidak memiliki akses untuk mengupload bukti pembayaran ini.'); + } + + // Pastikan status masih pending + if ($sewa->status !== 'pending') { + return back()->with('error', 'Status sewa tidak valid untuk upload bukti pembayaran.'); + } + + if ($request->hasFile('bukti_pembayaran') && $request->hasFile('foto_jaminan')) { + // Hapus file lama jika ada + if ($sewa->bukti_pembayaran) { + Storage::disk('public')->delete($sewa->bukti_pembayaran); + } + if ($sewa->foto_jaminan) { + Storage::disk('public')->delete($sewa->foto_jaminan); + } + + // Simpan bukti pembayaran dengan nama unik + $pathBukti = $request->file('bukti_pembayaran')->store('bukti-pembayaran/' . date('Y/m'), 'public'); + + // Simpan foto jaminan dengan nama unik + $pathJaminan = $request->file('foto_jaminan')->store('jaminan/' . date('Y/m'), 'public'); + + // Update data sewa - status tetap pending menunggu verifikasi admin + $sewa->update([ + 'bukti_pembayaran' => $pathBukti, + 'jenis_jaminan' => $request->jenis_jaminan, + 'foto_jaminan' => $pathJaminan, + 'nominal_pembayaran' => $request->nominal_pembayaran, + 'tanggal_pembayaran' => now(), + 'status' => 'pending' // Status tetap pending sampai admin verifikasi + ]); + + return redirect()->route('riwayat') + ->with('success', 'Bukti pembayaran dan jaminan berhasil diupload. Mohon tunggu verifikasi dari admin.'); + } + + return back()->with('error', 'Terjadi kesalahan saat upload bukti pembayaran dan jaminan.'); + } catch (\Exception $e) { + return back()->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } + + public function uploadJaminan(Request $request, $id) + { + $request->validate([ + 'jenis_jaminan' => 'required|in:ktp,sim', + 'foto_jaminan' => 'required|image|max:2048', // max 2MB + ]); + + $sewa = Sewa::findOrFail($id); + + if ($request->hasFile('foto_jaminan')) { + // Hapus file jaminan lama jika ada + if ($sewa->foto_jaminan) { + Storage::disk('public')->delete($sewa->foto_jaminan); + } + + // Simpan file jaminan baru + $path = $request->file('foto_jaminan')->store('jaminan', 'public'); + + // Update data sewa + $sewa->jenis_jaminan = $request->jenis_jaminan; + $sewa->foto_jaminan = $path; + $sewa->save(); + + return redirect()->route('sewa.show', $sewa->id) + ->with('success', 'Jaminan berhasil diupload.'); + } + + return back()->with('error', 'Terjadi kesalahan saat upload jaminan.'); + } + + /** + * Membatalkan penyewaan + */ + public function batal($id) + { + $sewa = Sewa::findOrFail($id); + + // Pastikan yang membatalkan adalah pemilik sewa + if ($sewa->user_id !== auth()->id()) { + return back()->with('error', 'Anda tidak memiliki akses untuk membatalkan penyewaan ini.'); + } + + // Cek status sewa + if (!in_array($sewa->status, ['pending', 'confirmed'])) { + return back()->with('error', 'Penyewaan tidak dapat dibatalkan karena status sudah ' . $sewa->status); + } + + // Jika status sudah confirmed, tambahkan catatan pembatalan + if ($sewa->status === 'confirmed') { + $sewa->catatan = $sewa->catatan . "\n[DIBATALKAN OLEH PENYEWA SETELAH DISETUJUI] - " . now(); + } + + // Update status menjadi dibatalkan + $sewa->status = 'dibatalkan'; + $sewa->save(); + + return redirect()->route('sewa.riwayat') + ->with('success', 'Penyewaan berhasil dibatalkan.' . + ($sewa->status === 'confirmed' ? ' Mohon hubungi admin untuk informasi biaya pembatalan.' : '')); + } + + /** + * Mengambil detail sewa untuk ditampilkan di modal + */ + public function detail($id) + { + try { + $sewa = Sewa::with(['user', 'paket', 'kota']) + ->findOrFail($id); + + // Jika bukan admin, pastikan hanya bisa melihat sewa miliknya + if (auth()->user()->tipe_pengguna !== 'admin' && $sewa->user_id !== auth()->id()) { + return response()->json([ + 'error' => 'Unauthorized' + ], 403); + } + + // Format tanggal + $sewa->tanggal_mulai = Carbon::parse($sewa->tanggal_mulai)->format('d M Y'); + $sewa->tanggal_selesai = Carbon::parse($sewa->tanggal_selesai)->format('d M Y'); + + // Format angka + $sewa->total_harga = number_format($sewa->total_harga, 0, ',', '.'); + if ($sewa->nominal_pembayaran) { + $sewa->nominal_pembayaran = number_format($sewa->nominal_pembayaran, 0, ',', '.'); + } + + return response()->json($sewa); + } catch (\Exception $e) { + return response()->json([ + 'error' => 'Terjadi kesalahan: ' . $e->getMessage() + ], 500); + } + } +} \ No newline at end of file diff --git a/app/Http/Controllers/StockController.php b/app/Http/Controllers/StockController.php new file mode 100644 index 0000000..277d28a --- /dev/null +++ b/app/Http/Controllers/StockController.php @@ -0,0 +1,185 @@ +all()); + + // Validasi request + $validated = $request->validate([ + 'nama' => 'required|string|max:255', + 'stok' => 'required|integer|min:0' + ]); + + Log::info('Validasi berhasil. Data tervalidasi:', $validated); + + // Generate kode barang otomatis + $kodeBarang = 'BRG-' . strtoupper(Str::random(6)); + Log::info('Kode barang generated:', ['kode' => $kodeBarang]); + + // Upload gambar jika ada + $imagePath = null; + if ($request->hasFile('image')) { + Log::info('File gambar ditemukan'); + $file = $request->file('image'); + + if ($file->isValid()) { + Log::info('File valid, memulai proses upload'); + + // Buat nama file yang unik + $fileName = time() . '_' . Str::slug(pathinfo($file->getClientOriginalName(), PATHINFO_FILENAME)) . '.' . $file->getClientOriginalExtension(); + Log::info('Nama file yang akan disimpan:', ['filename' => $fileName]); + + // Pastikan direktori ada + if (!Storage::disk('public')->exists('barangs')) { + Log::info('Membuat direktori barangs'); + Storage::disk('public')->makeDirectory('barangs'); + } + + // Simpan file + $imagePath = $file->storeAs('barangs', $fileName, 'public'); + Log::info('File berhasil disimpan:', ['path' => $imagePath]); + + // Verifikasi file tersimpan + if (Storage::disk('public')->exists($imagePath)) { + Log::info('Verifikasi: File berhasil tersimpan di storage'); + } else { + Log::error('Verifikasi: File tidak ditemukan di storage'); + throw new \Exception('Gagal menyimpan file gambar'); + } + } else { + Log::error('File tidak valid:', ['error' => $file->getErrorMessage()]); + throw new \Exception('File upload tidak valid: ' . $file->getErrorMessage()); + } + } else { + Log::info('Tidak ada file gambar yang diupload'); + } + + // Buat record baru + $barang = StockModel::create([ + 'nama_barang' => $request->nama, + 'kode_barang' => $kodeBarang, + 'kategori' => 'Lainnya', + 'harga_sewa' => 0, + 'stok' => $request->stok, + 'status' => 'aktif' + ]); + + Log::info('Barang berhasil disimpan:', ['barang' => $barang->toArray()]); + Log::info('=== SELESAI: PROSES UPLOAD BARANG ==='); + + return redirect()->route('input-stock')->with('success', 'Barang berhasil ditambahkan!'); + } catch (\Exception $e) { + Log::error('=== ERROR SAAT UPLOAD BARANG ==='); + Log::error('Pesan error: ' . $e->getMessage()); + Log::error('Stack trace: ' . $e->getTraceAsString()); + + return back() + ->withInput() + ->with('error', 'Terjadi kesalahan: ' . $e->getMessage()); + } + } + + /** + * Menampilkan form untuk mengedit paket + */ + public function edit($id) + { + $barang = StockModel::findOrFail($id); + return view('stock.edit', compact('barang')); + } + + /** + * Update data paket + */ + public function update(Request $request, $id) + { + $request->validate([ + 'nama' => 'required|string|max:255', + 'stok' => 'required|integer|min:0', + ]); + + $barang = StockModel::findOrFail($id); + $barang->update([ + 'nama_barang' => $request->nama, + 'stok' => $request->stok + ]); + + return redirect()->route('input-stock')->with('success', 'Barang berhasil diperbarui!'); + } + + /** + * Menghapus paket + */ + public function destroy($id) + { + $barang = StockModel::findOrFail($id); + $barang->delete(); + + return redirect()->route('input-stock')->with('success', 'Barang berhasil dihapus!'); + } + + public function kelolaBarang($id) + { + $barang = StockModel::findOrFail($id); + return view('stock.kelola', compact('barang')); + } + + public function getBarangPaket($id) + { + $barang = StockModel::findOrFail($id); + return response()->json([ + 'success' => true, + 'barang' => $barang + ]); + } + + public function tambahBarang(Request $request, $id) + { + $request->validate([ + 'stok' => 'required|integer|min:1', + ]); + + $barang = StockModel::findOrFail($id); + $barang->increment('stok', $request->stok); + + return response()->json([ + 'success' => true, + 'message' => 'Stok barang berhasil ditambahkan' + ]); + } + + public function hapusBarang($id) + { + $barang = StockModel::findOrFail($id); + $barang->delete(); + + return response()->json([ + 'success' => true, + 'message' => 'Barang berhasil dihapus' + ]); + } +} diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php new file mode 100644 index 0000000..8d26579 --- /dev/null +++ b/app/Http/Kernel.php @@ -0,0 +1,80 @@ + + */ + protected $middleware = [ + // \App\Http\Middleware\TrustHosts::class, + \App\Http\Middleware\TrustProxies::class, + \Illuminate\Http\Middleware\HandleCors::class, + \App\Http\Middleware\PreventRequestsDuringMaintenance::class, + \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, + \App\Http\Middleware\TrimStrings::class, + \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, + ]; + + /** + * The application's route middleware groups. + * + * @var array> + */ + protected $middlewareGroups = [ + 'web' => [ + \App\Http\Middleware\EncryptCookies::class, + \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, + \Illuminate\Session\Middleware\StartSession::class, + \Illuminate\View\Middleware\ShareErrorsFromSession::class, + \App\Http\Middleware\VerifyCsrfToken::class, + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + + 'api' => [ + \Illuminate\Routing\Middleware\ThrottleRequests::class.':api', + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + ]; + + /** + * The application's middleware aliases. + * + * Aliases may be used instead of class names to conveniently assign middleware to routes and groups. + * + * @var array + */ + protected $middlewareAliases = [ + 'auth' => \App\Http\Middleware\Authenticate::class, + 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, + 'signed' => \App\Http\Middleware\ValidateSignature::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + ]; + + protected $routeMiddleware = [ + 'auth' => \App\Http\Middleware\Authenticate::class, + 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, + 'signed' => \App\Http\Middleware\ValidateSignature::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + 'admin' => \App\Http\Middleware\AdminMiddleware::class, + ]; +} \ No newline at end of file diff --git a/app/Http/Middleware/AdminMiddleware.php b/app/Http/Middleware/AdminMiddleware.php new file mode 100644 index 0000000..a5651b3 --- /dev/null +++ b/app/Http/Middleware/AdminMiddleware.php @@ -0,0 +1,24 @@ +check() || auth()->user()->tipe_pengguna !== 'admin') { + return redirect()->route('dashboard')->with('error', 'Anda tidak memiliki akses ke halaman ini.'); + } + + return $next($request); + } +} \ No newline at end of file diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php new file mode 100644 index 0000000..4c52a21 --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,21 @@ +expectsJson()) { + session()->put('url.intended', url()->current()); + return route('login'); + } + return null; + } +} \ No newline at end of file diff --git a/app/Http/Middleware/CheckRole.php b/app/Http/Middleware/CheckRole.php new file mode 100644 index 0000000..ffa91df --- /dev/null +++ b/app/Http/Middleware/CheckRole.php @@ -0,0 +1,22 @@ +user() || $request->user()->role !== $role) { + if ($role === 'admin') { + return redirect()->route('customer.dashboard'); + } else { + return redirect()->route('admin.dashboard'); + } + } + + return $next($request); + } +} \ No newline at end of file diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php new file mode 100644 index 0000000..5f3e2e9 --- /dev/null +++ b/app/Http/Middleware/EncryptCookies.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} \ No newline at end of file diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.php new file mode 100644 index 0000000..4649fbe --- /dev/null +++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} \ No newline at end of file diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php new file mode 100644 index 0000000..fea4a30 --- /dev/null +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -0,0 +1,30 @@ +check()) { + return redirect()->route('dashboard'); + } + } + + return $next($request); + } +} \ No newline at end of file diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php new file mode 100644 index 0000000..2fe1803 --- /dev/null +++ b/app/Http/Middleware/TrimStrings.php @@ -0,0 +1,19 @@ + + */ + protected $except = [ + 'current_password', + 'password', + 'password_confirmation', + ]; +} \ No newline at end of file diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php new file mode 100644 index 0000000..0e5e0e5 --- /dev/null +++ b/app/Http/Middleware/TrustProxies.php @@ -0,0 +1,28 @@ +|string|null + */ + protected $proxies; + + /** + * The headers that should be used to detect proxies. + * + * @var int + */ + protected $headers = + Request::HEADER_X_FORWARDED_FOR | + Request::HEADER_X_FORWARDED_HOST | + Request::HEADER_X_FORWARDED_PORT | + Request::HEADER_X_FORWARDED_PROTO | + Request::HEADER_X_FORWARDED_AWS_ELB; +} \ No newline at end of file diff --git a/app/Http/Middleware/ValidateSignature.php b/app/Http/Middleware/ValidateSignature.php new file mode 100644 index 0000000..f073c6f --- /dev/null +++ b/app/Http/Middleware/ValidateSignature.php @@ -0,0 +1,22 @@ + + */ + protected $except = [ + // 'fbclid', + // 'utm_campaign', + // 'utm_content', + // 'utm_medium', + // 'utm_source', + // 'utm_term', + ]; +} \ No newline at end of file diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php new file mode 100644 index 0000000..242859b --- /dev/null +++ b/app/Http/Middleware/VerifyCsrfToken.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} \ No newline at end of file diff --git a/app/Models/Admin.php b/app/Models/Admin.php new file mode 100644 index 0000000..d79cb4c --- /dev/null +++ b/app/Models/Admin.php @@ -0,0 +1,21 @@ + 'array', + 'harga' => 'decimal:2', + 'rating' => 'decimal:2' + ]; + + protected $dates = ['deleted_at']; + + protected $attributes = [ + 'status' => 'aktif', + 'rating' => 0.00, + 'total_rating' => 0, + 'minimum_order' => 1, + 'maximum_order' => null + ]; + + // Accessor untuk mendapatkan URL gambar + public function getImageUrlAttribute() + { + return $this->image ? asset('storage/' . $this->image) : null; + } + + // Accessor untuk mendapatkan nama yang akan ditampilkan + public function getNamaBarangAttribute() + { + return $this->nama_paket; + } + + // Accessor untuk mendapatkan kategori yang akan ditampilkan + public function getKategoriAttribute() + { + return $this->jenis_paket; + } +} \ No newline at end of file diff --git a/app/Models/Chat.php b/app/Models/Chat.php new file mode 100644 index 0000000..83339ec --- /dev/null +++ b/app/Models/Chat.php @@ -0,0 +1,33 @@ + 'boolean' + ]; + + public function sewa() + { + return $this->belongsTo(Sewa::class); + } + + public function sender() + { + return $this->belongsTo(User::class, 'sender_id'); + } +} \ No newline at end of file diff --git a/app/Models/ContactInfo.php b/app/Models/ContactInfo.php new file mode 100644 index 0000000..812dbb8 --- /dev/null +++ b/app/Models/ContactInfo.php @@ -0,0 +1,25 @@ + 'boolean' + ]; +} \ No newline at end of file diff --git a/app/Models/OngkirKota.php b/app/Models/OngkirKota.php new file mode 100644 index 0000000..378e9bc --- /dev/null +++ b/app/Models/OngkirKota.php @@ -0,0 +1,25 @@ + 'decimal:2', + 'status' => 'boolean' + ]; +} \ No newline at end of file diff --git a/app/Models/Paket.php b/app/Models/Paket.php new file mode 100644 index 0000000..ac0d1aa --- /dev/null +++ b/app/Models/Paket.php @@ -0,0 +1,126 @@ + 'array', + 'harga' => 'decimal:2', + 'rating' => 'decimal:2', + 'ongkir_km' => 'decimal:2', + 'min_jarak' => 'integer', + ]; + + protected $dates = ['deleted_at']; + + protected $attributes = [ + 'status' => 'aktif', + 'rating' => 0.00, + 'total_rating' => 0, + 'minimum_order' => 1, + 'maximum_order' => null + ]; + + // Relasi dengan StockModel (barang) + public function barangs() + { + return $this->belongsToMany(StockModel::class, 'paket_barang', 'paket_id', 'barang_id') + ->withPivot('id', 'jumlah') + ->withTimestamps(); + } + + // Accessor untuk mendapatkan URL gambar lengkap + public function getImageUrlAttribute() + { + return $this->image ? asset('storage/' . $this->image) : null; + } + + // Accessor untuk mendapatkan status yang diformat + public function getStatusLabelAttribute() + { + return ucfirst($this->status); + } + + // Accessor untuk mendapatkan detail barang yang terformat + public function getDetailBarangFormattedAttribute() + { + if (!$this->detail_barang) { + return []; + } + + return collect($this->detail_barang)->map(function ($item) { + return [ + 'id' => $item['id'], + 'nama_barang' => $item['nama_barang'], + 'kode_barang' => $item['kode_barang'], + 'kategori' => $item['kategori'], + 'harga_sewa' => number_format($item['harga_sewa'], 0, ',', '.'), + 'jumlah' => $item['jumlah'], + 'deskripsi' => $item['deskripsi'] ?? '', + 'subtotal' => number_format($item['harga_sewa'] * $item['jumlah'], 0, ',', '.') + ]; + })->all(); + } + + // Method untuk menghitung total harga barang dalam paket + public function getTotalHargaBarangAttribute() + { + if (!$this->detail_barang) { + return 0; + } + + return collect($this->detail_barang)->sum(function ($item) { + return $item['harga_sewa'] * $item['jumlah']; + }); + } + + // Method untuk mendapatkan daftar barang dalam paket + public function getBarang() + { + return $this->barangs->map(function ($barang) { + return [ + 'id' => $barang->pivot->id, + 'nama' => $barang->nama_barang, + 'jumlah' => $barang->pivot->jumlah + ]; + })->all(); + } + + public function ongkirKota() + { + return $this->hasMany(PaketOngkirKota::class); + } + + // Relasi dengan model Sewa + public function sewas() + { + return $this->hasMany(Sewa::class); + } +} \ No newline at end of file diff --git a/app/Models/PaketBarang.php b/app/Models/PaketBarang.php new file mode 100644 index 0000000..73d547f --- /dev/null +++ b/app/Models/PaketBarang.php @@ -0,0 +1,29 @@ +belongsTo(Paket::class); + } + + public function barang() + { + return $this->belongsTo(StockModel::class, 'barang_id'); + } +} \ No newline at end of file diff --git a/app/Models/PaketOngkirKota.php b/app/Models/PaketOngkirKota.php new file mode 100644 index 0000000..6273327 --- /dev/null +++ b/app/Models/PaketOngkirKota.php @@ -0,0 +1,31 @@ + 'decimal:2', + 'status' => 'boolean' + ]; + + public function paket() + { + return $this->belongsTo(Paket::class); + } +} \ No newline at end of file diff --git a/app/Models/PenggunaModel.php b/app/Models/PenggunaModel.php new file mode 100644 index 0000000..e69de29 diff --git a/app/Models/Riwayat.php b/app/Models/Riwayat.php new file mode 100644 index 0000000..e69de29 diff --git a/app/Models/Sewa.php b/app/Models/Sewa.php new file mode 100644 index 0000000..12f64f8 --- /dev/null +++ b/app/Models/Sewa.php @@ -0,0 +1,105 @@ + 'datetime', + 'tanggal_selesai' => 'datetime', + 'tanggal_pembayaran' => 'datetime', + ]; + + protected $dates = [ + 'tanggal_mulai', + 'tanggal_selesai', + 'tanggal_pembayaran', + 'deleted_at' + ]; + + // Relasi dengan User + public function user() + { + return $this->belongsTo(User::class); + } + + // Relasi dengan Paket + public function paket() + { + return $this->belongsTo(Paket::class); + } + + // Relasi dengan PaketOngkirKota + public function kota() + { + return $this->belongsTo(PaketOngkirKota::class, 'kota_id'); + } + + public function chats() + { + return $this->hasMany(Chat::class); + } + + // Accessor untuk status yang lebih mudah dibaca + public function getStatusLabelAttribute() + { + return match($this->status) { + 'pending' => 'Menunggu Konfirmasi', + 'disetujui' => 'Disetujui', + 'ditolak' => 'Ditolak', + 'selesai' => 'Selesai', + 'dibatalkan' => 'Dibatalkan', + default => ucfirst($this->status) + }; + } + + // Accessor untuk total durasi sewa dalam hari + public function getDurasiSewaAttribute() + { + return $this->tanggal_mulai->diffInDays($this->tanggal_selesai) + 1; + } + + // Scope untuk mencari sewa berdasarkan status + public function scopeStatus($query, $status) + { + return $query->where('status', $status); + } + + // Scope untuk sewa yang aktif + public function scopeAktif($query) + { + return $query->whereIn('status', ['disetujui']) + ->where('tanggal_selesai', '>=', now()); + } + + // Scope untuk riwayat sewa + public function scopeRiwayat($query) + { + return $query->whereIn('status', ['selesai', 'dibatalkan', 'ditolak']) + ->orWhere('tanggal_selesai', '<', now()); + } +} \ No newline at end of file diff --git a/app/Models/StockModel.php b/app/Models/StockModel.php new file mode 100644 index 0000000..8dbd255 --- /dev/null +++ b/app/Models/StockModel.php @@ -0,0 +1,48 @@ +belongsToMany(Paket::class, 'paket_barang', 'barang_id', 'paket_id') + ->withPivot('jumlah') + ->withTimestamps(); + } + + // Scope untuk barang yang masih ada stoknya + public function scopeInStock($query) + { + return $query->where('stok', '>', 0) + ->where('status', 'aktif'); + } + + // Accessor untuk mendapatkan URL gambar lengkap + public function getImageUrlAttribute() + { + return $this->image ? asset('storage/' . $this->image) : null; + } +} diff --git a/app/Models/User.php b/app/Models/User.php new file mode 100644 index 0000000..6d83218 --- /dev/null +++ b/app/Models/User.php @@ -0,0 +1,86 @@ + + */ + protected $fillable = [ + 'nama', + 'username', + 'email', + 'password', + 'alamat', + 'no_telp', + 'tipe_pengguna', + 'role' + ]; + + /** + * The attributes that should be hidden for serialization. + * + * @var array + */ + protected $hidden = [ + 'password', + 'remember_token', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'email_verified_at' => 'datetime', + 'password' => 'hashed', + 'tipe_pengguna' => 'string' + ]; + + /** + * Relasi ke model Sewa + */ + public function sewas() + { + return $this->hasMany(Sewa::class); + } + + /** + * Relasi ke model Chat sebagai pengirim + */ + public function sentChats() + { + return $this->hasMany(Chat::class, 'sender_id'); + } + + /** + * Relasi ke model Chat untuk menghitung pesan yang belum dibaca + */ + public function chats() + { + return $this->hasMany(Chat::class, 'sender_id'); + } + + /** + * Mengecek apakah user adalah admin + */ + public function isAdmin() + { + return $this->tipe_pengguna === 'admin'; + } +} diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php new file mode 100644 index 0000000..452e6b6 --- /dev/null +++ b/app/Providers/AppServiceProvider.php @@ -0,0 +1,24 @@ + + */ + protected $policies = [ + // + ]; + + /** + * Register any authentication / authorization services. + */ + public function boot(): void + { + // + } +} diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php new file mode 100644 index 0000000..2be04f5 --- /dev/null +++ b/app/Providers/BroadcastServiceProvider.php @@ -0,0 +1,19 @@ +> + */ + protected $listen = [ + Registered::class => [ + SendEmailVerificationNotification::class, + ], + ]; + + /** + * Register any events for your application. + */ + public function boot(): void + { + // + } + + /** + * Determine if events and listeners should be automatically discovered. + */ + public function shouldDiscoverEvents(): bool + { + return false; + } +} diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php new file mode 100644 index 0000000..025e874 --- /dev/null +++ b/app/Providers/RouteServiceProvider.php @@ -0,0 +1,40 @@ +by($request->user()?->id ?: $request->ip()); + }); + + $this->routes(function () { + Route::middleware('api') + ->prefix('api') + ->group(base_path('routes/api.php')); + + Route::middleware('web') + ->group(base_path('routes/web.php')); + }); + } +} diff --git a/artisan b/artisan new file mode 100644 index 0000000..67a3329 --- /dev/null +++ b/artisan @@ -0,0 +1,53 @@ +#!/usr/bin/env php +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 0000000..037e17d --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,55 @@ +singleton( + Illuminate\Contracts\Http\Kernel::class, + App\Http\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Console\Kernel::class, + App\Console\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Debug\ExceptionHandler::class, + App\Exceptions\Handler::class +); + +/* +|-------------------------------------------------------------------------- +| Return The Application +|-------------------------------------------------------------------------- +| +| This script returns the application instance. The instance is given to +| the calling script so we can separate the building of the instances +| from the actual running of the application and sending responses. +| +*/ + +return $app; diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/bootstrap/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..8a3d72d --- /dev/null +++ b/composer.json @@ -0,0 +1,66 @@ +{ + "name": "laravel/laravel", + "type": "project", + "description": "The skeleton application for the Laravel framework.", + "keywords": ["laravel", "framework"], + "license": "MIT", + "require": { + "php": "^8.1", + "guzzlehttp/guzzle": "^7.2", + "laravel/framework": "^10.10", + "laravel/sanctum": "^3.3", + "laravel/tinker": "^2.8" + }, + "require-dev": { + "fakerphp/faker": "^1.9.1", + "laravel/pint": "^1.0", + "laravel/sail": "^1.18", + "mockery/mockery": "^1.4.4", + "nunomaduro/collision": "^7.0", + "phpunit/phpunit": "^10.1", + "spatie/laravel-ignition": "^2.0" + }, + "autoload": { + "psr-4": { + "App\\": "app/", + "Database\\Factories\\": "database/factories/", + "Database\\Seeders\\": "database/seeders/" + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" + } + }, + "scripts": { + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover --ansi" + ], + "post-update-cmd": [ + "@php artisan vendor:publish --tag=laravel-assets --ansi --force" + ], + "post-root-package-install": [ + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + ], + "post-create-project-cmd": [ + "@php artisan key:generate --ansi" + ] + }, + "extra": { + "laravel": { + "dont-discover": [] + } + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true, + "allow-plugins": { + "pestphp/pest-plugin": true, + "php-http/discovery": true + } + }, + "minimum-stability": "stable", + "prefer-stable": true +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..d1a3f50 --- /dev/null +++ b/composer.lock @@ -0,0 +1,8132 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "9c491b8531eec05ba41a11d9276a5749", + "packages": [ + { + "name": "brick/math", + "version": "0.12.3", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "6.8.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "bignumber", + "brick", + "decimal", + "integer", + "math", + "mathematics", + "rational" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.12.3" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + } + ], + "time": "2025-02-28T13:11:00+00:00" + }, + { + "name": "carbonphp/carbon-doctrine-types", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0" + }, + "conflict": { + "doctrine/dbal": "<3.7.0 || >=4.0.0" + }, + "require-dev": { + "doctrine/dbal": "^3.7.0", + "nesbot/carbon": "^2.71.0 || ^3.0.0", + "phpunit/phpunit": "^10.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Carbon\\Doctrine\\": "src/Carbon/Doctrine/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "KyleKatarn", + "email": "kylekatarnls@gmail.com" + } + ], + "description": "Types to use Carbon in Doctrine", + "keywords": [ + "carbon", + "date", + "datetime", + "doctrine", + "time" + ], + "support": { + "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.1.0" + }, + "funding": [ + { + "url": "https://github.com/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2023-12-11T17:09:12+00:00" + }, + { + "name": "dflydev/dot-access-data", + "version": "v3.0.3", + "source": { + "type": "git", + "url": "https://github.com/dflydev/dflydev-dot-access-data.git", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.42", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", + "scrutinizer/ocular": "1.6.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Dflydev\\DotAccessData\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dragonfly Development Inc.", + "email": "info@dflydev.com", + "homepage": "http://dflydev.com" + }, + { + "name": "Beau Simensen", + "email": "beau@dflydev.com", + "homepage": "http://beausimensen.com" + }, + { + "name": "Carlos Frutos", + "email": "carlos@kiwing.it", + "homepage": "https://github.com/cfrutos" + }, + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com" + } + ], + "description": "Given a deep data structure, access data by dot notation.", + "homepage": "https://github.com/dflydev/dflydev-dot-access-data", + "keywords": [ + "access", + "data", + "dot", + "notation" + ], + "support": { + "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.3" + }, + "time": "2024-07-08T12:26:09+00:00" + }, + { + "name": "doctrine/inflector", + "version": "2.0.10", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^11.0", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.10" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2024-02-18T20:23:39+00:00" + }, + { + "name": "doctrine/lexer", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.21" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/3.0.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2024-02-05T11:56:58+00:00" + }, + { + "name": "dragonmantank/cron-expression", + "version": "v3.4.0", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "8c784d071debd117328803d86b2097615b457500" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/8c784d071debd117328803d86b2097615b457500", + "reference": "8c784d071debd117328803d86b2097615b457500", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "webmozart/assert": "^1.0" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "support": { + "issues": "https://github.com/dragonmantank/cron-expression/issues", + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.4.0" + }, + "funding": [ + { + "url": "https://github.com/dragonmantank", + "type": "github" + } + ], + "time": "2024-10-09T13:47:03+00:00" + }, + { + "name": "egulias/email-validator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^2.0 || ^3.0", + "php": ">=8.1", + "symfony/polyfill-intl-idn": "^1.26" + }, + "require-dev": { + "phpunit/phpunit": "^10.2", + "vimeo/psalm": "^5.12" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2025-03-06T22:45:56+00:00" + }, + { + "name": "fruitcake/php-cors", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/fruitcake/php-cors.git", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "symfony/http-foundation": "^4.4|^5.4|^6|^7" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "phpunit/phpunit": "^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Fruitcake\\Cors\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fruitcake", + "homepage": "https://fruitcake.nl" + }, + { + "name": "Barryvdh", + "email": "barryvdh@gmail.com" + } + ], + "description": "Cross-origin resource sharing library for the Symfony HttpFoundation", + "homepage": "https://github.com/fruitcake/php-cors", + "keywords": [ + "cors", + "laravel", + "symfony" + ], + "support": { + "issues": "https://github.com/fruitcake/php-cors/issues", + "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2023-10-12T05:21:21+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.1.3", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.3" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + }, + "type": "library", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2024-07-20T21:45:45+00:00" + }, + { + "name": "guzzlehttp/guzzle", + "version": "7.9.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", + "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "ext-curl": "*", + "guzzle/client-integration-tests": "3.0.2", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.9.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2025-03-27T13:37:11+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/7c69f28996b0a6920945dd20b3857e499d9ca96c", + "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/2.2.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2025-03-27T13:27:01+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.7.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16", + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.7.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2025-03-27T12:30:47+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.4", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "30e286560c137526eccd4ce21b2de477ab0676d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/30e286560c137526eccd4ce21b2de477ab0676d2", + "reference": "30e286560c137526eccd4ce21b2de477ab0676d2", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2025-02-03T10:55:03+00:00" + }, + { + "name": "laravel/framework", + "version": "v10.48.29", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "8f7f9247cb8aad1a769d6b9815a6623d89b46b47" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/8f7f9247cb8aad1a769d6b9815a6623d89b46b47", + "reference": "8f7f9247cb8aad1a769d6b9815a6623d89b46b47", + "shasum": "" + }, + "require": { + "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", + "fruitcake/php-cors": "^1.2", + "guzzlehttp/uri-template": "^1.0", + "laravel/prompts": "^0.1.9", + "laravel/serializable-closure": "^1.3", + "league/commonmark": "^2.2.1", + "league/flysystem": "^3.8.0", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.67", + "nunomaduro/termwind": "^1.13", + "php": "^8.1", + "psr/container": "^1.1.1|^2.0.1", + "psr/log": "^1.0|^2.0|^3.0", + "psr/simple-cache": "^1.0|^2.0|^3.0", + "ramsey/uuid": "^4.7", + "symfony/console": "^6.2", + "symfony/error-handler": "^6.2", + "symfony/finder": "^6.2", + "symfony/http-foundation": "^6.4", + "symfony/http-kernel": "^6.2", + "symfony/mailer": "^6.2", + "symfony/mime": "^6.2", + "symfony/process": "^6.2", + "symfony/routing": "^6.2", + "symfony/uid": "^6.2", + "symfony/var-dumper": "^6.2", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", + "vlucas/phpdotenv": "^5.4.1", + "voku/portable-ascii": "^2.0" + }, + "conflict": { + "carbonphp/carbon-doctrine-types": ">=3.0", + "doctrine/dbal": ">=4.0", + "mockery/mockery": "1.6.8", + "phpunit/phpunit": ">=11.0.0", + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.1|2.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/conditionable": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" + }, + "require-dev": { + "ably/ably-php": "^1.0", + "aws/aws-sdk-php": "^3.235.5", + "doctrine/dbal": "^3.5.1", + "ext-gmp": "*", + "fakerphp/faker": "^1.21", + "guzzlehttp/guzzle": "^7.5", + "league/flysystem-aws-s3-v3": "^3.0", + "league/flysystem-ftp": "^3.0", + "league/flysystem-path-prefixing": "^3.3", + "league/flysystem-read-only": "^3.3", + "league/flysystem-sftp-v3": "^3.0", + "mockery/mockery": "^1.5.1", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^8.23.4", + "pda/pheanstalk": "^4.0", + "phpstan/phpstan": "~1.11.11", + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2", + "symfony/cache": "^6.2", + "symfony/http-client": "^6.2.4", + "symfony/psr-http-message-bridge": "^2.0" + }, + "suggest": { + "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", + "brianium/paratest": "Required to run tests in parallel (^6.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.5).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", + "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", + "league/flysystem-read-only": "Required to use read-only disks (^3.3)", + "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", + "mockery/mockery": "Required to use mocking (^1.5.1).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", + "predis/predis": "Required to use the predis connector (^2.0.2).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^6.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "10.x-dev" + } + }, + "autoload": { + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Filesystem/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/", + "src/Illuminate/Conditionable/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" + }, + "time": "2025-03-12T14:42:01+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.1.25", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "7b4029a84c37cb2725fc7f011586e2997040bc95" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/7b4029a84c37cb2725fc7f011586e2997040bc95", + "reference": "7b4029a84c37cb2725fc7f011586e2997040bc95", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "illuminate/collections": "^10.0|^11.0", + "php": "^8.1", + "symfony/console": "^6.2|^7.0" + }, + "conflict": { + "illuminate/console": ">=10.17.0 <10.25.0", + "laravel/framework": ">=10.17.0 <10.25.0" + }, + "require-dev": { + "mockery/mockery": "^1.5", + "pestphp/pest": "^2.3", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-mockery": "^1.1" + }, + "suggest": { + "ext-pcntl": "Required for the spinner to be animated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Laravel\\Prompts\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Add beautiful and user-friendly forms to your command-line applications.", + "support": { + "issues": "https://github.com/laravel/prompts/issues", + "source": "https://github.com/laravel/prompts/tree/v0.1.25" + }, + "time": "2024-08-12T22:06:33+00:00" + }, + { + "name": "laravel/sanctum", + "version": "v3.3.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/sanctum.git", + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/8c104366459739f3ada0e994bcd3e6fd681ce3d5", + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/console": "^9.21|^10.0", + "illuminate/contracts": "^9.21|^10.0", + "illuminate/database": "^9.21|^10.0", + "illuminate/support": "^9.21|^10.0", + "php": "^8.0.2" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "orchestra/testbench": "^7.28.2|^8.8.3", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Sanctum\\SanctumServiceProvider" + ] + }, + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sanctum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.", + "keywords": [ + "auth", + "laravel", + "sanctum" + ], + "support": { + "issues": "https://github.com/laravel/sanctum/issues", + "source": "https://github.com/laravel/sanctum" + }, + "time": "2023-12-19T18:44:48+00:00" + }, + { + "name": "laravel/serializable-closure", + "version": "v1.3.7", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "4f48ade902b94323ca3be7646db16209ec76be3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/4f48ade902b94323ca3be7646db16209ec76be3d", + "reference": "4f48ade902b94323ca3be7646db16209ec76be3d", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.61|^3.0", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2024-11-14T18:34:49+00:00" + }, + { + "name": "laravel/tinker", + "version": "v2.10.1", + "source": { + "type": "git", + "url": "https://github.com/laravel/tinker.git", + "reference": "22177cc71807d38f2810c6204d8f7183d88a57d3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/tinker/zipball/22177cc71807d38f2810c6204d8f7183d88a57d3", + "reference": "22177cc71807d38f2810c6204d8f7183d88a57d3", + "shasum": "" + }, + "require": { + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "php": "^7.2.5|^8.0", + "psy/psysh": "^0.11.1|^0.12.0", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" + }, + "require-dev": { + "mockery/mockery": "~1.3.3|^1.4.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.5.8|^9.3.3|^10.0" + }, + "suggest": { + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0)." + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Tinker\\TinkerServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Tinker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Powerful REPL for the Laravel framework.", + "keywords": [ + "REPL", + "Tinker", + "laravel", + "psysh" + ], + "support": { + "issues": "https://github.com/laravel/tinker/issues", + "source": "https://github.com/laravel/tinker/tree/v2.10.1" + }, + "time": "2025-01-27T14:24:01+00:00" + }, + { + "name": "league/commonmark", + "version": "2.6.2", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "06c3b0bf2540338094575612f4a1778d0d2d5e94" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/06c3b0bf2540338094575612f4a1778d0d2d5e94", + "reference": "06c3b0bf2540338094575612f4a1778d0d2d5e94", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "league/config": "^1.1.1", + "php": "^7.4 || ^8.0", + "psr/event-dispatcher": "^1.0", + "symfony/deprecation-contracts": "^2.1 || ^3.0", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "cebe/markdown": "^1.0", + "commonmark/cmark": "0.31.1", + "commonmark/commonmark.js": "0.31.1", + "composer/package-versions-deprecated": "^1.8", + "embed/embed": "^4.4", + "erusev/parsedown": "^1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "^1.4 || ^2.0", + "nyholm/psr7": "^1.5", + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", + "scrutinizer/ocular": "^1.8.1", + "symfony/finder": "^5.3 | ^6.0 | ^7.0", + "symfony/process": "^5.4 | ^6.0 | ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", + "unleashedtech/php-coding-standard": "^3.1.1", + "vimeo/psalm": "^4.24.0 || ^5.0.0" + }, + "suggest": { + "symfony/yaml": "v2.3+ required if using the Front Matter extension" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "forum": "https://github.com/thephpleague/commonmark/discussions", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2025-04-18T21:09:27+00:00" + }, + { + "name": "league/config", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/config.git", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "shasum": "" + }, + "require": { + "dflydev/dot-access-data": "^3.0.1", + "nette/schema": "^1.2", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.5", + "scrutinizer/ocular": "^1.8.1", + "unleashedtech/php-coding-standard": "^3.1", + "vimeo/psalm": "^4.7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Config\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Define configuration arrays with strict schemas and access values with dot notation", + "homepage": "https://config.thephpleague.com", + "keywords": [ + "array", + "config", + "configuration", + "dot", + "dot-access", + "nested", + "schema" + ], + "support": { + "docs": "https://config.thephpleague.com/", + "issues": "https://github.com/thephpleague/config/issues", + "rss": "https://github.com/thephpleague/config/releases.atom", + "source": "https://github.com/thephpleague/config" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + } + ], + "time": "2022-12-11T20:36:23+00:00" + }, + { + "name": "league/flysystem", + "version": "3.29.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/edc1bb7c86fab0776c3287dbd19b5fa278347319", + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319", + "shasum": "" + }, + "require": { + "league/flysystem-local": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "conflict": { + "async-aws/core": "<1.19.0", + "async-aws/s3": "<1.14.0", + "aws/aws-sdk-php": "3.209.31 || 3.210.0", + "guzzlehttp/guzzle": "<7.0", + "guzzlehttp/ringphp": "<1.1.1", + "phpseclib/phpseclib": "3.0.15", + "symfony/http-client": "<5.2" + }, + "require-dev": { + "async-aws/s3": "^1.5 || ^2.0", + "async-aws/simple-s3": "^1.1 || ^2.0", + "aws/aws-sdk-php": "^3.295.10", + "composer/semver": "^3.0", + "ext-fileinfo": "*", + "ext-ftp": "*", + "ext-mongodb": "^1.3", + "ext-zip": "*", + "friendsofphp/php-cs-fixer": "^3.5", + "google/cloud-storage": "^1.23", + "guzzlehttp/psr7": "^2.6", + "microsoft/azure-storage-blob": "^1.1", + "mongodb/mongodb": "^1.2", + "phpseclib/phpseclib": "^3.0.36", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.11|^10.0", + "sabre/dav": "^4.6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "File storage abstraction for PHP", + "keywords": [ + "WebDAV", + "aws", + "cloud", + "file", + "files", + "filesystem", + "filesystems", + "ftp", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/3.29.1" + }, + "time": "2024-10-08T08:58:34+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.29.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" + }, + "time": "2024-08-09T21:24:39+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.16.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.16.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2024-09-21T08:32:55+00:00" + }, + { + "name": "monolog/monolog", + "version": "3.9.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/10d85740180ecba7896c87e06a166e0c95a0e3b6", + "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2.0", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "php-console/php-console": "^3.1.8", + "phpstan/phpstan": "^2", + "phpstan/phpstan-deprecation-rules": "^2", + "phpstan/phpstan-strict-rules": "^2", + "phpunit/phpunit": "^10.5.17 || ^11.0.7", + "predis/predis": "^1.1 || ^2", + "rollbar/rollbar": "^4.0", + "ruflin/elastica": "^7 || ^8", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/3.9.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2025-03-24T10:02:05+00:00" + }, + { + "name": "nesbot/carbon", + "version": "2.73.0", + "source": { + "type": "git", + "url": "https://github.com/CarbonPHP/carbon.git", + "reference": "9228ce90e1035ff2f0db84b40ec2e023ed802075" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/9228ce90e1035ff2f0db84b40ec2e023ed802075", + "reference": "9228ce90e1035ff2f0db84b40ec2e023ed802075", + "shasum": "" + }, + "require": { + "carbonphp/carbon-doctrine-types": "*", + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "psr/clock": "^1.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "require-dev": { + "doctrine/dbal": "^2.0 || ^3.1.4 || ^4.0", + "doctrine/orm": "^2.7 || ^3.0", + "friendsofphp/php-cs-fixer": "^3.0", + "kylekatarnls/multi-tester": "^2.0", + "ondrejmirtes/better-reflection": "<6", + "phpmd/phpmd": "^2.9", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.99 || ^1.7.14", + "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6", + "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", + "squizlabs/php_codesniffer": "^3.4" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev", + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "https://markido.com" + }, + { + "name": "kylekatarnls", + "homepage": "https://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "https://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "support": { + "docs": "https://carbon.nesbot.com/docs", + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "funding": [ + { + "url": "https://github.com/sponsors/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon#sponsor", + "type": "opencollective" + }, + { + "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme", + "type": "tidelift" + } + ], + "time": "2025-01-08T20:10:23+00:00" + }, + { + "name": "nette/schema", + "version": "v1.3.2", + "source": { + "type": "git", + "url": "https://github.com/nette/schema.git", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d", + "shasum": "" + }, + "require": { + "nette/utils": "^4.0", + "php": "8.1 - 8.4" + }, + "require-dev": { + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "📐 Nette Schema: validating data structures against a given Schema.", + "homepage": "https://nette.org", + "keywords": [ + "config", + "nette" + ], + "support": { + "issues": "https://github.com/nette/schema/issues", + "source": "https://github.com/nette/schema/tree/v1.3.2" + }, + "time": "2024-10-06T23:10:23+00:00" + }, + { + "name": "nette/utils", + "version": "v4.0.6", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "ce708655043c7050eb050df361c5e313cf708309" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/ce708655043c7050eb050df361c5e313cf708309", + "reference": "ce708655043c7050eb050df361c5e313cf708309", + "shasum": "" + }, + "require": { + "php": "8.0 - 8.4" + }, + "conflict": { + "nette/finder": "<3", + "nette/schema": "<1.2.2" + }, + "require-dev": { + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v4.0.6" + }, + "time": "2025-03-30T21:06:30+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v5.4.0", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "447a020a1f875a434d62f2a401f53b82a396e494" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494", + "reference": "447a020a1f875a434d62f2a401f53b82a396e494", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-json": "*", + "ext-tokenizer": "*", + "php": ">=7.4" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0" + }, + "time": "2024-12-30T11:07:19+00:00" + }, + { + "name": "nunomaduro/termwind", + "version": "v1.17.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/termwind.git", + "reference": "5369ef84d8142c1d87e4ec278711d4ece3cbf301" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/5369ef84d8142c1d87e4ec278711d4ece3cbf301", + "reference": "5369ef84d8142c1d87e4ec278711d4ece3cbf301", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^8.1", + "symfony/console": "^6.4.15" + }, + "require-dev": { + "illuminate/console": "^10.48.24", + "illuminate/support": "^10.48.24", + "laravel/pint": "^1.18.2", + "pestphp/pest": "^2.36.0", + "pestphp/pest-plugin-mock": "2.0.0", + "phpstan/phpstan": "^1.12.11", + "phpstan/phpstan-strict-rules": "^1.6.1", + "symfony/var-dumper": "^6.4.15", + "thecodingmachine/phpstan-strict-rules": "^1.0.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Termwind\\Laravel\\TermwindServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Functions.php" + ], + "psr-4": { + "Termwind\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Its like Tailwind CSS, but for the console.", + "keywords": [ + "cli", + "console", + "css", + "package", + "php", + "style" + ], + "support": { + "issues": "https://github.com/nunomaduro/termwind/issues", + "source": "https://github.com/nunomaduro/termwind/tree/v1.17.0" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://github.com/xiCO2k", + "type": "github" + } + ], + "time": "2024-11-21T10:36:35+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.9.3", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2024-07-20T21:41:07+00:00" + }, + { + "name": "psr/clock", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/clock.git", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Clock\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for reading the clock.", + "homepage": "https://github.com/php-fig/clock", + "keywords": [ + "clock", + "now", + "psr", + "psr-20", + "time" + ], + "support": { + "issues": "https://github.com/php-fig/clock/issues", + "source": "https://github.com/php-fig/clock/tree/1.0.0" + }, + "time": "2022-11-25T14:36:26+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client" + }, + "time": "2023-09-23T14:17:50+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory" + }, + "time": "2024-04-15T12:06:14+00:00" + }, + { + "name": "psr/http-message", + "version": "2.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://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" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/2.0" + }, + "time": "2023-04-04T09:54:51+00:00" + }, + { + "name": "psr/log", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.2" + }, + "time": "2024-09-11T13:17:53+00:00" + }, + { + "name": "psr/simple-cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" + }, + "time": "2021-10-29T13:26:27+00:00" + }, + { + "name": "psy/psysh", + "version": "v0.12.8", + "source": { + "type": "git", + "url": "https://github.com/bobthecow/psysh.git", + "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/85057ceedee50c49d4f6ecaff73ee96adb3b3625", + "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-tokenizer": "*", + "nikic/php-parser": "^5.0 || ^4.0", + "php": "^8.0 || ^7.4", + "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" + }, + "conflict": { + "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.2" + }, + "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." + }, + "bin": [ + "bin/psysh" + ], + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": false, + "forward-command": false + }, + "branch-alias": { + "dev-main": "0.12.x-dev" + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Psy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" + } + ], + "description": "An interactive shell for modern PHP.", + "homepage": "http://psysh.org", + "keywords": [ + "REPL", + "console", + "interactive", + "shell" + ], + "support": { + "issues": "https://github.com/bobthecow/psysh/issues", + "source": "https://github.com/bobthecow/psysh/tree/v0.12.8" + }, + "time": "2025-03-16T03:05:19+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "ramsey/collection", + "version": "2.1.1", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/344572933ad0181accbf4ba763e85a0306a8c5e2", + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.45", + "fakerphp/faker": "^1.24", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^2.1", + "mockery/mockery": "^1.6", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.4", + "phpspec/prophecy-phpunit": "^2.3", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^10.5", + "ramsey/coding-standard": "^2.3", + "ramsey/conventional-commits": "^1.6", + "roave/security-advisories": "dev-latest" + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/2.1.1" + }, + "time": "2025-03-22T05:38:12+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.7.6", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "shasum": "" + }, + "require": { + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", + "ext-json": "*", + "php": "^8.0", + "ramsey/collection": "^1.2 || ^2.0" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^8.5 || ^9", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.7.6" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2024-04-27T21:32:50+00:00" + }, + { + "name": "symfony/console", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "a3011c7b7adb58d89f6c0d822abb641d7a5f9719" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/a3011c7b7adb58d89f6c0d822abb641d7a5f9719", + "reference": "a3011c7b7adb58d89f6c0d822abb641d7a5f9719", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0|^7.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-07T15:42:41+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v6.4.13", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "cb23e97813c5837a041b73a6d63a9ddff0778f5e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/cb23e97813c5837a041b73a6d63a9ddff0778f5e", + "reference": "cb23e97813c5837a041b73a6d63a9ddff0778f5e", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v6.4.13" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:18:03+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.5-dev" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/error-handler", + "version": "v6.4.20", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "aa3bcf4f7674719df078e61cc8062e5b7f752031" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/aa3bcf4f7674719df078e61cc8062e5b7f752031", + "reference": "aa3bcf4f7674719df078e61cc8062e5b7f752031", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "conflict": { + "symfony/deprecation-contracts": "<2.5", + "symfony/http-kernel": "<6.4" + }, + "require-dev": { + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/serializer": "^5.4|^6.0|^7.0" + }, + "bin": [ + "Resources/bin/patch-type-declarations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to manage errors and ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/error-handler/tree/v6.4.20" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-03-01T13:00:38+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v6.4.13", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e", + "reference": "0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/event-dispatcher-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/service-contracts": "<2.5" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/error-handler": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.13" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:18:03+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7642f5e970b672283b7823222ae8ef8bbc160b9f", + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/event-dispatcher": "^1" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/finder", + "version": "v6.4.17", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7", + "reference": "1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v6.4.17" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-12-29T13:51:37+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "3f0c7ea41db479383b81d436b836d37168fd5b99" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/3f0c7ea41db479383b81d436b836d37168fd5b99", + "reference": "3f0c7ea41db479383b81d436b836d37168fd5b99", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" + }, + "conflict": { + "symfony/cache": "<6.4.12|>=7.0,<7.1.5" + }, + "require-dev": { + "doctrine/dbal": "^2.13.1|^3|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.4.12|^7.1.5", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", + "symfony/mime": "^5.4|^6.0|^7.0", + "symfony/rate-limiter": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-27T13:27:38+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "983ca05eec6623920d24ec0f1005f487d3734a0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/983ca05eec6623920d24ec0f1005f487d3734a0c", + "reference": "983ca05eec6623920d24ec0f1005f487d3734a0c", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/error-handler": "^6.4|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/browser-kit": "<5.4", + "symfony/cache": "<5.4", + "symfony/config": "<6.1", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<6.4", + "symfony/doctrine-bridge": "<5.4", + "symfony/form": "<5.4", + "symfony/http-client": "<5.4", + "symfony/http-client-contracts": "<2.5", + "symfony/mailer": "<5.4", + "symfony/messenger": "<5.4", + "symfony/translation": "<5.4", + "symfony/translation-contracts": "<2.5", + "symfony/twig-bridge": "<5.4", + "symfony/validator": "<6.4", + "symfony/var-dumper": "<6.3", + "twig/twig": "<2.13" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/cache": "^1.0|^2.0|^3.0", + "symfony/browser-kit": "^5.4|^6.0|^7.0", + "symfony/clock": "^6.2|^7.0", + "symfony/config": "^6.1|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/css-selector": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/dom-crawler": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/property-access": "^5.4.5|^6.0.5|^7.0", + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.4.4|^7.0.4", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/translation": "^5.4|^6.0|^7.0", + "symfony/translation-contracts": "^2.5|^3", + "symfony/uid": "^5.4|^6.0|^7.0", + "symfony/validator": "^6.4|^7.0", + "symfony/var-dumper": "^5.4|^6.4|^7.0", + "symfony/var-exporter": "^6.2|^7.0", + "twig/twig": "^2.13|^3.0.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a structured process for converting a Request into a Response", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-kernel/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-05-02T08:46:38+00:00" + }, + { + "name": "symfony/mailer", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/mailer.git", + "reference": "ada2809ccd4ec27aba9fc344e3efdaec624c6438" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mailer/zipball/ada2809ccd4ec27aba9fc344e3efdaec624c6438", + "reference": "ada2809ccd4ec27aba9fc344e3efdaec624c6438", + "shasum": "" + }, + "require": { + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=8.1", + "psr/event-dispatcher": "^1", + "psr/log": "^1|^2|^3", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/mime": "^6.2|^7.0", + "symfony/service-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<5.4", + "symfony/messenger": "<6.2", + "symfony/mime": "<6.2", + "symfony/twig-bridge": "<6.2.1" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/messenger": "^6.2|^7.0", + "symfony/twig-bridge": "^6.2|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mailer\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Helps sending emails", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/mailer/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-26T23:47:35+00:00" + }, + { + "name": "symfony/mime", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "fec8aa5231f3904754955fad33c2db50594d22d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/fec8aa5231f3904754955fad33c2db50594d22d1", + "reference": "fec8aa5231f3904754955fad33c2db50594d22d1", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<5.4", + "symfony/serializer": "<6.4.3|>7.0,<7.0.3" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.4|^7.0", + "symfony/property-access": "^5.4|^6.0|^7.0", + "symfony/property-info": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.4.3|^7.0.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-27T13:27:38+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", + "shasum": "" + }, + "require": { + "php": ">=7.2", + "symfony/polyfill-intl-normalizer": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "3833d7255cc303546435cb650316bff708a1c75c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-php83", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php83\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-uuid", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-uuid.git", + "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", + "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-uuid": "*" + }, + "suggest": { + "ext-uuid": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Uuid\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for uuid functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/process", + "version": "v6.4.20", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "e2a61c16af36c9a07e5c9906498b73e091949a20" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/e2a61c16af36c9a07e5c9906498b73e091949a20", + "reference": "e2a61c16af36c9a07e5c9906498b73e091949a20", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v6.4.20" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-03-10T17:11:00+00:00" + }, + { + "name": "symfony/routing", + "version": "v6.4.18", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "e9bfc94953019089acdfb9be51c1b9142c4afa68" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/e9bfc94953019089acdfb9be51c1b9142c4afa68", + "reference": "e9bfc94953019089acdfb9be51c1b9142c4afa68", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "doctrine/annotations": "<1.12", + "symfony/config": "<6.2", + "symfony/dependency-injection": "<5.4", + "symfony/yaml": "<5.4" + }, + "require-dev": { + "doctrine/annotations": "^1.12|^2", + "psr/log": "^1|^2|^3", + "symfony/config": "^6.2|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", + "symfony/yaml": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Maps an HTTP request to a set of configuration variables", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "support": { + "source": "https://github.com/symfony/routing/tree/v6.4.18" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-01-09T08:51:02+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/string", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "73e2c6966a5aef1d4892873ed5322245295370c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/73e2c6966a5aef1d4892873ed5322245295370c6", + "reference": "73e2c6966a5aef1d4892873ed5322245295370c6", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/error-handler": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/intl": "^6.2|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-18T15:23:29+00:00" + }, + { + "name": "symfony/translation", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "bb92ea5588396b319ba43283a5a3087a034cb29c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/bb92ea5588396b319ba43283a5a3087a034cb29c", + "reference": "bb92ea5588396b319ba43283a5a3087a034cb29c", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^2.5|^3.0" + }, + "conflict": { + "symfony/config": "<5.4", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<5.4", + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<5.4", + "symfony/service-contracts": "<2.5", + "symfony/twig-bundle": "<5.4", + "symfony/yaml": "<5.4" + }, + "provide": { + "symfony/translation-implementation": "2.3|3.0" + }, + "require-dev": { + "nikic/php-parser": "^4.18|^5.0", + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/intl": "^5.4|^6.0|^7.0", + "symfony/polyfill-intl-icu": "^1.21", + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to internationalize your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-07T19:02:30+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "4667ff3bd513750603a09c8dedbea942487fb07c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/4667ff3bd513750603a09c8dedbea942487fb07c", + "reference": "4667ff3bd513750603a09c8dedbea942487fb07c", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/uid", + "version": "v6.4.13", + "source": { + "type": "git", + "url": "https://github.com/symfony/uid.git", + "reference": "18eb207f0436a993fffbdd811b5b8fa35fa5e007" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/uid/zipball/18eb207f0436a993fffbdd811b5b8fa35fa5e007", + "reference": "18eb207f0436a993fffbdd811b5b8fa35fa5e007", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-uuid": "^1.15" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Uid\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to generate and represent UIDs", + "homepage": "https://symfony.com", + "keywords": [ + "UID", + "ulid", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/uid/tree/v6.4.13" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:18:03+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "22560f80c0c5cd58cc0bcaf73455ffd81eb380d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/22560f80c0c5cd58cc0bcaf73455ffd81eb380d5", + "reference": "22560f80c0c5cd58cc0bcaf73455ffd81eb380d5", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/console": "<5.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/error-handler": "^6.3|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/uid": "^5.4|^6.0|^7.0", + "twig/twig": "^2.13|^3.0.4" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-09T07:34:50+00:00" + }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "v2.3.0", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "0d72ac1c00084279c1816675284073c5a337c20d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0d72ac1c00084279c1816675284073c5a337c20d", + "reference": "0d72ac1c00084279c1816675284073c5a337c20d", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^7.4 || ^8.0", + "symfony/css-selector": "^5.4 || ^6.0 || ^7.0" + }, + "require-dev": { + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.3.0" + }, + "time": "2024-12-21T16:25:41+00:00" + }, + { + "name": "vlucas/phpdotenv", + "version": "v5.6.2", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/24ac4c74f91ee2c193fa1aaa5c249cb0822809af", + "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "graham-campbell/result-type": "^1.1.3", + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.3", + "symfony/polyfill-ctype": "^1.24", + "symfony/polyfill-mbstring": "^1.24", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "ext-filter": "*", + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://github.com/vlucas" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "support": { + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2025-04-30T23:37:27+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b1d923f88091c6bf09699efcd7c8a1b1bfd7351d", + "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "https://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "support": { + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/2.0.3" + }, + "funding": [ + { + "url": "https://www.paypal.me/moelleken", + "type": "custom" + }, + { + "url": "https://github.com/voku", + "type": "github" + }, + { + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", + "type": "tidelift" + } + ], + "time": "2024-11-21T01:49:47+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" + } + ], + "packages-dev": [ + { + "name": "fakerphp/faker", + "version": "v1.24.1", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", + "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", + "ext-intl": "*", + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" + }, + "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." + }, + "type": "library", + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.24.1" + }, + "time": "2024-11-21T13:46:39+00:00" + }, + { + "name": "filp/whoops", + "version": "2.18.0", + "source": { + "type": "git", + "url": "https://github.com/filp/whoops.git", + "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filp/whoops/zipball/a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e", + "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^4.0 || ^5.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Whoops\\": "src/Whoops/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" + } + ], + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", + "keywords": [ + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" + ], + "support": { + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.18.0" + }, + "funding": [ + { + "url": "https://github.com/denis-sokolov", + "type": "github" + } + ], + "time": "2025-03-15T12:00:00+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.1.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0 || ^3.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.1.1" + }, + "time": "2025-04-30T06:54:44+00:00" + }, + { + "name": "laravel/pint", + "version": "v1.20.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/pint.git", + "reference": "53072e8ea22213a7ed168a8a15b96fbb8b82d44b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/pint/zipball/53072e8ea22213a7ed168a8a15b96fbb8b82d44b", + "reference": "53072e8ea22213a7ed168a8a15b96fbb8b82d44b", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "ext-tokenizer": "*", + "ext-xml": "*", + "php": "^8.1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.66.0", + "illuminate/view": "^10.48.25", + "larastan/larastan": "^2.9.12", + "laravel-zero/framework": "^10.48.25", + "mockery/mockery": "^1.6.12", + "nunomaduro/termwind": "^1.17.0", + "pestphp/pest": "^2.36.0" + }, + "bin": [ + "builds/pint" + ], + "type": "project", + "autoload": { + "psr-4": { + "App\\": "app/", + "Database\\Seeders\\": "database/seeders/", + "Database\\Factories\\": "database/factories/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "An opinionated code formatter for PHP.", + "homepage": "https://laravel.com", + "keywords": [ + "format", + "formatter", + "lint", + "linter", + "php" + ], + "support": { + "issues": "https://github.com/laravel/pint/issues", + "source": "https://github.com/laravel/pint" + }, + "time": "2025-01-14T16:20:53+00:00" + }, + { + "name": "laravel/sail", + "version": "v1.42.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/sail.git", + "reference": "2edaaf77f3c07a4099965bb3d7dfee16e801c0f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sail/zipball/2edaaf77f3c07a4099965bb3d7dfee16e801c0f6", + "reference": "2edaaf77f3c07a4099965bb3d7dfee16e801c0f6", + "shasum": "" + }, + "require": { + "illuminate/console": "^9.52.16|^10.0|^11.0|^12.0", + "illuminate/contracts": "^9.52.16|^10.0|^11.0|^12.0", + "illuminate/support": "^9.52.16|^10.0|^11.0|^12.0", + "php": "^8.0", + "symfony/console": "^6.0|^7.0", + "symfony/yaml": "^6.0|^7.0" + }, + "require-dev": { + "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", + "phpstan/phpstan": "^1.10" + }, + "bin": [ + "bin/sail" + ], + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Sail\\SailServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sail\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Docker files for running a basic Laravel application.", + "keywords": [ + "docker", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/sail/issues", + "source": "https://github.com/laravel/sail" + }, + "time": "2025-04-29T14:26:46+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.6.12", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" + }, + "type": "library", + "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2024-05-16T03:13:13+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.13.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/1720ddd719e16cf0db4eb1c6eca108031636d46c", + "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3 <3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2025-04-29T12:36:36+00:00" + }, + { + "name": "nunomaduro/collision", + "version": "v7.12.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/collision.git", + "reference": "995245421d3d7593a6960822063bdba4f5d7cf1a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/995245421d3d7593a6960822063bdba4f5d7cf1a", + "reference": "995245421d3d7593a6960822063bdba4f5d7cf1a", + "shasum": "" + }, + "require": { + "filp/whoops": "^2.17.0", + "nunomaduro/termwind": "^1.17.0", + "php": "^8.1.0", + "symfony/console": "^6.4.17" + }, + "conflict": { + "laravel/framework": ">=11.0.0" + }, + "require-dev": { + "brianium/paratest": "^7.4.8", + "laravel/framework": "^10.48.29", + "laravel/pint": "^1.21.2", + "laravel/sail": "^1.41.0", + "laravel/sanctum": "^3.3.3", + "laravel/tinker": "^2.10.1", + "nunomaduro/larastan": "^2.10.0", + "orchestra/testbench-core": "^8.35.0", + "pestphp/pest": "^2.36.0", + "phpunit/phpunit": "^10.5.36", + "sebastian/environment": "^6.1.0", + "spatie/laravel-ignition": "^2.9.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], + "support": { + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2025-03-14T22:35:49+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "54750ef60c58e43759730615a392c31c80e23176" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "10.1.16", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "7e308268858ed6baedc8704a304727d20bc07c77" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", + "reference": "7e308268858ed6baedc8704a304727d20bc07c77", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.19.1 || ^5.1.0", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-text-template": "^3.0.1", + "sebastian/code-unit-reverse-lookup": "^3.0.0", + "sebastian/complexity": "^3.2.0", + "sebastian/environment": "^6.1.0", + "sebastian/lines-of-code": "^2.0.2", + "sebastian/version": "^4.0.1", + "theseer/tokenizer": "^1.2.3" + }, + "require-dev": { + "phpunit/phpunit": "^10.1" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "10.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-08-22T04:31:57+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "4.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T06:24:48+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:56:09+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T14:07:24+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "6.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:57:52+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "10.5.46", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "8080be387a5be380dda48c6f41cee4a13aadab3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8080be387a5be380dda48c6f41cee4a13aadab3d", + "reference": "8080be387a5be380dda48c6f41cee4a13aadab3d", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.13.1", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.16", + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-invoker": "^4.0.0", + "phpunit/php-text-template": "^3.0.1", + "phpunit/php-timer": "^6.0.0", + "sebastian/cli-parser": "^2.0.1", + "sebastian/code-unit": "^2.0.0", + "sebastian/comparator": "^5.0.3", + "sebastian/diff": "^5.1.1", + "sebastian/environment": "^6.1.0", + "sebastian/exporter": "^5.1.2", + "sebastian/global-state": "^6.0.2", + "sebastian/object-enumerator": "^5.0.0", + "sebastian/recursion-context": "^5.0.0", + "sebastian/type": "^4.0.0", + "sebastian/version": "^4.0.1" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "10.5-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.46" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2025-05-02T06:46:24+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:12:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:58:43+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:59:15+00:00" + }, + { + "name": "sebastian/comparator", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", + "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-10-18T14:56:07+00:00" + }, + { + "name": "sebastian/complexity", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "68ff824baeae169ec9f2137158ee529584553799" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", + "reference": "68ff824baeae169ec9f2137158ee529584553799", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-12-21T08:37:17+00:00" + }, + { + "name": "sebastian/diff", + "version": "5.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0", + "symfony/process": "^6.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:15:17+00:00" + }, + { + "name": "sebastian/environment", + "version": "6.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/8074dbcd93529b357029f5cc5058fd3e43666984", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "https://github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-23T08:47:14+00:00" + }, + { + "name": "sebastian/exporter", + "version": "5.1.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "955288482d97c19a372d3f31006ab3f37da47adf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", + "reference": "955288482d97c19a372d3f31006ab3f37da47adf", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:17:12+00:00" + }, + { + "name": "sebastian/global-state", + "version": "6.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "https://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-03-02T07:19:19+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-12-21T08:38:20+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:08:32+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:06:18+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:05:40+00:00" + }, + { + "name": "sebastian/type", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:10:45+00:00" + }, + { + "name": "sebastian/version", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-07T11:34:05+00:00" + }, + { + "name": "spatie/backtrace", + "version": "1.7.2", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "9807de6b8fecfaa5b3d10650985f0348b02862b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/9807de6b8fecfaa5b3d10650985f0348b02862b2", + "reference": "9807de6b8fecfaa5b3d10650985f0348b02862b2", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "ext-json": "*", + "laravel/serializable-closure": "^1.3 || ^2.0", + "phpunit/phpunit": "^9.3 || ^11.4.3", + "spatie/phpunit-snapshot-assertions": "^4.2 || ^5.1.6", + "symfony/var-dumper": "^5.1 || ^6.0 || ^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "source": "https://github.com/spatie/backtrace/tree/1.7.2" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2025-04-28T14:55:53+00:00" + }, + { + "name": "spatie/error-solutions", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/error-solutions.git", + "reference": "e495d7178ca524f2dd0fe6a1d99a1e608e1c9936" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/e495d7178ca524f2dd0fe6a1d99a1e608e1c9936", + "reference": "e495d7178ca524f2dd0fe6a1d99a1e608e1c9936", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "illuminate/broadcasting": "^10.0|^11.0|^12.0", + "illuminate/cache": "^10.0|^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0", + "livewire/livewire": "^2.11|^3.5.20", + "openai-php/client": "^0.10.1", + "orchestra/testbench": "8.22.3|^9.0|^10.0", + "pestphp/pest": "^2.20|^3.0", + "phpstan/phpstan": "^2.1", + "psr/simple-cache": "^3.0", + "psr/simple-cache-implementation": "^3.0", + "spatie/ray": "^1.28", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "legacy/ignition", + "Spatie\\ErrorSolutions\\": "src", + "Spatie\\LaravelIgnition\\": "legacy/laravel-ignition" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ruben Van Assche", + "email": "ruben@spatie.be", + "role": "Developer" + } + ], + "description": "This is my package error-solutions", + "homepage": "https://github.com/spatie/error-solutions", + "keywords": [ + "error-solutions", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/error-solutions/issues", + "source": "https://github.com/spatie/error-solutions/tree/1.1.3" + }, + "funding": [ + { + "url": "https://github.com/Spatie", + "type": "github" + } + ], + "time": "2025-02-14T12:29:50+00:00" + }, + { + "name": "spatie/flare-client-php", + "version": "1.10.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/flare-client-php.git", + "reference": "bf1716eb98bd689451b071548ae9e70738dce62f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/bf1716eb98bd689451b071548ae9e70738dce62f", + "reference": "bf1716eb98bd689451b071548ae9e70738dce62f", + "shasum": "" + }, + "require": { + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0|^12.0", + "php": "^8.0", + "spatie/backtrace": "^1.6.1", + "symfony/http-foundation": "^5.2|^6.0|^7.0", + "symfony/mime": "^5.2|^6.0|^7.0", + "symfony/process": "^5.2|^6.0|^7.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0" + }, + "require-dev": { + "dms/phpunit-arraysubset-asserts": "^0.5.0", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/pest-plugin-snapshots": "^1.0|^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.3.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\FlareClient\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/spatie/flare-client-php", + "keywords": [ + "exception", + "flare", + "reporting", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/flare-client-php/issues", + "source": "https://github.com/spatie/flare-client-php/tree/1.10.1" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2025-02-14T13:42:06+00:00" + }, + { + "name": "spatie/ignition", + "version": "1.15.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/ignition.git", + "reference": "31f314153020aee5af3537e507fef892ffbf8c85" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ignition/zipball/31f314153020aee5af3537e507fef892ffbf8c85", + "reference": "31f314153020aee5af3537e507fef892ffbf8c85", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": "^8.0", + "spatie/error-solutions": "^1.0", + "spatie/flare-client-php": "^1.7", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "require-dev": { + "illuminate/cache": "^9.52|^10.0|^11.0|^12.0", + "mockery/mockery": "^1.4", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "psr/simple-cache-implementation": "*", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.5.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for PHP applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/ignition/issues", + "source": "https://github.com/spatie/ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2025-02-21T14:31:39+00:00" + }, + { + "name": "spatie/laravel-ignition", + "version": "2.9.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ignition.git", + "reference": "1baee07216d6748ebd3a65ba97381b051838707a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/1baee07216d6748ebd3a65ba97381b051838707a", + "reference": "1baee07216d6748ebd3a65ba97381b051838707a", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "illuminate/support": "^10.0|^11.0|^12.0", + "php": "^8.1", + "spatie/ignition": "^1.15", + "symfony/console": "^6.2.3|^7.0", + "symfony/var-dumper": "^6.2.3|^7.0" + }, + "require-dev": { + "livewire/livewire": "^2.11|^3.3.5", + "mockery/mockery": "^1.5.1", + "openai-php/client": "^0.8.1|^0.10", + "orchestra/testbench": "8.22.3|^9.0|^10.0", + "pestphp/pest": "^2.34|^3.7", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan-deprecation-rules": "^1.1.1|^2.0", + "phpstan/phpstan-phpunit": "^1.3.16|^2.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "laravel": { + "aliases": { + "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" + }, + "providers": [ + "Spatie\\LaravelIgnition\\IgnitionServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\LaravelIgnition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/laravel-ignition/issues", + "source": "https://github.com/spatie/laravel-ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2025-02-20T13:13:55+00:00" + }, + { + "name": "symfony/yaml", + "version": "v6.4.21", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "f01987f45676778b474468aa266fe2eda1f2bc7e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/f01987f45676778b474468aa266fe2eda1f2bc7e", + "reference": "f01987f45676778b474468aa266fe2eda1f2bc7e", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<5.4" + }, + "require-dev": { + "symfony/console": "^5.4|^6.0|^7.0" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v6.4.21" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-04-04T09:48:44+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:36:25+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": true, + "prefer-lowest": false, + "platform": { + "php": "^8.1" + }, + "platform-dev": [], + "plugin-api-version": "2.6.0" +} diff --git a/config/app.php b/config/app.php new file mode 100644 index 0000000..9207160 --- /dev/null +++ b/config/app.php @@ -0,0 +1,188 @@ + env('APP_NAME', 'Laravel'), + + /* + |-------------------------------------------------------------------------- + | Application Environment + |-------------------------------------------------------------------------- + | + | This value determines the "environment" your application is currently + | running in. This may determine how you prefer to configure various + | services the application utilizes. Set this in your ".env" file. + | + */ + + 'env' => env('APP_ENV', 'production'), + + /* + |-------------------------------------------------------------------------- + | Application Debug Mode + |-------------------------------------------------------------------------- + | + | When your application is in debug mode, detailed error messages with + | stack traces will be shown on every error that occurs within your + | application. If disabled, a simple generic error page is shown. + | + */ + + 'debug' => (bool) env('APP_DEBUG', false), + + /* + |-------------------------------------------------------------------------- + | Application URL + |-------------------------------------------------------------------------- + | + | This URL is used by the console to properly generate URLs when using + | the Artisan command line tool. You should set this to the root of + | your application so that it is used when running Artisan tasks. + | + */ + + 'url' => env('APP_URL', 'http://localhost'), + + 'asset_url' => env('ASSET_URL'), + + /* + |-------------------------------------------------------------------------- + | Application Timezone + |-------------------------------------------------------------------------- + | + | Here you may specify the default timezone for your application, which + | will be used by the PHP date and date-time functions. We have gone + | ahead and set this to a sensible default for you out of the box. + | + */ + + 'timezone' => 'UTC', + + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by the translation service provider. You are free to set this value + | to any of the locales which will be supported by the application. + | + */ + + 'locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Application Fallback Locale + |-------------------------------------------------------------------------- + | + | The fallback locale determines the locale to use when the current one + | is not available. You may change the value to correspond to any of + | the language folders that are provided through your application. + | + */ + + 'fallback_locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Faker Locale + |-------------------------------------------------------------------------- + | + | This locale will be used by the Faker PHP library when generating fake + | data for your database seeds. For example, this will be used to get + | localized telephone numbers, street address information and more. + | + */ + + 'faker_locale' => 'en_US', + + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is used by the Illuminate encrypter service and should be set + | to a random, 32 character string, otherwise these encrypted strings + | will not be safe. Please do this before deploying an application! + | + */ + + 'key' => env('APP_KEY'), + + 'cipher' => 'AES-256-CBC', + + /* + |-------------------------------------------------------------------------- + | Maintenance Mode Driver + |-------------------------------------------------------------------------- + | + | These configuration options determine the driver used to determine and + | manage Laravel's "maintenance mode" status. The "cache" driver will + | allow maintenance mode to be controlled across multiple machines. + | + | Supported drivers: "file", "cache" + | + */ + + 'maintenance' => [ + 'driver' => 'file', + // 'store' => 'redis', + ], + + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + + 'providers' => ServiceProvider::defaultProviders()->merge([ + /* + * Package Service Providers... + */ + + /* + * Application Service Providers... + */ + App\Providers\AppServiceProvider::class, + App\Providers\AuthServiceProvider::class, + // App\Providers\BroadcastServiceProvider::class, + App\Providers\EventServiceProvider::class, + App\Providers\RouteServiceProvider::class, + ])->toArray(), + + /* + |-------------------------------------------------------------------------- + | Class Aliases + |-------------------------------------------------------------------------- + | + | This array of class aliases will be registered when this application + | is started. However, feel free to register as many as you wish as + | the aliases are "lazy" loaded so they don't hinder performance. + | + */ + + 'aliases' => Facade::defaultAliases()->merge([ + // 'Example' => App\Facades\Example::class, + ])->toArray(), + +]; diff --git a/config/auth.php b/config/auth.php new file mode 100644 index 0000000..9548c15 --- /dev/null +++ b/config/auth.php @@ -0,0 +1,115 @@ + [ + 'guard' => 'web', + 'passwords' => 'users', + ], + + /* + |-------------------------------------------------------------------------- + | Authentication Guards + |-------------------------------------------------------------------------- + | + | Next, you may define every authentication guard for your application. + | Of course, a great default configuration has been defined for you + | here which uses session storage and the Eloquent user provider. + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | Supported: "session" + | + */ + + 'guards' => [ + 'web' => [ + 'driver' => 'session', + 'provider' => 'users', + ], + ], + + /* + |-------------------------------------------------------------------------- + | User Providers + |-------------------------------------------------------------------------- + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | If you have multiple user tables or models you may configure multiple + | sources which represent each model / table. These sources may then + | be assigned to any extra authentication guards you have defined. + | + | Supported: "database", "eloquent" + | + */ + + 'providers' => [ + 'users' => [ + 'driver' => 'eloquent', + 'model' => App\Models\User::class, + ], + + // 'users' => [ + // 'driver' => 'database', + // 'table' => 'users', + // ], + ], + + /* + |-------------------------------------------------------------------------- + | Resetting Passwords + |-------------------------------------------------------------------------- + | + | 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. + | + | The expiry time is the number of minutes that each reset token will be + | considered valid. This security feature keeps tokens short-lived so + | they have less time to be guessed. You may change this as needed. + | + | The throttle setting is the number of seconds a user must wait before + | generating more password reset tokens. This prevents the user from + | quickly generating a very large amount of password reset tokens. + | + */ + + 'passwords' => [ + 'users' => [ + 'provider' => 'users', + 'table' => 'password_reset_tokens', + 'expire' => 60, + 'throttle' => 60, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the amount of seconds before a password confirmation + | times out and the user is prompted to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ + + 'password_timeout' => 10800, + +]; diff --git a/config/broadcasting.php b/config/broadcasting.php new file mode 100644 index 0000000..2410485 --- /dev/null +++ b/config/broadcasting.php @@ -0,0 +1,71 @@ + env('BROADCAST_DRIVER', 'null'), + + /* + |-------------------------------------------------------------------------- + | Broadcast Connections + |-------------------------------------------------------------------------- + | + | Here you may define all of the broadcast connections that will be used + | to broadcast events to other systems or over websockets. Samples of + | each available type of connection are provided inside this array. + | + */ + + 'connections' => [ + + 'pusher' => [ + 'driver' => 'pusher', + 'key' => env('PUSHER_APP_KEY'), + 'secret' => env('PUSHER_APP_SECRET'), + 'app_id' => env('PUSHER_APP_ID'), + 'options' => [ + 'cluster' => env('PUSHER_APP_CLUSTER'), + 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com', + 'port' => env('PUSHER_PORT', 443), + 'scheme' => env('PUSHER_SCHEME', 'https'), + 'encrypted' => true, + 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https', + ], + 'client_options' => [ + // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html + ], + ], + + 'ably' => [ + 'driver' => 'ably', + 'key' => env('ABLY_KEY'), + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + ], + + 'log' => [ + 'driver' => 'log', + ], + + 'null' => [ + 'driver' => 'null', + ], + + ], + +]; diff --git a/config/cache.php b/config/cache.php new file mode 100644 index 0000000..d4171e2 --- /dev/null +++ b/config/cache.php @@ -0,0 +1,111 @@ + env('CACHE_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Cache Stores + |-------------------------------------------------------------------------- + | + | Here you may define all of the cache "stores" for your application as + | well as their drivers. You may even define multiple stores for the + | same cache driver to group types of items stored in your caches. + | + | Supported drivers: "apc", "array", "database", "file", + | "memcached", "redis", "dynamodb", "octane", "null" + | + */ + + 'stores' => [ + + 'apc' => [ + 'driver' => 'apc', + ], + + 'array' => [ + 'driver' => 'array', + 'serialize' => false, + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'cache', + 'connection' => null, + 'lock_connection' => null, + ], + + 'file' => [ + 'driver' => 'file', + 'path' => storage_path('framework/cache/data'), + 'lock_path' => storage_path('framework/cache/data'), + ], + + 'memcached' => [ + 'driver' => 'memcached', + 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), + 'sasl' => [ + env('MEMCACHED_USERNAME'), + env('MEMCACHED_PASSWORD'), + ], + 'options' => [ + // Memcached::OPT_CONNECT_TIMEOUT => 2000, + ], + 'servers' => [ + [ + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, + ], + ], + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'cache', + 'lock_connection' => 'default', + ], + + 'dynamodb' => [ + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'endpoint' => env('DYNAMODB_ENDPOINT'), + ], + + 'octane' => [ + 'driver' => 'octane', + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Cache Key Prefix + |-------------------------------------------------------------------------- + | + | When utilizing the APC, database, memcached, Redis, or DynamoDB cache + | stores there might be other applications using the same cache. For + | that reason, you may prefix every cache key to avoid collisions. + | + */ + + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'), + +]; diff --git a/config/cors.php b/config/cors.php new file mode 100644 index 0000000..8a39e6d --- /dev/null +++ b/config/cors.php @@ -0,0 +1,34 @@ + ['api/*', 'sanctum/csrf-cookie'], + + 'allowed_methods' => ['*'], + + 'allowed_origins' => ['*'], + + 'allowed_origins_patterns' => [], + + 'allowed_headers' => ['*'], + + 'exposed_headers' => [], + + 'max_age' => 0, + + 'supports_credentials' => false, + +]; diff --git a/config/database.php b/config/database.php new file mode 100644 index 0000000..137ad18 --- /dev/null +++ b/config/database.php @@ -0,0 +1,151 @@ + env('DB_CONNECTION', 'mysql'), + + /* + |-------------------------------------------------------------------------- + | Database Connections + |-------------------------------------------------------------------------- + | + | Here are each of the database connections setup for your application. + | Of course, examples of configuring each database platform that is + | supported by Laravel is shown below to make development simple. + | + | + | All database work in Laravel is done through the PHP PDO facilities + | so make sure you have the driver for your particular database of + | choice installed on your machine before you begin development. + | + */ + + 'connections' => [ + + 'sqlite' => [ + 'driver' => 'sqlite', + 'url' => env('DATABASE_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', + 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + ], + + 'mysql' => [ + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'pgsql' => [ + 'driver' => 'pgsql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + 'search_path' => 'public', + 'sslmode' => 'prefer', + ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + // 'encrypt' => env('DB_ENCRYPT', 'yes'), + // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'), + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Migration Repository Table + |-------------------------------------------------------------------------- + | + | This table keeps track of all the migrations that have already run for + | your application. Using this information, we can determine which of + | the migrations on disk haven't actually been run in the database. + | + */ + + 'migrations' => 'migrations', + + /* + |-------------------------------------------------------------------------- + | Redis Databases + |-------------------------------------------------------------------------- + | + | Redis is an open source, fast, and advanced key-value store that also + | provides a richer body of commands than a typical key-value system + | such as APC or Memcached. Laravel makes it easy to dig right in. + | + */ + + 'redis' => [ + + 'client' => env('REDIS_CLIENT', 'phpredis'), + + 'options' => [ + 'cluster' => env('REDIS_CLUSTER', 'redis'), + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), + ], + + 'default' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_DB', '0'), + ], + + 'cache' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_CACHE_DB', '1'), + ], + + ], + +]; diff --git a/config/filesystems.php b/config/filesystems.php new file mode 100644 index 0000000..e9d9dbd --- /dev/null +++ b/config/filesystems.php @@ -0,0 +1,76 @@ + env('FILESYSTEM_DISK', 'local'), + + /* + |-------------------------------------------------------------------------- + | Filesystem Disks + |-------------------------------------------------------------------------- + | + | Here you may configure as many filesystem "disks" as you wish, and you + | may even configure multiple disks of the same driver. Defaults have + | been set up for each driver as an example of the required values. + | + | Supported Drivers: "local", "ftp", "sftp", "s3" + | + */ + + 'disks' => [ + + 'local' => [ + 'driver' => 'local', + 'root' => storage_path('app'), + 'throw' => false, + ], + + 'public' => [ + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => env('APP_URL').'/storage', + 'visibility' => 'public', + 'throw' => false, + ], + + 's3' => [ + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), + 'throw' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Symbolic Links + |-------------------------------------------------------------------------- + | + | Here you may configure the symbolic links that will be created when the + | `storage:link` Artisan command is executed. The array keys should be + | the locations of the links and the values should be their targets. + | + */ + + 'links' => [ + public_path('storage') => storage_path('app/public'), + ], + +]; diff --git a/config/hashing.php b/config/hashing.php new file mode 100644 index 0000000..0e8a0bb --- /dev/null +++ b/config/hashing.php @@ -0,0 +1,54 @@ + 'bcrypt', + + /* + |-------------------------------------------------------------------------- + | Bcrypt Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Bcrypt algorithm. This will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'bcrypt' => [ + 'rounds' => env('BCRYPT_ROUNDS', 12), + 'verify' => true, + ], + + /* + |-------------------------------------------------------------------------- + | Argon Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Argon algorithm. These will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'argon' => [ + 'memory' => 65536, + 'threads' => 1, + 'time' => 4, + 'verify' => true, + ], + +]; diff --git a/config/logging.php b/config/logging.php new file mode 100644 index 0000000..c44d276 --- /dev/null +++ b/config/logging.php @@ -0,0 +1,131 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Deprecations Log Channel + |-------------------------------------------------------------------------- + | + | This option controls the log channel that should be used to log warnings + | regarding deprecated PHP and library features. This allows you to get + | your application ready for upcoming major versions of dependencies. + | + */ + + 'deprecations' => [ + 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + 'trace' => false, + ], + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Out of + | the box, Laravel uses the Monolog PHP logging library. This gives + | you a variety of powerful log handlers / formatters to utilize. + | + | Available Drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", + | "custom", "stack" + | + */ + + 'channels' => [ + 'stack' => [ + 'driver' => 'stack', + 'channels' => ['single'], + 'ignore_exceptions' => false, + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'days' => 14, + 'replace_placeholders' => true, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => 'Laravel Log', + 'emoji' => ':boom:', + 'level' => env('LOG_LEVEL', 'critical'), + 'replace_placeholders' => true, + ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class), + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => env('LOG_LEVEL', 'debug'), + 'facility' => LOG_USER, + 'replace_placeholders' => true, + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'null' => [ + 'driver' => 'monolog', + 'handler' => NullHandler::class, + ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], + ], + +]; diff --git a/config/mail.php b/config/mail.php new file mode 100644 index 0000000..e894b2e --- /dev/null +++ b/config/mail.php @@ -0,0 +1,134 @@ + env('MAIL_MAILER', 'smtp'), + + /* + |-------------------------------------------------------------------------- + | Mailer Configurations + |-------------------------------------------------------------------------- + | + | Here you may configure all of the mailers used by your application plus + | their respective settings. Several examples have been configured for + | you and you are free to add your own as your application requires. + | + | Laravel supports a variety of mail "transport" drivers to be used while + | sending an e-mail. You will specify which one you are using for your + | mailers below. You are free to add additional mailers as required. + | + | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", + | "postmark", "log", "array", "failover", "roundrobin" + | + */ + + 'mailers' => [ + 'smtp' => [ + 'transport' => 'smtp', + 'url' => env('MAIL_URL'), + 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), + 'port' => env('MAIL_PORT', 587), + 'encryption' => env('MAIL_ENCRYPTION', 'tls'), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), + ], + + 'ses' => [ + 'transport' => 'ses', + ], + + 'postmark' => [ + 'transport' => 'postmark', + // 'message_stream_id' => null, + // 'client' => [ + // 'timeout' => 5, + // ], + ], + + 'mailgun' => [ + 'transport' => 'mailgun', + // 'client' => [ + // 'timeout' => 5, + // ], + ], + + 'sendmail' => [ + 'transport' => 'sendmail', + 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'), + ], + + 'log' => [ + 'transport' => 'log', + 'channel' => env('MAIL_LOG_CHANNEL'), + ], + + 'array' => [ + 'transport' => 'array', + ], + + 'failover' => [ + 'transport' => 'failover', + 'mailers' => [ + 'smtp', + 'log', + ], + ], + + 'roundrobin' => [ + 'transport' => 'roundrobin', + 'mailers' => [ + 'ses', + 'postmark', + ], + ], + ], + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all e-mails sent by your application to be sent from + | the same address. Here, you may specify a name and address that is + | used globally for all e-mails that are sent by your application. + | + */ + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', 'Example'), + ], + + /* + |-------------------------------------------------------------------------- + | Markdown Mail Settings + |-------------------------------------------------------------------------- + | + | If you are using Markdown based email rendering, you may configure your + | theme and component paths here, allowing you to customize the design + | of the emails. Or, you may simply stick with the Laravel defaults! + | + */ + + 'markdown' => [ + 'theme' => 'default', + + 'paths' => [ + resource_path('views/vendor/mail'), + ], + ], + +]; diff --git a/config/queue.php b/config/queue.php new file mode 100644 index 0000000..01c6b05 --- /dev/null +++ b/config/queue.php @@ -0,0 +1,109 @@ + env('QUEUE_CONNECTION', 'sync'), + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection information for each server that + | is used by your application. A default configuration has been added + | for each back-end shipped with Laravel. You are free to add more. + | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | + */ + + 'connections' => [ + + 'sync' => [ + 'driver' => 'sync', + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', + 'retry_after' => 90, + 'after_commit' => false, + ], + + 'beanstalkd' => [ + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', + 'retry_after' => 90, + 'block_for' => 0, + 'after_commit' => false, + ], + + 'sqs' => [ + 'driver' => 'sqs', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'default'), + 'suffix' => env('SQS_SUFFIX'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'after_commit' => false, + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => 90, + 'block_for' => null, + 'after_commit' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Job Batching + |-------------------------------------------------------------------------- + | + | The following options configure the database and table that store job + | batching information. These options can be updated to any database + | connection and table which has been defined by your application. + | + */ + + 'batching' => [ + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'job_batches', + ], + + /* + |-------------------------------------------------------------------------- + | Failed Queue Jobs + |-------------------------------------------------------------------------- + | + | These options configure the behavior of failed queue job logging so you + | can control which database and table are used to store the jobs that + | have failed. You may change them to any database / table you wish. + | + */ + + 'failed' => [ + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'failed_jobs', + ], + +]; diff --git a/config/sanctum.php b/config/sanctum.php new file mode 100644 index 0000000..35d75b3 --- /dev/null +++ b/config/sanctum.php @@ -0,0 +1,83 @@ + explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf( + '%s%s', + 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', + Sanctum::currentApplicationUrlWithPort() + ))), + + /* + |-------------------------------------------------------------------------- + | Sanctum Guards + |-------------------------------------------------------------------------- + | + | This array contains the authentication guards that will be checked when + | Sanctum is trying to authenticate a request. If none of these guards + | are able to authenticate the request, Sanctum will use the bearer + | token that's present on an incoming request for authentication. + | + */ + + 'guard' => ['web'], + + /* + |-------------------------------------------------------------------------- + | Expiration Minutes + |-------------------------------------------------------------------------- + | + | This value controls the number of minutes until an issued token will be + | considered expired. This will override any values set in the token's + | "expires_at" attribute, but first-party sessions are not affected. + | + */ + + 'expiration' => null, + + /* + |-------------------------------------------------------------------------- + | Token Prefix + |-------------------------------------------------------------------------- + | + | Sanctum can prefix new tokens in order to take advantage of numerous + | security scanning initiatives maintained by open source platforms + | that notify developers if they commit tokens into repositories. + | + | See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning + | + */ + + 'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''), + + /* + |-------------------------------------------------------------------------- + | Sanctum Middleware + |-------------------------------------------------------------------------- + | + | When authenticating your first-party SPA with Sanctum you may need to + | customize some of the middleware Sanctum uses while processing the + | request. You may change the middleware listed below as required. + | + */ + + 'middleware' => [ + 'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class, + 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, + 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, + ], + +]; diff --git a/config/services.php b/config/services.php new file mode 100644 index 0000000..0ace530 --- /dev/null +++ b/config/services.php @@ -0,0 +1,34 @@ + [ + 'domain' => env('MAILGUN_DOMAIN'), + 'secret' => env('MAILGUN_SECRET'), + 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), + 'scheme' => 'https', + ], + + 'postmark' => [ + 'token' => env('POSTMARK_TOKEN'), + ], + + 'ses' => [ + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + +]; diff --git a/config/session.php b/config/session.php new file mode 100644 index 0000000..e738cb3 --- /dev/null +++ b/config/session.php @@ -0,0 +1,214 @@ + env('SESSION_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Session Lifetime + |-------------------------------------------------------------------------- + | + | Here you may specify the number of minutes that you wish the session + | to be allowed to remain idle before it expires. If you want them + | to immediately expire on the browser closing, set that option. + | + */ + + 'lifetime' => env('SESSION_LIFETIME', 120), + + 'expire_on_close' => false, + + /* + |-------------------------------------------------------------------------- + | Session Encryption + |-------------------------------------------------------------------------- + | + | This option allows you to easily specify that all of your session data + | should be encrypted before it is stored. All encryption will be run + | automatically by Laravel and you can use the Session like normal. + | + */ + + 'encrypt' => false, + + /* + |-------------------------------------------------------------------------- + | Session File Location + |-------------------------------------------------------------------------- + | + | When using the native session driver, we need a location where session + | files may be stored. A default has been set for you but a different + | location may be specified. This is only needed for file sessions. + | + */ + + 'files' => storage_path('framework/sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Database Connection + |-------------------------------------------------------------------------- + | + | When using the "database" or "redis" session drivers, you may specify a + | connection that should be used to manage these sessions. This should + | correspond to a connection in your database configuration options. + | + */ + + 'connection' => env('SESSION_CONNECTION'), + + /* + |-------------------------------------------------------------------------- + | Session Database Table + |-------------------------------------------------------------------------- + | + | When using the "database" session driver, you may specify the table we + | should use to manage the sessions. Of course, a sensible default is + | provided for you; however, you are free to change this as needed. + | + */ + + 'table' => 'sessions', + + /* + |-------------------------------------------------------------------------- + | Session Cache Store + |-------------------------------------------------------------------------- + | + | While using one of the framework's cache driven session backends you may + | list a cache store that should be used for these sessions. This value + | must match with one of the application's configured cache "stores". + | + | Affects: "apc", "dynamodb", "memcached", "redis" + | + */ + + 'store' => env('SESSION_STORE'), + + /* + |-------------------------------------------------------------------------- + | Session Sweeping Lottery + |-------------------------------------------------------------------------- + | + | Some session drivers must manually sweep their storage location to get + | rid of old sessions from storage. Here are the chances that it will + | happen on a given request. By default, the odds are 2 out of 100. + | + */ + + 'lottery' => [2, 100], + + /* + |-------------------------------------------------------------------------- + | Session Cookie Name + |-------------------------------------------------------------------------- + | + | Here you may change the name of the cookie used to identify a session + | instance by ID. The name specified here will get used every time a + | new session cookie is created by the framework for every driver. + | + */ + + 'cookie' => env( + 'SESSION_COOKIE', + Str::slug(env('APP_NAME', 'laravel'), '_').'_session' + ), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Path + |-------------------------------------------------------------------------- + | + | The session cookie path determines the path for which the cookie will + | be regarded as available. Typically, this will be the root path of + | your application but you are free to change this when necessary. + | + */ + + 'path' => '/', + + /* + |-------------------------------------------------------------------------- + | Session Cookie Domain + |-------------------------------------------------------------------------- + | + | Here you may change the domain of the cookie used to identify a session + | in your application. This will determine which domains the cookie is + | available to in your application. A sensible default has been set. + | + */ + + 'domain' => env('SESSION_DOMAIN'), + + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you when it can't be done securely. + | + */ + + 'secure' => env('SESSION_SECURE_COOKIE'), + + /* + |-------------------------------------------------------------------------- + | HTTP Access Only + |-------------------------------------------------------------------------- + | + | Setting this value to true will prevent JavaScript from accessing the + | value of the cookie and the cookie will only be accessible through + | the HTTP protocol. You are free to modify this option if needed. + | + */ + + 'http_only' => true, + + /* + |-------------------------------------------------------------------------- + | Same-Site Cookies + |-------------------------------------------------------------------------- + | + | This option determines how your cookies behave when cross-site requests + | take place, and can be used to mitigate CSRF attacks. By default, we + | will set this value to "lax" since this is a secure default value. + | + | Supported: "lax", "strict", "none", null + | + */ + + 'same_site' => 'lax', + + /* + |-------------------------------------------------------------------------- + | Partitioned Cookies + |-------------------------------------------------------------------------- + | + | Setting this value to true will tie the cookie to the top-level site for + | a cross-site context. Partitioned cookies are accepted by the browser + | when flagged "secure" and the Same-Site attribute is set to "none". + | + */ + + 'partitioned' => false, + +]; diff --git a/config/view.php b/config/view.php new file mode 100644 index 0000000..22b8a18 --- /dev/null +++ b/config/view.php @@ -0,0 +1,36 @@ + [ + resource_path('views'), + ], + + /* + |-------------------------------------------------------------------------- + | Compiled View Path + |-------------------------------------------------------------------------- + | + | This option determines where all the compiled Blade templates will be + | stored for your application. Typically, this is within the storage + | directory. However, as usual, you are free to change this value. + | + */ + + 'compiled' => env( + 'VIEW_COMPILED_PATH', + realpath(storage_path('framework/views')) + ), + +]; diff --git a/database/.gitignore b/database/.gitignore new file mode 100644 index 0000000..9b19b93 --- /dev/null +++ b/database/.gitignore @@ -0,0 +1 @@ +*.sqlite* diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100644 index 0000000..584104c --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,44 @@ + + */ +class UserFactory extends Factory +{ + /** + * The current password being used by the factory. + */ + protected static ?string $password; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'name' => fake()->name(), + 'email' => fake()->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => static::$password ??= Hash::make('password'), + 'remember_token' => Str::random(10), + ]; + } + + /** + * Indicate that the model's email address should be unverified. + */ + public function unverified(): static + { + return $this->state(fn (array $attributes) => [ + 'email_verified_at' => null, + ]); + } +} diff --git a/database/migrations/2024_03_19_000000_create_pakets_table.php b/database/migrations/2024_03_19_000000_create_pakets_table.php new file mode 100644 index 0000000..f698c95 --- /dev/null +++ b/database/migrations/2024_03_19_000000_create_pakets_table.php @@ -0,0 +1,35 @@ +id(); + $table->string('nama_paket'); + $table->string('slug')->unique(); + $table->enum('jenis_paket', ['wedding', 'seminar', 'outdoor', 'custom']); + $table->decimal('harga', 15, 2); + $table->string('image')->nullable(); + $table->text('keterangan')->nullable(); + $table->json('detail_barang')->nullable(); + $table->integer('stok')->default(0); + $table->enum('status', ['aktif', 'nonaktif'])->default('aktif'); + $table->decimal('rating', 3, 2)->default(0.00); + $table->integer('total_rating')->default(0); + $table->integer('minimum_order')->default(1); + $table->integer('maximum_order')->nullable(); + $table->timestamps(); + $table->softDeletes(); + }); + } + + public function down() + { + Schema::dropIfExists('pakets'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_19_000001_create_barangs_table.php b/database/migrations/2024_03_19_000001_create_barangs_table.php new file mode 100644 index 0000000..03a02b2 --- /dev/null +++ b/database/migrations/2024_03_19_000001_create_barangs_table.php @@ -0,0 +1,30 @@ +id(); + $table->string('nama_barang'); + $table->string('kode_barang')->unique(); + $table->string('kategori'); + $table->text('deskripsi')->nullable(); + $table->decimal('harga_sewa', 10, 2); + $table->integer('stok')->default(0); + $table->string('image')->nullable(); + $table->enum('status', ['aktif', 'nonaktif'])->default('aktif'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + public function down() + { + Schema::dropIfExists('barangs'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_19_000001_create_paket_barang_table.php b/database/migrations/2024_03_19_000001_create_paket_barang_table.php new file mode 100644 index 0000000..aecedae --- /dev/null +++ b/database/migrations/2024_03_19_000001_create_paket_barang_table.php @@ -0,0 +1,24 @@ +id(); + $table->foreignId('paket_id')->constrained('pakets')->onDelete('cascade'); + $table->foreignId('barang_id')->constrained('barangs')->onDelete('cascade'); + $table->integer('jumlah')->default(1); + $table->timestamps(); + }); + } + + public function down() + { + Schema::dropIfExists('paket_barang'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_19_000001_create_users_table.php b/database/migrations/2024_03_19_000001_create_users_table.php new file mode 100644 index 0000000..fed6170 --- /dev/null +++ b/database/migrations/2024_03_19_000001_create_users_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('nama'); + $table->string('username')->unique(); + $table->string('email')->unique(); + $table->string('password'); + $table->text('alamat'); + $table->string('no_telp', 20); + $table->enum('tipe_pengguna', ['admin', 'user'])->default('user'); + $table->rememberToken(); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('users'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_21_000000_create_chats_table.php b/database/migrations/2024_03_21_000000_create_chats_table.php new file mode 100644 index 0000000..0568ebf --- /dev/null +++ b/database/migrations/2024_03_21_000000_create_chats_table.php @@ -0,0 +1,26 @@ +id(); + $table->foreignId('sewa_id')->constrained('sewas')->onDelete('cascade'); + $table->foreignId('sender_id')->constrained('users')->onDelete('cascade'); + $table->foreignId('receiver_id')->constrained('users')->onDelete('cascade'); + $table->text('message'); + $table->boolean('is_read')->default(false); + $table->timestamps(); + }); + } + + public function down() + { + Schema::dropIfExists('chats'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_21_add_role_to_users_table.php b/database/migrations/2024_03_21_add_role_to_users_table.php new file mode 100644 index 0000000..244ce21 --- /dev/null +++ b/database/migrations/2024_03_21_add_role_to_users_table.php @@ -0,0 +1,22 @@ +string('role')->default('customer')->after('email'); + }); + } + + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('role'); + }); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_21_create_ongkir_kota_table.php b/database/migrations/2024_03_21_create_ongkir_kota_table.php new file mode 100644 index 0000000..d3a5552 --- /dev/null +++ b/database/migrations/2024_03_21_create_ongkir_kota_table.php @@ -0,0 +1,25 @@ +id(); + $table->string('nama_kota'); + $table->decimal('biaya_ongkir', 10, 2); + $table->boolean('status')->default(true); + $table->timestamps(); + $table->softDeletes(); + }); + } + + public function down() + { + Schema::dropIfExists('ongkir_kota'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_21_create_paket_ongkir_kota_table.php b/database/migrations/2024_03_21_create_paket_ongkir_kota_table.php new file mode 100644 index 0000000..f72148a --- /dev/null +++ b/database/migrations/2024_03_21_create_paket_ongkir_kota_table.php @@ -0,0 +1,26 @@ +id(); + $table->foreignId('paket_id')->constrained()->onDelete('cascade'); + $table->string('nama_kota'); + $table->decimal('biaya_ongkir', 10, 2); + $table->boolean('status')->default(true); + $table->timestamps(); + $table->softDeletes(); + }); + } + + public function down() + { + Schema::dropIfExists('paket_ongkir_kota'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_22_000000_create_contact_info_table.php b/database/migrations/2024_03_22_000000_create_contact_info_table.php new file mode 100644 index 0000000..430dea9 --- /dev/null +++ b/database/migrations/2024_03_22_000000_create_contact_info_table.php @@ -0,0 +1,29 @@ +id(); + $table->string('title'); + $table->text('description')->nullable(); + $table->string('name'); // Nama perusahaan/bisnis + $table->text('address')->nullable(); // Alamat lengkap + $table->string('phone')->nullable(); + $table->string('email')->nullable(); + $table->string('whatsapp')->nullable(); + $table->boolean('is_active')->default(true); + $table->timestamps(); + }); + } + + public function down() + { + Schema::dropIfExists('contact_info'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_22_000001_create_sewas_table.php b/database/migrations/2024_03_22_000001_create_sewas_table.php new file mode 100644 index 0000000..f2f35f1 --- /dev/null +++ b/database/migrations/2024_03_22_000001_create_sewas_table.php @@ -0,0 +1,29 @@ +id(); + $table->foreignId('user_id')->constrained()->onDelete('cascade'); + $table->foreignId('paket_id')->constrained()->onDelete('cascade'); + $table->datetime('tanggal_mulai'); + $table->datetime('tanggal_selesai'); + $table->string('lokasi'); + $table->text('catatan')->nullable(); + $table->decimal('total_harga', 10, 2); + $table->enum('status', ['pending', 'confirmed', 'completed', 'cancelled', 'chat_only']); + $table->timestamps(); + }); + } + + public function down() + { + Schema::dropIfExists('sewas'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_22_add_kota_and_ongkir_to_sewas.php b/database/migrations/2024_03_22_add_kota_and_ongkir_to_sewas.php new file mode 100644 index 0000000..7eefc91 --- /dev/null +++ b/database/migrations/2024_03_22_add_kota_and_ongkir_to_sewas.php @@ -0,0 +1,30 @@ +foreignId('kota_id')->nullable()->after('paket_id')->constrained('paket_ongkir_kota')->onDelete('set null'); + $table->decimal('ongkir', 10, 2)->default(0)->after('kota_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('sewas', function (Blueprint $table) { + $table->dropForeign(['kota_id']); + $table->dropColumn(['kota_id', 'ongkir']); + }); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_22_create_paket_table.php b/database/migrations/2024_03_22_create_paket_table.php new file mode 100644 index 0000000..7b383c3 --- /dev/null +++ b/database/migrations/2024_03_22_create_paket_table.php @@ -0,0 +1,32 @@ +id(); + $table->string('nama_paket'); + $table->text('deskripsi')->nullable(); + $table->decimal('harga', 12, 2); + $table->integer('durasi_hari'); + $table->boolean('is_available')->default(true); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('paket'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_22_create_sewa_table.php b/database/migrations/2024_03_22_create_sewa_table.php new file mode 100644 index 0000000..3d1d403 --- /dev/null +++ b/database/migrations/2024_03_22_create_sewa_table.php @@ -0,0 +1,35 @@ +id(); + $table->foreignId('user_id')->constrained('users')->onDelete('cascade'); + $table->foreignId('paket_id')->constrained('paket')->onDelete('cascade'); + $table->date('tanggal_mulai'); + $table->date('tanggal_selesai'); + $table->decimal('total_harga', 12, 2); + $table->decimal('biaya_operasional', 12, 2)->default(0); + $table->enum('status', ['pending', 'active', 'completed', 'cancelled'])->default('pending'); + $table->text('catatan')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('sewa'); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_22_fix_status_column_sewas.php b/database/migrations/2024_03_22_fix_status_column_sewas.php new file mode 100644 index 0000000..337c64a --- /dev/null +++ b/database/migrations/2024_03_22_fix_status_column_sewas.php @@ -0,0 +1,30 @@ +string('status')->default('pending')->change(); + }); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_26_000000_add_name_and_address_to_contact_info.php b/database/migrations/2024_03_26_000000_add_name_and_address_to_contact_info.php new file mode 100644 index 0000000..4434853 --- /dev/null +++ b/database/migrations/2024_03_26_000000_add_name_and_address_to_contact_info.php @@ -0,0 +1,23 @@ +string('name')->after('description')->nullable(); + $table->text('address')->after('name')->nullable(); + }); + } + + public function down() + { + Schema::table('contact_info', function (Blueprint $table) { + $table->dropColumn(['name', 'address']); + }); + } +}; \ No newline at end of file diff --git a/database/migrations/2024_03_26_000001_add_nominal_pembayaran_to_sewas.php b/database/migrations/2024_03_26_000001_add_nominal_pembayaran_to_sewas.php new file mode 100644 index 0000000..6412ebe --- /dev/null +++ b/database/migrations/2024_03_26_000001_add_nominal_pembayaran_to_sewas.php @@ -0,0 +1,22 @@ +decimal('nominal_pembayaran', 10, 2)->nullable()->after('total_harga'); + }); + } + + public function down() + { + Schema::table('sewas', function (Blueprint $table) { + $table->dropColumn('nominal_pembayaran'); + }); + } +}; \ No newline at end of file diff --git a/database/migrations/2025_05_15_194034_create_sewas_table.php b/database/migrations/2025_05_15_194034_create_sewas_table.php new file mode 100644 index 0000000..a353074 --- /dev/null +++ b/database/migrations/2025_05_15_194034_create_sewas_table.php @@ -0,0 +1,40 @@ +id(); + $table->foreignId('user_id')->constrained('users')->onDelete('cascade'); + $table->foreignId('paket_id')->constrained('pakets')->onDelete('cascade'); + $table->date('tanggal_mulai'); + $table->date('tanggal_selesai'); + $table->string('lokasi'); + $table->text('catatan')->nullable(); + $table->decimal('total_harga', 12, 2); + $table->enum('status', ['pending', 'disetujui', 'ditolak', 'selesai', 'dibatalkan'])->default('pending'); + $table->string('bukti_pembayaran')->nullable(); + $table->timestamp('tanggal_pembayaran')->nullable(); + $table->string('jenis_jaminan')->nullable(); + $table->string('foto_jaminan')->nullable(); + $table->softDeletes(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('sewas'); + } +}; diff --git a/database/migrations/2025_05_21_173956_add_jaminan_columns_to_sewas_table.php b/database/migrations/2025_05_21_173956_add_jaminan_columns_to_sewas_table.php new file mode 100644 index 0000000..ac70d14 --- /dev/null +++ b/database/migrations/2025_05_21_173956_add_jaminan_columns_to_sewas_table.php @@ -0,0 +1,29 @@ +string('jenis_jaminan')->nullable()->after('bukti_pembayaran'); + $table->string('foto_jaminan')->nullable()->after('jenis_jaminan'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('sewas', function (Blueprint $table) { + $table->dropColumn(['jenis_jaminan', 'foto_jaminan']); + }); + } +}; diff --git a/database/migrations/2025_05_21_200000_add_jaminan_to_sewas.php b/database/migrations/2025_05_21_200000_add_jaminan_to_sewas.php new file mode 100644 index 0000000..45c68ed --- /dev/null +++ b/database/migrations/2025_05_21_200000_add_jaminan_to_sewas.php @@ -0,0 +1,25 @@ +string('jenis_jaminan')->nullable(); + $table->string('foto_jaminan')->nullable(); + }); + } + } + + public function down() + { + Schema::table('sewas', function (Blueprint $table) { + $table->dropColumn(['jenis_jaminan', 'foto_jaminan']); + }); + } +}; \ No newline at end of file diff --git a/database/migrations/2025_05_22_195002_remove_ongkir_columns_from_pakets_table.php b/database/migrations/2025_05_22_195002_remove_ongkir_columns_from_pakets_table.php new file mode 100644 index 0000000..f65bc80 --- /dev/null +++ b/database/migrations/2025_05_22_195002_remove_ongkir_columns_from_pakets_table.php @@ -0,0 +1,28 @@ + 'Box Subwoofer CLA 18 inc', + 'kode_barang' => 'SPK001', + 'kategori' => 'Speaker', + 'deskripsi' => 'Box Subwoofer dengan ukuran 18 inch, kualitas suara yang mantap', + 'harga_sewa' => 250000, + 'stok' => 4, + 'status' => 'aktif' + ], + [ + 'nama_barang' => 'Mixer 12 Channel', + 'kode_barang' => 'MIX001', + 'kategori' => 'Audio Mixer', + 'deskripsi' => 'Mixer audio profesional dengan 12 channel', + 'harga_sewa' => 200000, + 'stok' => 3, + 'status' => 'aktif' + ], + [ + 'nama_barang' => 'Microphone Wireless', + 'kode_barang' => 'MIC001', + 'kategori' => 'Microphone', + 'deskripsi' => 'Microphone wireless dengan kualitas suara jernih', + 'harga_sewa' => 100000, + 'stok' => 6, + 'status' => 'aktif' + ], + [ + 'nama_barang' => 'Speaker Active 15 inch', + 'kode_barang' => 'SPK002', + 'kategori' => 'Speaker', + 'deskripsi' => 'Speaker aktif 15 inch dengan output yang powerful', + 'harga_sewa' => 150000, + 'stok' => 8, + 'status' => 'aktif' + ], + [ + 'nama_barang' => 'Stand Microphone', + 'kode_barang' => 'STD001', + 'kategori' => 'Aksesoris', + 'deskripsi' => 'Stand microphone adjustable dengan kualitas premium', + 'harga_sewa' => 25000, + 'stok' => 10, + 'status' => 'aktif' + ] + ]; + + foreach ($barangs as $barang) { + StockModel::create($barang); + } + } +} \ No newline at end of file diff --git a/database/seeders/ContactInfoSeeder.php b/database/seeders/ContactInfoSeeder.php new file mode 100644 index 0000000..62c59ad --- /dev/null +++ b/database/seeders/ContactInfoSeeder.php @@ -0,0 +1,21 @@ + 'Hubungi Kami - INUFA', + 'description' => 'Silakan hubungi kami melalui salah satu kontak di bawah ini untuk informasi lebih lanjut tentang layanan kami.', + 'phone' => '+62 812-3456-7890', + 'email' => 'info@inufa.com', + 'whatsapp' => '+62 812-3456-7890', + 'is_active' => true + ]); + } +} \ No newline at end of file diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000..eb77a8d --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,27 @@ +create(); + + // \App\Models\User::factory()->create([ + // 'name' => 'Test User', + // 'email' => 'test@example.com', + // ]); + + $this->call([ + BarangSeeder::class, + ContactInfoSeeder::class + ]); + } +} diff --git a/database/seeders/PaketSeeder.php b/database/seeders/PaketSeeder.php new file mode 100644 index 0000000..2fe74ec --- /dev/null +++ b/database/seeders/PaketSeeder.php @@ -0,0 +1,40 @@ + 'Paket sound system untuk wedding', + 'deskripsi' => 'Paket lengkap sound system untuk acara pernikahan dengan kualitas premium.', + 'harga' => 5000000, + 'gambar' => 'assets/images/wedding.jpg', + ], + [ + 'nama' => 'Paket untuk seminar / meeting', + 'deskripsi' => 'Paket sound system untuk acara seminar, rapat, dan pertemuan formal lainnya.', + 'harga' => 3500000, + 'gambar' => 'assets/images/seminar.jpg', + ], + [ + 'nama' => 'Paket untuk acara outdoor / karnaval', + 'deskripsi' => 'Paket sound system untuk kegiatan outdoor, festival, dan karnaval dengan daya jangkau luas.', + 'harga' => 7500000, + 'gambar' => 'assets/images/outdoor.jpg', + ], + ]; + + foreach ($pakets as $paket) { + Paket::create($paket); + } + } +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..56f5ddc --- /dev/null +++ b/package.json @@ -0,0 +1,13 @@ +{ + "private": true, + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build" + }, + "devDependencies": { + "axios": "^1.6.4", + "laravel-vite-plugin": "^1.0.0", + "vite": "^5.0.0" + } +} diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..bc86714 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,32 @@ + + + + + tests/Unit + + + tests/Feature + + + + + app + + + + + + + + + + + + + + + diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..3aec5e2 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,21 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/public/assets/images/logo.png b/public/assets/images/logo.png new file mode 100644 index 0000000..70e5b02 Binary files /dev/null and b/public/assets/images/logo.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..1d69f3a --- /dev/null +++ b/public/index.php @@ -0,0 +1,55 @@ +make(Kernel::class); + +$response = $kernel->handle( + $request = Request::capture() +)->send(); + +$kernel->terminate($request, $response); diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..eb05362 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/resources/css/app.css b/resources/css/app.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/js/app.js b/resources/js/app.js new file mode 100644 index 0000000..e59d6a0 --- /dev/null +++ b/resources/js/app.js @@ -0,0 +1 @@ +import './bootstrap'; diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js new file mode 100644 index 0000000..846d350 --- /dev/null +++ b/resources/js/bootstrap.js @@ -0,0 +1,32 @@ +/** + * We'll load the axios HTTP library which allows us to easily issue requests + * to our Laravel back-end. This library automatically handles sending the + * CSRF token as a header based on the value of the "XSRF" token cookie. + */ + +import axios from 'axios'; +window.axios = axios; + +window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; + +/** + * Echo exposes an expressive API for subscribing to channels and listening + * for events that are broadcast by Laravel. Echo and event broadcasting + * allows your team to easily build robust real-time web applications. + */ + +// import Echo from 'laravel-echo'; + +// import Pusher from 'pusher-js'; +// window.Pusher = Pusher; + +// window.Echo = new Echo({ +// broadcaster: 'pusher', +// key: import.meta.env.VITE_PUSHER_APP_KEY, +// cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1', +// wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`, +// wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80, +// wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443, +// forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https', +// enabledTransports: ['ws', 'wss'], +// }); diff --git a/resources/views/Stock.blade.php b/resources/views/Stock.blade.php new file mode 100644 index 0000000..c56c940 --- /dev/null +++ b/resources/views/Stock.blade.php @@ -0,0 +1,51 @@ +@extends('layouts.app') + +@section('title', 'Tambah Barang - INUFA') + +@section('header', 'Tambah Barang Baru') + +@section('content') +
+
+
+ @csrf + + +
+
+

Informasi Barang

+ + +
+ + + @error('nama') +

{{ $message }}

+ @enderror +
+ + +
+ + +

Jumlah barang yang tersedia

+ @error('stok') +

{{ $message }}

+ @enderror +
+
+
+ + +
+ + Batal + + +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/Tambah-Paket.blade.php b/resources/views/Tambah-Paket.blade.php new file mode 100644 index 0000000..99b8298 --- /dev/null +++ b/resources/views/Tambah-Paket.blade.php @@ -0,0 +1,445 @@ +@extends('layouts.app') + +@section('title', 'Tambah Paket - INUFA') + +@section('header', 'Tambah Paket Baru') + +@section('content') +
+
+
+ @csrf + + +
+
+

Informasi Paket

+ + +
+ + + @error('nama_paket') +

{{ $message }}

+ @enderror +
+ + +
+ + + @error('jenis_paket') +

{{ $message }}

+ @enderror +
+ + +
+ +
+
+ Rp +
+ +
+

Harga per hari untuk sewa paket ini

+ @error('harga') +

{{ $message }}

+ @enderror +
+ + + + + + + + +
+ + +

Jumlah paket yang tersedia untuk disewa

+ @error('stok') +

{{ $message }}

+ @enderror +
+ + +
+ +
+
+
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ +
+ +
+

Gambar Paket

+
+ +
+
+ + + + +
+ +

atau drag and drop

+
+

PNG, JPG, GIF sampai 10MB

+
+
+ @error('image') +

{{ $message }}

+ @enderror +
+
+ + +
+ + + @error('keterangan') +

{{ $message }}

+ @enderror +
+
+
+ + +
+

Pilih Barang untuk Paket

+

Pilih barang yang akan dimasukkan ke dalam paket

+ + @if($barangs->isEmpty()) +
+
+
+ + + +
+
+

+ Tidak ada barang yang tersedia saat ini. +

+
+
+
+ @else +
+ + + + + + + + + + + + @foreach($barangs as $barang) + + + + + + + + @endforeach + +
PilihNama BarangDetail BarangStok TersediaJumlah
+ + +
{{ $barang->nama_barang }}
+
Kode: {{ $barang->kode_barang }}
+
+
+
Kategori: {{ $barang->kategori }}
+
{{ $barang->deskripsi }}
+
+ +
+
+ + {{ $barang->stok }} unit + + + +
+
+ @endif +
+ + +
+ + Batal + + +
+
+
+
+@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/admin.blade.php b/resources/views/admin.blade.php new file mode 100644 index 0000000..24324e5 --- /dev/null +++ b/resources/views/admin.blade.php @@ -0,0 +1,64 @@ +@extends('layouts.app') + +@section('title', 'Data Admin - INUFA') + +@section('header') + +@endsection + +@section('content') + + + + +
+ + + + + + + + + + + + + @forelse($admins as $index => $admin) + + + + + + + + + @empty + + + + @endforelse + +
NoUsernameEmailNo.telpAlamatAksi
{{ $admin['id'] }}{{ $admin['username'] }}{{ $admin['email'] }}{{ $admin['no_telp'] }}{{ $admin['alamat'] }} +
+ + Edit + +
+ @csrf + @method('DELETE') + +
+
+
Tidak ada data admin
+
+@endsection \ No newline at end of file diff --git a/resources/views/admin/dashboard.blade.php b/resources/views/admin/dashboard.blade.php new file mode 100644 index 0000000..d354b9e --- /dev/null +++ b/resources/views/admin/dashboard.blade.php @@ -0,0 +1,102 @@ +@extends('layouts.admin') + +@section('title', 'Admin Dashboard - INUFA') + +@section('header', 'Admin Dashboard') + +@section('content') + +
+ +
+
+
+ + + +
+
+

Total Pengguna

+

{{ $stats['users'] ?? 0 }}

+
+
+
+ + +
+
+
+ + + +
+
+

Total Paket

+

{{ $stats['packages'] ?? 0 }}

+
+
+
+ + +
+
+
+ + + +
+
+

Total Sewa

+

{{ $stats['rentals'] ?? 0 }}

+
+
+
+ + +
+
+
+ + + +
+
+

Total Pendapatan

+

Rp {{ number_format($stats['revenue'] ?? 0, 0, ',', '.') }}

+
+
+
+
+ + +
+
+

Aktivitas Terbaru

+ Lihat Semua +
+
+ @if(isset($activities) && count($activities) > 0) + @foreach($activities as $activity) +
+
+ + + +
+
+

{{ $activity['title'] }}

+

{{ $activity['description'] }}

+

{{ $activity['time'] }}

+
+
+ @endforeach + @else +
+ + + +

Belum ada aktivitas terbaru

+
+ @endif +
+
diff --git a/resources/views/admin/ongkir-kota/create.blade.php b/resources/views/admin/ongkir-kota/create.blade.php new file mode 100644 index 0000000..9e432d0 --- /dev/null +++ b/resources/views/admin/ongkir-kota/create.blade.php @@ -0,0 +1,104 @@ +@extends('layouts.app') + +@section('title', 'Tambah Ongkir Kota - INUFA') +@section('header', 'Tambah Ongkir Kota') + +@section('content') +
+
+
+ @csrf + +
+ +
+
+
+ + +
+
+ + +
+
+ +
+
+ +
+ +
+ +
+ + Batal + + +
+
+
+
+ +@push('scripts') + +@endpush +@endsection \ No newline at end of file diff --git a/resources/views/admin/ongkir-kota/edit.blade.php b/resources/views/admin/ongkir-kota/edit.blade.php new file mode 100644 index 0000000..4b5705d --- /dev/null +++ b/resources/views/admin/ongkir-kota/edit.blade.php @@ -0,0 +1,52 @@ +@extends('layouts.app') + +@section('title', 'Edit Ongkir Kota - INUFA') +@section('header', 'Edit Ongkir Kota') + +@section('content') +
+
+
+ @csrf + @method('PUT') + +
+
+ + + @error('nama_kota') +

{{ $message }}

+ @enderror +
+ +
+ + + @error('biaya_ongkir') +

{{ $message }}

+ @enderror +
+ +
+ +
+
+ +
+ + Batal + + +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/admin/ongkir-kota/index.blade.php b/resources/views/admin/ongkir-kota/index.blade.php new file mode 100644 index 0000000..3013dd5 --- /dev/null +++ b/resources/views/admin/ongkir-kota/index.blade.php @@ -0,0 +1,68 @@ +@extends('layouts.app') + +@section('title', 'Kelola Ongkir Kota - INUFA') +@section('header', 'Kelola Ongkir Kota') + +@section('content') +
+ + +
+ + + + + + + + + + + @foreach($kotas as $kota) + + + + + + + @endforeach + +
+ Nama Kota + + Biaya Ongkir + + Status + + Aksi +
+
+ {{ $kota->nama_kota }} +
+
+
+ Rp {{ number_format($kota->biaya_ongkir, 0, ',', '.') }} +
+
+ + {{ $kota->status ? 'Aktif' : 'Nonaktif' }} + + + + Edit + +
+ @csrf + @method('DELETE') + +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/admin/riwayat.blade.php b/resources/views/admin/riwayat.blade.php new file mode 100644 index 0000000..eccb3b4 --- /dev/null +++ b/resources/views/admin/riwayat.blade.php @@ -0,0 +1,185 @@ +@extends('layouts.app') + +@section('title', 'Manajemen Riwayat - INUFA') + +@section('header', 'Manajemen Riwayat Pemesanan') + +@section('content') +
+
+

Daftar Semua Pemesanan

+

Menampilkan semua pesanan dari seluruh pengguna.

+
+ + +
+
+ + +
+
+ + +
+
+ + + @if(count($sewas) > 0) +
+ + + + + + + + + + + + + + + @foreach($sewas as $sewa) + + + + + + + + + + + @endforeach + +
IDPenggunaPaketTanggal MulaiTanggal SelesaiTotal HargaStatusAksi
#{{ $sewa->id }}{{ $sewa->user->name }}{{ $sewa->paket->nama }}{{ date('d/m/Y', strtotime($sewa->tanggal_mulai)) }}{{ date('d/m/Y', strtotime($sewa->tanggal_selesai)) }}Rp {{ number_format($sewa->total_harga, 0, ',', '.') }} + + {{ ucfirst($sewa->status) }} + + + +
+
+ @else +
+

Belum ada data pemesanan.

+
+ @endif +
+ + + +@endsection + +@section('scripts') + +@endsection \ No newline at end of file diff --git a/resources/views/admin/verifikasi-pembayaran.blade.php b/resources/views/admin/verifikasi-pembayaran.blade.php new file mode 100644 index 0000000..37110dd --- /dev/null +++ b/resources/views/admin/verifikasi-pembayaran.blade.php @@ -0,0 +1,165 @@ +@extends('layouts.app') + +@section('title', 'Verifikasi Pembayaran - INUFA') + +@section('header', 'Verifikasi Pembayaran') + +@section('content') +
+

Daftar Pembayaran yang Perlu Diverifikasi

+ + @if(isset($sewas) && count($sewas) > 0) +
+ + + + + + + + + + + + + + + + + + + + + + @foreach($sewas as $index => $sewa) + + + + + + + + + + + + + + + + + + @endforeach + +
NoPemesanPaketTotal HargaNominal PembayaranStatus PembayaranTanggal PembayaranLokasi AcaraKota TujuanOngkirStatusBukti PembayaranJaminanCatatanAksi
{{ $index + 1 }} + {{ $sewa->user->nama }}
+ {{ $sewa->user->email }} +
{{ $sewa->paket->nama_paket }}Rp {{ number_format($sewa->total_harga, 0, ',', '.') }} + @if($sewa->nominal_pembayaran) + Rp {{ number_format($sewa->nominal_pembayaran, 0, ',', '.') }} + @else + - + @endif + + @if($sewa->nominal_pembayaran) + @if($sewa->nominal_pembayaran >= $sewa->total_harga) + + Lunas + + @else + + DP {{ number_format(($sewa->nominal_pembayaran / $sewa->total_harga) * 100, 0) }}% + + @endif + @else + + Belum Bayar + + @endif + {{ date('d/m/Y H:i', strtotime($sewa->tanggal_pembayaran)) }} + {{ $sewa->lokasi }} + + @if($sewa->kota) + {{ $sewa->kota->nama_kota }} + @else + - + @endif + + @if($sewa->ongkir) + Rp {{ number_format($sewa->ongkir, 0, ',', '.') }} + @else + - + @endif + + + @if($sewa->status == 'dibatalkan') + Dibatalkan oleh Penyewa + @else + Menunggu Verifikasi + @endif + + + + Lihat Bukti + + + @if($sewa->foto_jaminan) +
+

{{ ucfirst($sewa->jenis_jaminan) }}

+ + Lihat Jaminan + +
+ @else + Belum ada + @endif +
+ @if($sewa->catatan) + {{ $sewa->catatan }} + @else + - + @endif + + @if($sewa->status != 'dibatalkan') +
+
+
+ @csrf + +
+
+ @csrf + +
+
+ + + + + + + Chat dengan Penyewa + +
+ @endif +
+
+ @else +
+

Tidak ada pembayaran yang perlu diverifikasi

+
+ @endif +
+@endsection \ No newline at end of file diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php new file mode 100644 index 0000000..3a19e2e --- /dev/null +++ b/resources/views/auth/register.blade.php @@ -0,0 +1,244 @@ + + + + + + Registrasi INUFA + + + + + +
+ + + + + +
+
+
+ INUFA Logo +
+ +

Daftar Akun

+

Buat akun untuk mengakses layanan INUFA

+ + @if($errors->any()) +
+
+
+ + + +
+
+

+ Terdapat beberapa kesalahan: +

+
+
    + @foreach($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+
+
+
+ @endif + +
+ @csrf + @if(request()->has('paket_id')) + + @endif + +
+ +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + + + + +
+
+
+ +
+ +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + + + + +
+
+
+ + +
+ +
+ + + + + + + +
+
+ +
+ +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + + + + +
+
+
+ + +
+ + +
+ + + +
+ + +
+
+ atau +
+
+ + +

+ Sudah memiliki akun? + + Masuk sekarang + +

+
+
+
+ + \ No newline at end of file diff --git a/resources/views/chat/chat.blade.php b/resources/views/chat/chat.blade.php new file mode 100644 index 0000000..286018c --- /dev/null +++ b/resources/views/chat/chat.blade.php @@ -0,0 +1,51 @@ +@extends('layouts.app') + +@section('title', 'Chat - INUFA') +@section('header', 'Chat') + +@push('styles') + + +@endpush + +@section('content') +
+
+
+
+ +
+
+

{{ $chatUser->nama }}

+

{{ $chatUser->tipe_pengguna }}

+
+
+ +
+ @foreach($chats as $chat) +
+
+

{{ $chat->message }}

+
+ {{ $chat->created_at->format('H:i') }} +
+
+
+ @endforeach +
+ +
+
+ @csrf + +
+ @if(auth()->user()->tipe_pengguna === 'admin') +
+ + + +
+ @else +
+ + + +
+ @endif +
+ + +
+
+
+
+
+
+ +@push('scripts') + +@endpush +@endsection \ No newline at end of file diff --git a/resources/views/chat/index.blade.php b/resources/views/chat/index.blade.php new file mode 100644 index 0000000..041e53c --- /dev/null +++ b/resources/views/chat/index.blade.php @@ -0,0 +1,193 @@ +@extends('layouts.app') + +@section('title', 'Daftar Chat - INUFA') +@section('header', 'Chat') + +@push('styles') + +@endpush + +@section('content') +
+ @if(session('error')) + + @endif + +
+
+

+ @if(auth()->user()->tipe_pengguna === 'admin') + Daftar Chat Pengguna + @else + Chat + @endif +

+
+ + @if(auth()->user()->tipe_pengguna === 'admin' && isset($users) && count($users) > 0) + + @elseif(auth()->user()->tipe_pengguna !== 'admin' && isset($adminUsers) && count($adminUsers) > 0) + + @else +
+ + + +

+ @if(auth()->user()->tipe_pengguna === 'admin') + Tidak ada pengguna untuk chat + @else + Belum ada chat + @endif +

+
+ @endif +
+
+@endsection \ No newline at end of file diff --git a/resources/views/chat/list.blade.php b/resources/views/chat/list.blade.php new file mode 100644 index 0000000..0478b2d --- /dev/null +++ b/resources/views/chat/list.blade.php @@ -0,0 +1,55 @@ +@extends('layouts.app') + +@section('title', 'Daftar Chat - INUFA') +@section('header', 'Daftar Chat') + +@section('content') + +@endsection \ No newline at end of file diff --git a/resources/views/contact/edit.blade.php b/resources/views/contact/edit.blade.php new file mode 100644 index 0000000..bbe4f1d --- /dev/null +++ b/resources/views/contact/edit.blade.php @@ -0,0 +1,77 @@ +@extends('layouts.app') + +@section('title', 'Edit Informasi Kontak - INUFA') +@section('header', 'Edit Informasi Kontak') + +@section('content') +
+
+ @if(session('success')) +
+ {{ session('success') }} +
+ @endif + +
+ @csrf +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +

Format: +62 812-3456-7890

+
+ +
+ + +
+ +
+ + +

Format: +62812345678 (tanpa spasi atau tanda hubung)

+
+ +
+ +
+ +
+ +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/contact/hubungikami.blade.php b/resources/views/contact/hubungikami.blade.php new file mode 100644 index 0000000..034499b --- /dev/null +++ b/resources/views/contact/hubungikami.blade.php @@ -0,0 +1,80 @@ +@extends('layouts.app') + +@section('title', 'Hubungi Kami - INUFA') +@section('header', $contactInfo->title ?? 'Hubungi Kami') + +@section('content') +
+
+ @if($contactInfo) + @if($contactInfo->description) +
+ {!! nl2br(e($contactInfo->description)) !!} +
+ @endif + +
+ @if($contactInfo->name) +
+ + + + + {{ $contactInfo->name }} + +
+ @endif + + @if($contactInfo->address) +
+ + + + + + {!! nl2br(e($contactInfo->address)) !!} + +
+ @endif + + @if($contactInfo->phone) + + @endif + + @if($contactInfo->email) + + @endif + + @if($contactInfo->whatsapp) + + @endif +
+ @else +
+ Informasi kontak belum tersedia. +
+ @endif +
+
+@endsection \ No newline at end of file diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php new file mode 100644 index 0000000..2253c84 --- /dev/null +++ b/resources/views/dashboard.blade.php @@ -0,0 +1,368 @@ +@extends('layouts.app') + +@section('title', 'Dashboard - INUFA') + +@section('header', 'Dashboard') + +@push('scripts') + +@endpush + +@section('content') + + + + +
+ +
+
+

Statistik Keuangan & Sewa

+
+ Pemasukan + Pengeluaran + Total Sewa +
+
+
+ +
+
+ + +
+
+

Pertumbuhan Pengguna

+ Total Pengguna +
+
+ +
+
+
+ + +
+
+

Ringkasan Statistik Tahun {{ date('Y') }}

+ Data Terkini +
+
+
+
+
+ + + +
+ +{{ number_format(($chartData['datasets'][0]['data'][count($chartData['datasets'][0]['data'])-1] ?? 0) / 1000000, 1) }}M +
+

Total Pemasukan

+

Rp {{ number_format($chartData['datasets'][0]['data'][count($chartData['datasets'][0]['data'])-1] ?? 0, 0, ',', '.') }}

+
+ +
+
+
+ + + +
+ -{{ number_format(($chartData['datasets'][1]['data'][count($chartData['datasets'][1]['data'])-1] ?? 0) / 1000000, 1) }}M +
+

Total Pengeluaran

+

Rp {{ number_format($chartData['datasets'][1]['data'][count($chartData['datasets'][1]['data'])-1] ?? 0, 0, ',', '.') }}

+
+ +
+
+
+ + + +
+ {{ ($chartData['datasets'][2]['data'][count($chartData['datasets'][2]['data'])-1] ?? 0) > 0 ? '+' : '' }}{{ $chartData['datasets'][2]['data'][count($chartData['datasets'][2]['data'])-1] ?? 0 }} +
+

Total Sewa

+

{{ number_format($chartData['datasets'][2]['data'][count($chartData['datasets'][2]['data'])-1] ?? 0, 0, ',', '.') }} Sewa

+
+
+
+ + +
+ + +
+ +@push('scripts') + +@endpush +@endsection \ No newline at end of file diff --git a/resources/views/detail-riwayat.blade.php b/resources/views/detail-riwayat.blade.php new file mode 100644 index 0000000..97f1f8b --- /dev/null +++ b/resources/views/detail-riwayat.blade.php @@ -0,0 +1,109 @@ +@extends('layouts.app') + +@section('title', 'Detail Pemesanan - INUFA') + +@section('header', 'Detail Pemesanan') + +@section('content') +
+ +
+
+

Kode Pemesanan: #{{ $sewa->id }}

+ + {{ ucfirst($sewa->status) }} + +
+

Tanggal Pemesanan: {{ $sewa->created_at->format('d F Y, H:i') }}

+
+ + +
+

Informasi Paket

+
+
+ {{ $sewa->paket->nama }} +
+
+

{{ $sewa->paket->nama }}

+

{{ $sewa->paket->deskripsi }}

+
+
+

Tanggal Mulai

+

{{ date('d F Y', strtotime($sewa->tanggal_mulai)) }}

+
+
+

Tanggal Selesai

+

{{ date('d F Y', strtotime($sewa->tanggal_selesai)) }}

+
+
+

Lokasi Acara

+

{{ $sewa->lokasi }}

+
+
+

Durasi

+

+ tanggal_mulai); + $tglSelesai = new DateTime($sewa->tanggal_selesai); + $selisih = $tglMulai->diff($tglSelesai); + echo ($selisih->days + 1) . ' hari'; + ?> +

+
+
+
+
+
+ + +
+

Detail Biaya

+
+
+ Harga Paket (per hari) + Rp {{ number_format($sewa->paket->harga, 0, ',', '.') }} +
+
+ Durasi + + tanggal_mulai); + $tglSelesai = new DateTime($sewa->tanggal_selesai); + $selisih = $tglMulai->diff($tglSelesai); + echo ($selisih->days + 1) . ' hari'; + ?> + +
+
+ Total + Rp {{ number_format($sewa->total_harga, 0, ',', '.') }} +
+
+
+ + +
+ + Kembali + + @if($sewa->status == 'pending') +
+ @csrf + @method('PUT') + +
+ @endif +
+
+@endsection \ No newline at end of file diff --git a/resources/views/edit-admin.blade.php b/resources/views/edit-admin.blade.php new file mode 100644 index 0000000..50016a2 --- /dev/null +++ b/resources/views/edit-admin.blade.php @@ -0,0 +1,130 @@ + + + + + + Edit Admin - INUFA + + + +
+ + + + +
+ +
+ + + + + + Profile + +
+ + +
+
+

Edit Admin

+ +
+ @csrf + @method('PUT') + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +

Kosongkan jika tidak ingin mengubah password

+
+
+ + +
+ +
+ +
+
+ + +
+ + Batal + + +
+
+
+
+
+
+ + \ No newline at end of file diff --git a/resources/views/edit-barang.blade.php b/resources/views/edit-barang.blade.php new file mode 100644 index 0000000..2bbcdd8 --- /dev/null +++ b/resources/views/edit-barang.blade.php @@ -0,0 +1,73 @@ +@extends('layouts.app') + +@section('title', 'Edit Barang - INUFA') + +@section('header', 'Peralatan Audio Sound System') + +@section('content') +
+

Edit Barang

+ + + @if ($errors->any()) + + @endif + +
+ @csrf + @method('PUT') + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +

Format: JPG, PNG. Maks: 2MB. Kosongkan jika tidak ingin mengubah gambar.

+ + @if($barangItem['gambar']) +
+

Gambar saat ini: {{ $barangItem['gambar'] }}

+
+ @endif +
+
+ + + + + + +
+ + Batal + + +
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/edit-paket.blade.php b/resources/views/edit-paket.blade.php new file mode 100644 index 0000000..bd960d8 --- /dev/null +++ b/resources/views/edit-paket.blade.php @@ -0,0 +1,204 @@ +@extends('layouts.app') + +@section('title', 'Edit Paket - INUFA') + +@section('header', 'Edit Paket Sound System') + +@section('content') +
+
+ @csrf + @method('PUT') + +
+ +
+ + + @error('nama_paket') +

{{ $message }}

+ @enderror +
+ + +
+ + + @error('jenis_paket') +

{{ $message }}

+ @enderror +
+ + +
+ + + @error('harga') +

{{ $message }}

+ @enderror +
+ + +
+ + + @error('stok') +

{{ $message }}

+ @enderror +
+ + +
+ + @if($paket->image) +
+ Preview +
+ @endif + + @error('image') +

{{ $message }}

+ @enderror +
+ + +
+ +
+ @forelse($paket->ongkirKota as $index => $ongkir) +
+
+
+ + +
+
+ + +
+
+ +
+ @empty +
+
+
+ + +
+
+ + +
+
+ +
+ @endforelse +
+ +
+ + +
+ + + @error('keterangan') +

{{ $message }}

+ @enderror +
+
+ + +
+ + Batal + + +
+
+
+@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php new file mode 100644 index 0000000..dbe83b8 --- /dev/null +++ b/resources/views/layouts/admin.blade.php @@ -0,0 +1,101 @@ + + + + + + @yield('title', 'INUFA Admin') + + @stack('styles') + + +
+ + + + +
+ +
+
+

@yield('header', 'Admin Dashboard')

+
+
+ + + + + Profile + +
+ @csrf + +
+
+
+ + +
+ @if(session('success')) + + @endif + + @if(session('warning')) + + @endif + + @if(session('error')) + + @endif + + @yield('content') +
+
+
+ + @stack('scripts') + + \ No newline at end of file diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..c0cb995 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,113 @@ + + + + + + @yield('title', 'INUFA Production') + + @stack('styles') + + +
+ + @include('layouts.sidebar') + + +
+ +
+
+

@yield('header', 'Dashboard')

+
+
+ + + + + Profile + +
+ @csrf + +
+ +
+ + @auth + + + + + + + @endauth + +
+ +
+
+
+
+ + +
+ @if(session('success')) + + @endif + + @if(session('warning')) + + @endif + + @if(session('error')) + + @endif + + @yield('content') +
+
+
+ + @stack('scripts') + @push('scripts') + + @endpush + + \ No newline at end of file diff --git a/resources/views/layouts/customer.blade.php b/resources/views/layouts/customer.blade.php new file mode 100644 index 0000000..c26a4e7 --- /dev/null +++ b/resources/views/layouts/customer.blade.php @@ -0,0 +1,89 @@ + + + + + + @yield('title', 'INUFA Customer') + + @stack('styles') + + +
+ + + + +
+ +
+
+

@yield('header', 'Customer Dashboard')

+
+
+ + + + + Profile + +
+ @csrf + +
+
+
+ + +
+ @if(session('success')) + + @endif + + @if(session('warning')) + + @endif + + @if(session('error')) + + @endif + + @yield('content') +
+
+
+ + @stack('scripts') + + \ No newline at end of file diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php new file mode 100644 index 0000000..b359415 --- /dev/null +++ b/resources/views/layouts/sidebar.blade.php @@ -0,0 +1,38 @@ + +
+ +
+ INUFA Logo +
+ + + +
\ No newline at end of file diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php new file mode 100644 index 0000000..09f74f0 --- /dev/null +++ b/resources/views/login.blade.php @@ -0,0 +1,149 @@ + + + + + + Login INUFA + + + + + +
+ + + + + +
+
+
+ INUFA Logo +
+ +

Login

+

Selamat datang kembali, silakan masuk ke akun Anda

+ +
+ @csrf + + +
+ +
+ + + + + + + @error('email') +

{{ $message }}

+ @enderror +
+
+ + +
+ +
+ + + + + + +
+
+ +
+ + +
+ + + +
+ + +
+
+ atau +
+
+ + +

+ Belum memiliki akun? + + Daftar sekarang + +

+
+
+
+ + \ No newline at end of file diff --git a/resources/views/message-templates/index.blade.php b/resources/views/message-templates/index.blade.php new file mode 100644 index 0000000..0715337 --- /dev/null +++ b/resources/views/message-templates/index.blade.php @@ -0,0 +1,102 @@ +@extends('layouts.app') + +@section('title', 'Kelola Template Pesan - INUFA') +@section('header', 'Kelola Template Pesan') + +@section('content') +
+
+ +
+

Tambah Template Baru

+
+ @csrf +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ +
+
+
+ + +
+

Daftar Template

+
+ @foreach($templates as $template) +
+
+ @csrf + @method('PUT') +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ + + @csrf + @method('DELETE') + + +
+ +
+ @endforeach +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/paket.blade.php b/resources/views/paket.blade.php new file mode 100644 index 0000000..1f1db7e --- /dev/null +++ b/resources/views/paket.blade.php @@ -0,0 +1,159 @@ +@extends('layouts.app') + +@section('title', 'Data Paket - INUFA') + +@section('header', 'Paket Sound System') + +@section('content') +
+ + @if(auth()->user()->tipe_pengguna === 'admin') + + @endif + + +
+ @foreach($pakets as $paket) +
+ +
+ @if($paket->image) + {{ $paket->nama_paket }} + @else +
+ +
+ @endif + + @php + $activeSewa = $paket->sewas()->whereIn('status', ['confirmed', 'ongoing'])->count(); + @endphp + + @if($activeSewa > 0) +
+
+ +

Sedang Disewa

+

{{ $activeSewa }} dari {{ $paket->stok }} unit disewa

+
+
+ @endif +
+ + +
+

{{ $paket->nama_paket }}

+ +
+
+ Harga: + + Rp {{ number_format($paket->harga, 0, ',', '.') }} + +
+
+ Jenis: + {{ ucfirst($paket->jenis_paket) }} +
+
+ Stok: + + {{ $paket->stok }} + @if($activeSewa > 0) + ({{ $paket->stok - $activeSewa }} tersedia) + @endif + +
+
+ Status: + + @if($paket->status == 'aktif') + @if(($paket->stok - $activeSewa) > 0) + Aktif ({{ $paket->stok - $activeSewa }} unit tersedia) + @else + Sedang Disewa Semua + @endif + @else + {{ ucfirst($paket->status) }} + @endif + +
+ + + @if($paket->ongkirKota->count() > 0) +
+ Ongkir per Kota: +
+ @foreach($paket->ongkirKota as $ongkir) +
+ {{ $ongkir->nama_kota }} + Rp {{ number_format($ongkir->biaya_ongkir, 0, ',', '.') }} +
+ @endforeach +
+
+ @endif +
+ + @if($paket->keterangan) +

{{ $paket->keterangan }}

+ @endif + + + @if(auth()->user()->tipe_pengguna === 'admin') +
+ @if($activeSewa > 0) +
+
+ @csrf + +
+
+ @csrf + +
+
+ @endif + +
+ + Edit + +
+ @csrf + @method('DELETE') + +
+
+
+ @endif +
+
+ @endforeach +
+
+@endsection \ No newline at end of file diff --git a/resources/views/pengguna.blade.php b/resources/views/pengguna.blade.php new file mode 100644 index 0000000..56bfe3f --- /dev/null +++ b/resources/views/pengguna.blade.php @@ -0,0 +1,61 @@ +@extends('layouts.app') + +@section('title', 'Data Admin - INUFA') + +@section('header') +
+ Data Admin + +
+@endsection + +@section('content') + + + + +
+ + + + + + + + + + + + + + @forelse($pengguna as $index => $user) + + + + + + + + + + @empty + + + + @endforelse + +
NoNamaUsernameEmailNo.TelpAlamatAksi
{{ $user->id }}{{ $user->nama }}{{ $user->username }}{{ $user->email }}{{ $user->no_telp }}{{ $user->alamat }} +
+ @csrf + @method('DELETE') + +
+
Tidak ada data admin
+
+@endsection \ No newline at end of file diff --git a/resources/views/pesan-paket.blade.php b/resources/views/pesan-paket.blade.php new file mode 100644 index 0000000..bfa44aa --- /dev/null +++ b/resources/views/pesan-paket.blade.php @@ -0,0 +1,107 @@ +@extends('layouts.app') + +@section('title', 'Pesan Paket - INUFA') + +@section('header', 'Pesan Paket') + +@section('content') +
+
+

{{ $paket->nama }}

+

{{ $paket->deskripsi }}

+
+ Harga: Rp {{ number_format($paket->harga, 0, ',', '.') }} +
+
+ +
+ @csrf + + + +
+
+ + + @error('tanggal_mulai') + {{ $message }} + @enderror +
+ +
+ + + @error('tanggal_selesai') + {{ $message }} + @enderror +
+
+ +
+ + + @error('lokasi') + {{ $message }} + @enderror +
+ +
+

Total Biaya

+

Estimasi biaya berdasarkan durasi sewa:

+ +

Pilih tanggal mulai dan selesai untuk melihat estimasi biaya

+
+ +
+ + Batal + + +
+
+
+@endsection + +@section('scripts') + +@endsection \ No newline at end of file diff --git a/resources/views/profile.blade.php b/resources/views/profile.blade.php new file mode 100644 index 0000000..ffe8491 --- /dev/null +++ b/resources/views/profile.blade.php @@ -0,0 +1,151 @@ +@extends('layouts.app') + + + + + + + Profile INUFA + + + + + +
+ + +
+
+ INUFA Logo +
+
+ + +
+
+
+

Profile

+

Kelola informasi profil Anda

+
+ + @if(session('success')) +
+ {{ session('success') }} +
+ @endif + + @if(session('error')) +
+ {{ session('error') }} +
+ @endif + + @if($errors->any()) +
+
    + @foreach($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+ @endif + +
+ @csrf + @method('PUT') + + +
+ + + + + + + +
+ + +
+ + + + + + + +
+ + +
+ + + + + + +
+ + +
+ + + + + + + +
+ + +
+ + + + + + + +
+ + +
+ +
+ + + +
+
+
+
+ + \ No newline at end of file diff --git a/resources/views/register.blade.php b/resources/views/register.blade.php new file mode 100644 index 0000000..8cf0cf8 --- /dev/null +++ b/resources/views/register.blade.php @@ -0,0 +1,244 @@ + + + + + + Registrasi INUFA + + + + + +
+ + + + + +
+
+
+ INUFA Logo +
+ +

Daftar Akun

+

Buat akun untuk mengakses layanan INUFA

+ + @if($errors->any()) +
+
+
+ + + +
+
+

+ Terdapat beberapa kesalahan: +

+
+
    + @foreach($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+
+
+
+ @endif + +
+ @csrf + @if(request()->has('paket_id')) + + @endif + +
+ +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + + + + +
+
+
+ +
+ +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + + + + +
+
+
+ + +
+ +
+ + + + + + + +
+
+ +
+ +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + + + + +
+
+
+ + +
+ + +
+ + + +
+ + +
+
+ atau +
+
+ + +

+ Sudah memiliki akun? + + Masuk sekarang + +

+
+
+
+ + diff --git a/resources/views/riwayat.blade.php b/resources/views/riwayat.blade.php new file mode 100644 index 0000000..995b0d2 --- /dev/null +++ b/resources/views/riwayat.blade.php @@ -0,0 +1,159 @@ +@extends('layouts.app') + +@section('title', 'Riwayat Sewa - INUFA') + +@section('header', 'Riwayat Sewa') + +@section('content') +
+

Riwayat Pemesanan

+ + @if(isset($sewas) && count($sewas) > 0) +
+ + + + + + + + + + + + + + + + + + + + + + @foreach($sewas as $index => $sewa) + + + + + + + + + + + + + + + + + + @endforeach + +
NoPaketTanggal MulaiTanggal SelesaiLokasiKota TujuanOngkirTotal HargaNominal PembayaranStatus PembayaranStatusBukti pembayaranJaminan sewaTanggal PembayaranAksi
{{ $index + 1 }}{{ $sewa->paket->nama_paket }}{{ date('d/m/Y', strtotime($sewa->tanggal_mulai)) }}{{ date('d/m/Y', strtotime($sewa->tanggal_selesai)) }}{{ $sewa->lokasi }} + @if($sewa->kota) + {{ $sewa->kota->nama_kota }} + @else + - + @endif + + @if($sewa->ongkir) + Rp {{ number_format($sewa->ongkir, 0, ',', '.') }} + @else + - + @endif + Rp {{ number_format($sewa->total_harga, 0, ',', '.') }} + @if($sewa->nominal_pembayaran) + Rp {{ number_format($sewa->nominal_pembayaran, 0, ',', '.') }} + @else + - + @endif + + @if($sewa->nominal_pembayaran) + @if($sewa->nominal_pembayaran >= $sewa->total_harga) + + Lunas + + @else + + DP {{ number_format(($sewa->nominal_pembayaran / $sewa->total_harga) * 100, 0) }}% + + @endif + @else + + Belum Bayar + + @endif + + + @if($sewa->status == 'pending') + Menunggu Verifikasi Admin + @elseif($sewa->status == 'confirmed') + Disetujui + @elseif($sewa->status == 'ongoing') + Sedang Berjalan + @elseif($sewa->status == 'completed') + Selesai + @elseif($sewa->status == 'dibatalkan') + Dibatalkan + @else + {{ ucfirst($sewa->status) }} + @endif + + + @if($sewa->bukti_pembayaran) + + bukti pembayaran + + @else + - + @endif + + @if($sewa->foto_jaminan) + + {{ ucfirst($sewa->jenis_jaminan) }} + + @else + - + @endif + + @if($sewa->tanggal_pembayaran) + {{ date('d/m/Y H:i', strtotime($sewa->tanggal_pembayaran)) }} + @else + - + @endif + + @if(!in_array($sewa->status, ['completed', 'dibatalkan', 'ongoing'])) +
+ @csrf + @method('PUT') + +
+ @endif +
+
+ @else +
+

Belum ada riwayat pemesanan

+ + Pesan Sekarang + +
+ @endif +
+@endsection \ No newline at end of file diff --git a/resources/views/sewa.blade.php b/resources/views/sewa.blade.php new file mode 100644 index 0000000..d78be37 --- /dev/null +++ b/resources/views/sewa.blade.php @@ -0,0 +1,119 @@ +@extends('layouts.app') + +@section('title', 'Sewa - INUFA') +@section('header', 'Sewa Paket Sound System') + +@section('content') +
+ +
+ @if(count($pakets) > 0) +
+ @foreach($pakets as $paket) +
+
+

{{ $paket->nama_paket }}

+
+
+ @if($paket->image) + {{ $paket->nama_paket }} + @else +
+ + + +
+ @endif + + @php + $activeSewa = $paket->sewas()->whereIn('status', ['confirmed', 'ongoing'])->count(); + @endphp + + @if($activeSewa > 0) +
+
+ +

Sedang Disewa

+

Stok tersedia: {{ $paket->stok - $activeSewa }}

+
+
+ @endif +
+
+
+
+ Harga Sewa: + + Rp {{ number_format($paket->harga, 0, ',', '.') }}/hari + +
+
+ Jenis Paket: + + {{ ucfirst($paket->jenis_paket) }} + +
+ @if($paket->minimum_order) +
+ Minimum Order: + + {{ $paket->minimum_order }} hari + +
+ @endif + + +
+ Stok: + + {{ $paket->stok - $activeSewa }} tersedia + +
+
+ + @if($paket->keterangan) +
+

{{ $paket->keterangan }}

+
+ @endif + +
+ @if($activeSewa >= $paket->stok) + + @else + + Sewa Sekarang + + @endif +
+
+
+ @endforeach +
+ @else +
+ + + +

Tidak Ada Paket Tersedia

+

Saat ini tidak ada paket yang tersedia untuk disewa.

+ + @if(auth()->check() && auth()->user()->role === 'admin') + + + + + Tambah Paket Baru + + @endif +
+ @endif +
+
+@endsection diff --git a/resources/views/sewa/create.blade.php b/resources/views/sewa/create.blade.php new file mode 100644 index 0000000..36dcf1e --- /dev/null +++ b/resources/views/sewa/create.blade.php @@ -0,0 +1,175 @@ +@extends('layouts.app') + +@section('title', 'Form Sewa - INUFA') +@section('header', 'Form Penyewaan Paket') + +@section('content') +
+
+
+

Detail Paket

+
+
+ @if($paket->image) + {{ $paket->nama_paket }} + @else +
+ + + +
+ @endif +
+
+

{{ $paket->nama_paket }}

+

{{ $paket->keterangan }}

+
+

Jenis Paket: {{ $paket->jenis_paket }}

+

Harga Sewa: Rp {{ number_format($paket->harga, 0, ',', '.') }}/hari

+ @if($paket->minimum_order) +

Minimum Order: {{ $paket->minimum_order }} hari

+ @endif +
+ + @if($paket->detail_barang) +
+

Daftar Barang dalam Paket:

+
    + @foreach($paket->detail_barang as $barang) +
  • {{ $barang['nama_barang'] }} ({{ $barang['jumlah'] }} unit)
  • + @endforeach +
+
+ @endif +
+
+
+ +
+ @csrf + + +
+
+ + + @error('tanggal_mulai') +

{{ $message }}

+ @enderror +
+ +
+ + + @error('tanggal_selesai') +

{{ $message }}

+ @enderror +
+
+ + +
+ + + @error('lokasi') +

{{ $message }}

+ @enderror +
+ + +
+ + + @error('kota_id') +

{{ $message }}

+ @enderror +
+ + +
+ +
+
+ Rp +
+ + +
+
+ +
+ + + @error('catatan') +

{{ $message }}

+ @enderror +
+ +
+ + Batal + + +
+
+
+
+ +@push('scripts') + +@endpush + +@endsection \ No newline at end of file diff --git a/resources/views/sewa/index.blade.php b/resources/views/sewa/index.blade.php new file mode 100644 index 0000000..90347e7 --- /dev/null +++ b/resources/views/sewa/index.blade.php @@ -0,0 +1,183 @@ +@extends('layouts.app') + +@section('title', 'Daftar Sewa - INUFA') + +@section('header', 'Daftar Sewa') + +@section('content') +
+
+
+
+

+ {{ $showDetailPenyewa ? 'Detail Semua Penyewaan' : 'Daftar Sewa' }} +

+
+ +
+ + + + + @if($showDetailPenyewa) + + @endif + + + + + + + + + @forelse($sewas as $index => $sewa) + + + @if($showDetailPenyewa) + + @endif + + + + + + + @empty + + + + @endforelse + +
NoPenyewaPaketTanggal SewaStatusTotal HargaAksi
+ {{ $index + 1 }} + +
+
+
+ {{ $sewa->user->nama }} +
+
+ {{ $sewa->user->email }} +
+
+
+
+
{{ $sewa->paket->nama_paket }}
+
{{ ucfirst($sewa->paket->jenis_paket) }}
+
+
+ {{ \Carbon\Carbon::parse($sewa->tanggal_mulai)->format('d M Y') }} +
+
+ {{ \Carbon\Carbon::parse($sewa->tanggal_selesai)->format('d M Y') }} +
+
+ + {{ ucfirst($sewa->status) }} + + + Rp {{ number_format($sewa->total_harga, 0, ',', '.') }} + + +
+ Tidak ada data sewa +
+
+
+
+
+ + + + +@push('scripts') + +@endpush +@endsection \ No newline at end of file diff --git a/resources/views/sewa/show.blade.php b/resources/views/sewa/show.blade.php new file mode 100644 index 0000000..26370ba --- /dev/null +++ b/resources/views/sewa/show.blade.php @@ -0,0 +1,255 @@ +@extends('layouts.app') + +@section('title', 'Detail Sewa - INUFA') +@section('header', 'Detail Penyewaan') + +@php + use App\Http\Controllers\ChatController; + $adminId = ChatController::getFirstAdminId(); +@endphp + +@section('content') +
+
+ @if(session('success')) +
+ {{ session('success') }} +
+ @endif + +
+ +
+

Detail Paket

+
+
+ @if($sewa->paket->image) + {{ $sewa->paket->nama_paket }} + @else +
+ + + +
+ @endif +
+

{{ $sewa->paket->nama_paket }}

+

{{ $sewa->paket->keterangan }}

+
+

Jenis Paket: {{ $sewa->paket->jenis_paket }}

+

Harga Sewa: Rp {{ number_format($sewa->paket->harga, 0, ',', '.') }}/hari

+
+ + @if($sewa->paket->detail_barang) +
+

Daftar Barang dalam Paket:

+
    + @foreach($sewa->paket->detail_barang as $barang) +
  • {{ $barang['nama_barang'] }} ({{ $barang['jumlah'] }} unit)
  • + @endforeach +
+
+ @endif +
+
+ + +
+

Detail Penyewaan

+
+
+

Status

+ + @if($sewa->status == 'draft') + Draft (Belum Disimpan) + @elseif($sewa->status == 'pending') + Menunggu Verifikasi Admin + @elseif($sewa->status == 'disetujui') + Disetujui + @elseif($sewa->status == 'ditolak') + Ditolak + @elseif($sewa->status == 'selesai') + Selesai + @else + {{ $sewa->status_label }} + @endif + +
+ +
+
+

Tanggal Mulai

+

{{ $sewa->tanggal_mulai ? $sewa->tanggal_mulai->format('d M Y') : '-' }}

+
+
+

Tanggal Selesai

+

{{ $sewa->tanggal_selesai ? $sewa->tanggal_selesai->format('d M Y') : '-' }}

+
+
+ +
+

Durasi Sewa

+

{{ $sewa->durasi_sewa }} hari

+
+ +
+

Total Harga

+

+ Rp {{ number_format($sewa->total_harga, 0, ',', '.') }} +

+
+ +
+

Lokasi Penggunaan

+

{{ $sewa->lokasi }}

+
+ +
+

Kota Tujuan

+

{{ $sewa->kota ? $sewa->kota->nama_kota : '-' }}

+
+ +
+

Biaya Ongkir

+

Rp {{ number_format($sewa->ongkir, 0, ',', '.') }}

+
+ + @if($sewa->catatan) +
+

Catatan

+

{{ $sewa->catatan }}

+
+ @endif + + @if($sewa->status == 'pending') +
+
+
+
+ + + +
+
+

+ Silakan isi kolom nominal dana yang diupload pada upload bukti pembayaran dan upload juga jaminan untuk melanjutkan proses penyewaan. +
Total yang harus dibayar DP 50% atau melunasi pembayaran sewa +

+
+
+
+ +
+

Upload Bukti Pembayaran dan Jaminan

+
+ @csrf +
+ +
+
+ Rp +
+ +
+
+

Rekomendasi pembayaran minimal DP 50% (Rp {{ number_format($sewa->total_harga * 0.5, 0, ',', '.') }})

+

Total yang harus dibayar: Rp {{ number_format($sewa->total_harga, 0, ',', '.') }}

+
+ @error('nominal_pembayaran') +

{{ $message }}

+ @enderror +
+ +
+ + +

Format: JPG, PNG, JPEG (Maks. 2MB)

+ @error('bukti_pembayaran') +

{{ $message }}

+ @enderror +
+ +
+ + + @error('jenis_jaminan') +

{{ $message }}

+ @enderror +
+ +
+ + +

Format: JPG, PNG, JPEG (Maks. 2MB)

+ @error('foto_jaminan') +

{{ $message }}

+ @enderror +
+ +
+ +
+
+
+
+ @endif +
+
+
+ + +
+
+@endsection \ No newline at end of file diff --git a/resources/views/tambah-admin.blade.php b/resources/views/tambah-admin.blade.php new file mode 100644 index 0000000..0626841 --- /dev/null +++ b/resources/views/tambah-admin.blade.php @@ -0,0 +1,128 @@ + + + + + + Tambah Admin - INUFA + + + +
+ + + + +
+ +
+ + + + + + Profile + +
+ + +
+
+

Tambah Admin Baru

+ +
+ @csrf + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ + Batal + + +
+
+
+
+
+
+ + \ No newline at end of file diff --git a/resources/views/tambah-barang.blade.php b/resources/views/tambah-barang.blade.php new file mode 100644 index 0000000..4c39810 --- /dev/null +++ b/resources/views/tambah-barang.blade.php @@ -0,0 +1,66 @@ +@extends('layouts.app') + +@section('title', 'Tambah Barang - INUFA') + +@section('header', 'Peralatan Audio Sound System') + +@section('content') +
+

Tambah Barang Baru

+ + + @if ($errors->any()) + + @endif + +
+ @csrf + + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +

Format: JPG, PNG. Maks: 2MB

+
+
+ + + + + + +
+ + Batal + + +
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/tambah-pengguna.blade.php b/resources/views/tambah-pengguna.blade.php new file mode 100644 index 0000000..72a4b8b --- /dev/null +++ b/resources/views/tambah-pengguna.blade.php @@ -0,0 +1,109 @@ +@extends('layouts.app') + +@section('title', 'Tambah Admin - INUFA') + +@section('header') +
+ Data Admin + +
+@endsection + +@section('content') +
+

Tambah Admin Baru

+ + @if ($errors->any()) +
+
    + @foreach ($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+ @endif + +
+ @csrf + + +
+ +
+ + @error('nama') +

{{ $message }}

+ @enderror +
+
+ + +
+ +
+ + @error('username') +

{{ $message }}

+ @enderror +
+
+ + +
+ +
+ + @error('email') +

{{ $message }}

+ @enderror +
+
+ + +
+ +
+ + @error('no_telp') +

{{ $message }}

+ @enderror +
+
+ + +
+ +
+ + @error('alamat') +

{{ $message }}

+ @enderror +
+
+ + + + + +
+ +
+ + @error('password') +

{{ $message }}

+ @enderror +
+
+ + +
+ + Batal + + +
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php new file mode 100644 index 0000000..d7aa6f7 --- /dev/null +++ b/resources/views/welcome.blade.php @@ -0,0 +1,219 @@ + + + + + + INUFA - Solusi Perlengkapan Event Anda + + + + + + +
+
+
+
+

INUFA PRODUCTION

+
+ +
+ @if (Route::has('login')) +
+ @auth + Dashboard + @else + Masuk + @if (Route::has('register')) + Daftar + @endif + @endauth +
+ @endif +
+
+
+
+ + +
+
+
+
+

Sewa Perlengkapan Event

+

Dapatkan perlengkapan berkualitas untuk segala jenis acara anda. Kami menyediakan berbagai paket yang dapat disesuaikan dengan kebutuhan anda.

+ + +
+
+
+ + +
+
+
+

Tentang INUFA

+

INUFA merupakan penyedia layanan perlengkapan event yang telah berpengalaman dalam berbagai jenis acara.

+
+
+
+
+ + + +
+

Kualitas Terbaik

+

Kami menyediakan perlengkapan berkualitas terbaik untuk memastikan acara Anda berjalan lancar.

+
+
+
+ + + +
+

Pengiriman Tepat Waktu

+

Kami berkomitmen untuk selalu mengirimkan perlengkapan tepat waktu sesuai dengan jadwal acara Anda.

+
+
+
+ + + +
+

Harga Bersaing

+

Kami menawarkan harga yang kompetitif dengan tetap menjaga kualitas layanan terbaik untuk Anda.

+
+
+
+
+ + +
+
+
+

Paket Perlengkapan

+

Kami menawarkan berbagai paket perlengkapan yang dapat disesuaikan dengan kebutuhan acara Anda.

+
+
+ @foreach($pakets as $paket) +
+ @if($paket->image) + {{ $paket->nama_paket }} + @else + {{ $paket->nama_paket }} + @endif +
+

{{ $paket->nama_paket }}

+

{{ $paket->keterangan ?? 'Paket lengkap untuk acara Anda' }}

+

Rp {{ number_format($paket->harga, 0, ',', '.') }}

+ @auth + Sewa Sekarang + @else + Sewa Sekarang + @endauth +
+
+ @endforeach +
+
+
+ + +
+
+
+
+

Hubungi Kami

+

Silahkan hubungi kami untuk informasi lebih lanjut atau untuk memesan paket perlengkapan event Anda.

+
+
+ + + + +

JL.Trunojoyo Gg SMAK no.50 jember-jatim

+
+
+ + + +

085331467591

+
+
+ + + +

info@inufa.com

+
+
+
+
+
+
+ + +
+
+
+
+

INUFA

+

Solusi terbaik untuk perlengkapan event Anda. Kami menyediakan berbagai pilihan paket yang dapat disesuaikan dengan kebutuhan acara.

+
+
+

Tautan

+ +
+
+

Layanan

+
    +
  • Sewa Peralatan
  • +
  • Konsultasi Event
  • +
  • Installasi
  • +
  • Dukungan Teknis
  • +
+
+
+

Ikuti Kami

+ +
+
+
+

© {{ date('Y') }} INUFA. Hak Cipta Dilindungi.

+
+
+
+ + \ No newline at end of file diff --git a/routes/api.php b/routes/api.php new file mode 100644 index 0000000..889937e --- /dev/null +++ b/routes/api.php @@ -0,0 +1,19 @@ +get('/user', function (Request $request) { + return $request->user(); +}); diff --git a/routes/channels.php b/routes/channels.php new file mode 100644 index 0000000..5d451e1 --- /dev/null +++ b/routes/channels.php @@ -0,0 +1,18 @@ +id === (int) $id; +}); diff --git a/routes/console.php b/routes/console.php new file mode 100644 index 0000000..e05f4c9 --- /dev/null +++ b/routes/console.php @@ -0,0 +1,19 @@ +comment(Inspiring::quote()); +})->purpose('Display an inspiring quote'); diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 0000000..d7aa3ca --- /dev/null +++ b/routes/web.php @@ -0,0 +1,188 @@ +get(); + return view('welcome', compact('pakets')); +}); + +// Route untuk proses sewa dari landing page +Route::get('/sewa-paket/{id}', [SewaController::class, 'create'])->name('sewa.paket'); + +// Route untuk Authentication (untuk guest) +Route::middleware('guest')->group(function () { + Route::get('/login', [AuthController::class, 'showLoginForm'])->name('login'); + Route::post('/login', [AuthController::class, 'login'])->name('login.post'); + Route::get('/register', [AuthController::class, 'showRegisterForm'])->name('register'); + Route::post('/register', [AuthController::class, 'register'])->name('register.post'); +}); + +// Route untuk logout +Route::post('/logout', [AuthController::class, 'logout'])->name('logout'); + +// Route yang membutuhkan autentikasi +Route::middleware(['auth'])->group(function () { + // Dashboard + Route::get('/dashboard', [DashboardController::class, 'index'])->name('dashboard'); + + // Profile + Route::get('/profile', [ProfileController::class, 'index'])->name('profile.index'); + Route::put('/profile', [ProfileController::class, 'update'])->name('profile.update'); + + // Pengguna + Route::get('/pengguna', [PenggunaController::class, 'index'])->name('pengguna'); + Route::get('/pengguna/tambah', [PenggunaController::class, 'create'])->name('pengguna.create'); + Route::post('/pengguna', [PenggunaController::class, 'store'])->name('pengguna.store'); + Route::delete('/pengguna/{id}', [PenggunaController::class, 'destroy'])->name('pengguna.destroy'); + + // Admin + Route::get('/admin', [AdminController::class, 'index'])->name('admin'); + Route::get('/admin/tambah', [AdminController::class, 'create'])->name('admin.create'); + Route::post('/admin', [AdminController::class, 'store'])->name('admin.store'); + Route::get('/admin/{id}/edit', [AdminController::class, 'edit'])->name('admin.edit'); + Route::put('/admin/{id}', [AdminController::class, 'update'])->name('admin.update'); + Route::delete('/admin/{id}', [AdminController::class, 'destroy'])->name('admin.destroy'); + + // Barang + Route::get('/barang', [BarangController::class, 'index'])->name('barang'); + Route::get('/barang/tambah', [BarangController::class, 'create'])->name('barang.create'); + Route::post('/barang', [BarangController::class, 'store'])->name('barang.store'); + Route::get('/barang/{id}/edit', [BarangController::class, 'edit'])->name('barang.edit'); + Route::put('/barang/{id}', [BarangController::class, 'update'])->name('barang.update'); + Route::delete('/barang/{id}', [BarangController::class, 'destroy'])->name('barang.destroy'); + + // Paket (untuk semua user) + Route::get('/paket', [PaketController::class, 'index'])->name('paket'); + + // Khusus Admin + Route::middleware(['admin'])->group(function () { + // Paket Management + Route::get('/paket/tambah', [PaketController::class, 'create'])->name('paket.create'); + Route::post('/paket', [PaketController::class, 'store'])->name('paket.store'); + Route::get('/paket/{id}/edit', [PaketController::class, 'edit'])->name('paket.edit'); + Route::put('/paket/{id}', [PaketController::class, 'update'])->name('paket.update'); + Route::delete('/paket/{id}', [PaketController::class, 'destroy'])->name('paket.destroy'); + Route::post('/paket/{id}/activate', [PaketController::class, 'activate'])->name('paket.activate'); + Route::post('/paket/{id}/activate-all', [PaketController::class, 'activateAll'])->name('paket.activate-all'); + }); + + // Input Stock + Route::get('/input-stock', [StockController::class, 'index'])->name('input-stock'); + Route::post('/input-stock', [StockController::class, 'store'])->name('input-stock.store'); + Route::get('/input-stock/{id}/edit', [StockController::class, 'edit'])->name('input-stock.edit'); + Route::put('/input-stock/{id}', [StockController::class, 'update'])->name('input-stock.update'); + Route::get('/input-stock/{id}/kelola-barang', [StockController::class, 'kelolaBarang'])->name('input-stock.kelola-barang'); + Route::get('/input-stock/{id}/barang', [StockController::class, 'getBarangPaket'])->name('input-stock.barang'); + Route::post('/input-stock/{id}/barang', [StockController::class, 'tambahBarang'])->name('input-stock.tambah-barang'); + Route::delete('/input-stock/{paketId}/barang/{barangId}', [StockController::class, 'hapusBarang'])->name('input-stock.hapus-barang'); + + // PaketBarang + Route::put('/paket-barang/{id}', [PaketBarangController::class, 'update'])->name('paket-barang.update'); + Route::delete('/paket-barang/{id}', [PaketBarangController::class, 'destroy'])->name('paket-barang.destroy'); + + // Sewa + Route::get('/sewa', [SewaController::class, 'index'])->name('sewa'); + Route::get('/sewa/riwayat', [SewaController::class, 'riwayat'])->name('sewa.riwayat'); + Route::get('/sewa/{id}/detail', [SewaController::class, 'detail'])->name('sewa.detail'); + Route::get('/sewa/create/{id}', [SewaController::class, 'create'])->name('sewa.create'); + Route::post('/sewa', [SewaController::class, 'store'])->name('sewa.store'); + Route::get('/sewa/{id}', [SewaController::class, 'show'])->name('sewa.show'); + Route::post('/sewa/{id}/upload-bukti', [SewaController::class, 'uploadBukti'])->name('sewa.upload-bukti'); + Route::post('/sewa/{id}/upload-jaminan', [SewaController::class, 'uploadJaminan'])->name('sewa.upload-jaminan'); + Route::post('/sewa/{id}/batal', [SewaController::class, 'batal'])->name('sewa.batal'); + + // Riwayat + Route::get('/riwayat', [RiwayatController::class, 'index'])->name('riwayat'); + Route::get('/riwayat/{id}', [RiwayatController::class, 'show'])->name('riwayat.show'); + Route::put('/riwayat/{id}/batal', [RiwayatController::class, 'cancel'])->name('riwayat.batal'); + + // Admin Riwayat + Route::prefix('admin')->name('admin.')->group(function () { + Route::get('/riwayat', [RiwayatController::class, 'adminIndex'])->name('riwayat'); + Route::put('/riwayat/{id}/status', [RiwayatController::class, 'updateStatus'])->name('riwayat.status'); + + // Verifikasi Pembayaran + Route::get('/verifikasi', [App\Http\Controllers\Admin\VerifikasiController::class, 'index'])->name('verifikasi.index'); + Route::post('/verifikasi/{id}/approve', [App\Http\Controllers\Admin\VerifikasiController::class, 'approve'])->name('verifikasi.approve'); + Route::post('/verifikasi/{id}/reject', [App\Http\Controllers\Admin\VerifikasiController::class, 'reject'])->name('verifikasi.reject'); + }); + + // Chat Routes + Route::get('/chat/unread-count', [ChatController::class, 'getUnreadCount'])->name('chat.unreadCount'); + Route::get('/chat', [ChatController::class, 'index'])->name('chat.index'); + Route::get('/chat/{user_id}/messages', [ChatController::class, 'getNewMessages'])->name('chat.messages'); + Route::get('/chat/{user_id}', [ChatController::class, 'show'])->name('chat.show'); + Route::post('/chat/{user_id}', [ChatController::class, 'store'])->name('chat.store'); + Route::post('/chat/{user_id}/mark-as-read', [ChatController::class, 'markAsRead'])->name('chat.markAsRead'); +}); + +// Reroute dari dashboard/users ke pengguna +Route::get('/dashboard/users', function () { + return redirect()->route('pengguna'); +})->name('dashboard.users'); + +// Admin Routes +Route::middleware(['auth', 'role:admin'])->prefix('admin')->group(function () { + Route::get('/dashboard', [App\Http\Controllers\Admin\DashboardController::class, 'index'])->name('admin.dashboard'); + // ... other admin routes ... +}); + +// Customer Routes +Route::middleware(['auth', 'role:customer'])->prefix('customer')->group(function () { + Route::get('/dashboard', [App\Http\Controllers\Customer\DashboardController::class, 'index'])->name('customer.dashboard'); + + // Paket - hanya view + Route::get('/paket', [PaketController::class, 'index'])->name('customer.paket'); + + // Sewa + Route::get('/sewa', [SewaController::class, 'index'])->name('customer.sewa'); + Route::get('/sewa/create/{id}', [SewaController::class, 'create'])->name('customer.sewa.create'); + Route::post('/sewa', [SewaController::class, 'store'])->name('customer.sewa.store'); + Route::get('/sewa/{id}', [SewaController::class, 'show'])->name('customer.sewa.show'); + Route::post('/sewa/{id}/upload-bukti', [SewaController::class, 'uploadBukti'])->name('customer.sewa.upload-bukti'); + + // Riwayat + Route::get('/riwayat', [RiwayatController::class, 'index'])->name('customer.riwayat'); + Route::get('/riwayat/{id}', [RiwayatController::class, 'show'])->name('customer.riwayat.show'); + Route::put('/riwayat/{id}/cancel', [RiwayatController::class, 'cancel'])->name('customer.riwayat.cancel'); +}); + +// Routes untuk manajemen ongkir kota (admin only) +Route::middleware(['auth', 'admin'])->prefix('admin')->name('admin.')->group(function () { + Route::resource('ongkir-kota', OngkirKotaController::class); +}); + +// Routes untuk Hubungi Kami +Route::get('/contact', [ContactInfoController::class, 'show'])->name('contact.show'); +Route::middleware(['auth', 'admin'])->group(function () { + Route::get('/admin/contact', [ContactInfoController::class, 'index'])->name('contact.index'); + Route::post('/admin/contact', [ContactInfoController::class, 'store'])->name('contact.store'); +}); diff --git a/storage/app/.gitignore b/storage/app/.gitignore new file mode 100644 index 0000000..8f4803c --- /dev/null +++ b/storage/app/.gitignore @@ -0,0 +1,3 @@ +* +!public/ +!.gitignore diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/app/public/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore new file mode 100644 index 0000000..05c4471 --- /dev/null +++ b/storage/framework/.gitignore @@ -0,0 +1,9 @@ +compiled.php +config.php +down +events.scanned.php +maintenance.php +routes.php +routes.scanned.php +schedule-* +services.json diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore new file mode 100644 index 0000000..01e4a6c --- /dev/null +++ b/storage/framework/cache/.gitignore @@ -0,0 +1,3 @@ +* +!data/ +!.gitignore diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/cache/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/sessions/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/testing/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/views/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/logs/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php new file mode 100644 index 0000000..cc68301 --- /dev/null +++ b/tests/CreatesApplication.php @@ -0,0 +1,21 @@ +make(Kernel::class)->bootstrap(); + + return $app; + } +} diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php new file mode 100644 index 0000000..8364a84 --- /dev/null +++ b/tests/Feature/ExampleTest.php @@ -0,0 +1,19 @@ +get('/'); + + $response->assertStatus(200); + } +} diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 0000000..2932d4a --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,10 @@ +assertTrue(true); + } +} diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..421b569 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,11 @@ +import { defineConfig } from 'vite'; +import laravel from 'laravel-vite-plugin'; + +export default defineConfig({ + plugins: [ + laravel({ + input: ['resources/css/app.css', 'resources/js/app.js'], + refresh: true, + }), + ], +});