Share PHP functions, Laravel controllers, or WordPress hooks: highlighted and shareable without spinning up a gist.
1php declare(strict_types=1);23namespace App\Http\Controllers;45use App\Models\User;6use Illuminate\Http\JsonResponse;7use Illuminate\Http\Request;89final class UserController extends Controller10{11 public function show(int $id): JsonResponse12 {13 $user = User::findOrFail($id);14 $this->authorize('view', $user);1516 return response()->json([17 'id' => $user->id,18 'name' => $user->name,19 'email' => $user->email,20 ]);21 }22}Paste PHP code and get a shareable link with full syntax highlighting, server-side rendered with no JavaScript overhead.
Deleted on first open. Can't be viewed twice.
Add a password for end-to-end encryption with no raw key stored.
Set pastes to expire after 1 hour, 1 day, 7 days, or up to 30 days. Gone when you say so.
No sign-up, no email, no ads. Paste and share in seconds.
Yes. Named arguments, fibers, enums, intersection types, and readonly classes are all supported.
Pastes up to 5 MB are supported.
Yes. AES-256-GCM encryption runs in your browser before upload. Non-password pastes store the raw data key server-side for simple sharing and raw access; password-protected pastes keep the raw key out of the server.