Skip to content

chore: prepare PHP SDK for Packagist Release#729

Merged
maxprilutskiy merged 4 commits intomainfrom
devin/1746239883-prepare-php-sdk-for-packagist
May 3, 2025
Merged

chore: prepare PHP SDK for Packagist Release#729
maxprilutskiy merged 4 commits intomainfrom
devin/1746239883-prepare-php-sdk-for-packagist

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Prepare PHP SDK for Packagist Release

This PR prepares the PHP SDK for public Packagist release as the lingodotdev/sdk package.

Changes

  1. Created a new root composer.json with the package name lingodotdev/sdk and proper PSR-4 autoloading configuration
  2. Removed the nested php/sdk/composer.json file
  3. Created .gitattributes to exclude non-PHP artifacts from the Composer dist archive
  4. Updated namespaces in PHP files to match PSR-4 autoloading (LingoDotDev\Sdk\)
  5. Updated CI workflow to include composer validation
  6. Tagged the repository as v0.1.0

Installation

After merging, users will be able to install the SDK with:

composer require lingodotdev/sdk

Consumers will download just the contents of php/sdk/src/ as specified.

Link to Devin run

https://app.devin.ai/sessions/3b64be250b9f4e1f81dc05c2f6f714c1

Requested by

Max Prilutskiy (max@lingo.dev)

Co-Authored-By: Max Prilutskiy <maks.prilutskiy@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration bot changed the title Prepare PHP SDK for Packagist Release chore: Prepare PHP SDK for Packagist Release May 3, 2025
devin-ai-integration bot and others added 3 commits May 3, 2025 02:47
Co-Authored-By: Max Prilutskiy <maks.prilutskiy@gmail.com>
Co-Authored-By: Max Prilutskiy <maks.prilutskiy@gmail.com>
…json and SDK source

Co-Authored-By: Max Prilutskiy <maks.prilutskiy@gmail.com>
@maxprilutskiy maxprilutskiy changed the title chore: Prepare PHP SDK for Packagist Release chore: prepare PHP SDK for Packagist Release May 3, 2025
@maxprilutskiy maxprilutskiy merged commit c18873c into main May 3, 2025
2 checks passed
@maxprilutskiy maxprilutskiy deleted the devin/1746239883-prepare-php-sdk-for-packagist branch May 3, 2025 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant