Skip to content

Instantly share code, notes, and snippets.

View DemianKost's full-sized avatar
🎯
Focusing

Demian DemianKost

🎯
Focusing
View GitHub Profile
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class DiskController extends Controller
{
public function index()
@DemianKost
DemianKost / web.php
Created November 7, 2022 13:51
Gist for my AWS S3 Bucket and Laravel article on Medium
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\DiskController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
@DemianKost
DemianKost / Test.jsx
Created February 12, 2023 20:28
Everything that you need to create a new Laravel application with React.js, Inertia.js and Vite.js
import React, { useState } from 'react';
const Test = () => {
return (
<h1>This is test component</h1>
)
}
export default Test