curl-converter Tailwind Templates

Curl Converter

A modern web tool to convert cURL commands to PHP code. Features syntax highlighting, multiple HTTP methods support, and automatic header parsing. Built with Tailwind CSS for a clean, responsive interface.

cURL to PHP Converter

A modern web tool to convert cURL commands to PHP code. Features syntax highlighting, multiple HTTP methods support, and automatic header parsing. Built with Tailwind CSS for a clean, responsive interface.

Features

  • 🔄 Convert browser cURL commands to PHP code instantly
  • 🌐 Support for multiple HTTP methods (GET, POST, PUT, DELETE)
  • 📋 Automatic header parsing and formatting
  • 💻 Beautiful syntax highlighting with Prism.js
  • 📱 Responsive design that works on all devices
  • ⚡ Fast and lightweight with no dependencies
  • 🎨 Modern UI with Tailwind CSS
  • 📋 One-click code copying

Usage

  1. Copy a cURL command from your browser's developer tools
  2. Paste it into the input box
  3. Select the appropriate HTTP method (if needed)
  4. Click "Generate" to get the PHP code
  5. Use the "Copy" button to copy the code to your clipboard

Technologies Used

  • HTML5
  • Tailwind CSS for styling
  • JavaScript for conversion logic
  • Prism.js for syntax highlighting

Live Demo

Visit https://pratyush295300.github.io/curl-converter to try it out!

Local Development

To run this project locally:

  1. Clone the repository

    git clone https://github.com/pratyush295300/curl-converter.git
    
  2. Open index.html in your browser

Credits

Made with ❤ by Pratyush • © 2025

Top categories

Loading Svelte Themes