Skip to content

📦️ Add Composer support and publish package #48

Description

@David-2357

Add a composer.json file so this library can be installed as a package via Composer. Include all necessary metadata and instructions for installation in the README.

Example composer.json:

{
  "name": "davidperez-2357/databasemethods",
  "description": "File with useful methods to work with SQL, MySQL, Postgres or SQLite database made in PHP",
  "autoload": {
    "psr-4": {"DatabaseMethods\\": "src/"}
  }
}

Affected file(s):

  • composer.json
  • README.md

Benefits:

  • Easy integration in external PHP projects
  • Wider reach for usage

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions