This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//vendor/laravel/framework/src/Illuminate/Foundation/Console/DownCommand.php | |
<?php | |
namespace Illuminate\Foundation\Console; | |
use App\Http\Middleware\PreventRequestsDuringMaintenance; | |
use Exception; | |
use Illuminate\Console\Command; | |
use Illuminate\Foundation\Events\MaintenanceModeEnabled; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Colors for output | |
GREEN='\033[0;32m' | |
NC='\033[0m' | |
# Function to update and upgrade system | |
update_system() { | |
echo -e "${GREEN}Updating and upgrading the system...${NC}" | |
sudo apt update -y && sudo apt upgrade -y |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 5.2.1 | |
-- https://www.phpmyadmin.net/ | |
-- | |
-- Host: localhost | |
-- Generation Time: Oct 15, 2024 at 02:18 PM | |
-- Server version: 10.6.7-MariaDB-2ubuntu1.1 | |
-- PHP Version: 8.2.7 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🎉 Laravel Deploy | |
on: | |
push: | |
branches: [master] | |
workflow_dispatch: # Allow manual triggering | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚀 Deploy to cPanel | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
FTP-Deploy-Action: | |
name: 🎉 Deploy | |
runs-on: ubuntu-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers\Api\V2; | |
use App\Models\Order; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\Controller; | |
use App\Actions\Order\DeliveryStatus; | |
class WebhookController extends Controller |
OlderNewer