Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revive and Update the package #17

Merged
merged 10 commits into from
Oct 27, 2024
Merged

Revive and Update the package #17

merged 10 commits into from
Oct 27, 2024

Conversation

n4ss1m
Copy link
Contributor

@n4ss1m n4ss1m commented Oct 27, 2024

This PR revives and updates the package, enhancing compatibility with the latest PHP (8.1, 8.2, 8.3) and Laravel (10.x, 11.x) versions, while also improving testing, code quality, and documentation.

Key Changes:

  • Compatibility Updates:

    • Updated composer.json to support new PHPUnit and Orchestra versions.
    • Removed composer.lock to resolve version conflicts, added to .gitignore.
    • Set minimum-stability to stable.
    • Dropped support for PHP 8.0 (End of Life).
  • CI Enhancements:

    • Added GitHub Actions for multiple PHP version tests (8.1, 8.2, 8.3).
    • Integrated PHPStan analysis and automatic code style fixes (PSR-12).
    • Automated dependency updates and changelog generation.
  • Code Improvements:

    • Fixed migration issues by setting static names for repeat installations.
    • Improved api.php code and added tests.
    • Ensured all code is PHPStan error-free.
  • Documentation:

    • Updated README with a code style test badge, improved usage details, and social preview settings.
    • Added note on handling PHPUnit deprecations.
    • Encouraged users to star the repository on GitHub.
  • Other Updates:

    • Added LICENSE.md (MIT License) and new issue templates.
    • Set up GitHub Actions for automatic changelog updates and dependency management.

Additional Requests:

  • Enable Discussions: To foster community interaction and collaboration.
  • Set Social Media Preview: Add docs/package-social-preview.png for enhanced sharing on social platforms.

n4ss1m added 10 commits October 27, 2024 08:10
- support new phpunit , orchestra ( to work with latest php and laravel )
- Remove composer.lock to resolve compatible versions and add it to .gitignore
- setting minimum-stability: stable
- add Multiple PHP version tests ( 8.1,8.2,8.3) and drop 8.0 no longer supported ( End of life )
- add PHPStan analyse to test
- set static name to migration file to avoid creating multiple migration when running installation command on second time
- add code style test badge
- add social preview and other updates
- add encourage visitors to star the repo on gitub
- add `CHANGELOG.md` and auto write action
- Dependency-updates update & auto merge minor & patch updates
- Auto PHP code style fix ( psr-12 )
- add note to readme.md to fix PHPUnit Deprecations
@kossa kossa merged commit d6c01e9 into kossa:master Oct 27, 2024
6 checks passed
@kossa
Copy link
Owner

kossa commented Oct 27, 2024

Good job, thank you for the PR

@n4ss1m
Copy link
Contributor Author

n4ss1m commented Oct 27, 2024

Thank you, it was a pleasure. Please remember to draft a new release, possibly a major version 4.0.0, as it no longer supports PHP 8 or Laravel 9.

Draft New Release

@kossa
Copy link
Owner

kossa commented Oct 27, 2024

@n4ss1m Done
image

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.

2 participants