git-auto-commit-action
data-transfer-object
Our great sponsors
git-auto-commit-action | data-transfer-object | |
---|---|---|
8 | 16 | |
1,787 | 2,177 | |
- | - | |
6.4 | 6.4 | |
14 days ago | over 1 year ago | |
Shell | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
git-auto-commit-action
-
Automate Python Linting and Code Style Enforcement with Ruff and GitHub Actions
We are also using the auto-commit action to commit the changes. We can configure the commit message and other options. Read more about the auto-commit action here. This is optional - we can also use the git action to commit the changes manually.
-
How to Build a Dynamic GitHub Profile with GitHub Actions and PHP
commit and push the changes, if any.
- GitHub Action for Generating a World Map of Repository Contributions
- Workflow to keep CHANGELOG up-to-date with Release Notes
-
Publish blog posts from GIT to dev.to
Stefan Zweifel - Committing the changes file from a workflow
- Getting Started With Bash Testing With Bats
-
Getting Started with Bash Testing with Bats
If you want to see a real world example I encourage you to take a look at the tests I've written for git-auto-commit. You can find them on GitHub.
data-transfer-object
- Data-Mapper: A package for fast mapping of strong-typed objects
- brick/json-mapper: map JSON data to strongly typed PHP DTOs
-
A (very) small package to cast a variable to a new type, in including custom classes
Speaking of… https://github.com/spatie/data-transfer-object is dead, does doctrine offer similar functionality?
-
Given a messy class used _heavily_ with a hard time understanding whats going on... how to log stuff in testing / demo??
Once you are confident in the argument types, add them to the methods. If there are too many, create a Data Transfer Object. Also add method return types.
-
Refactoring #5: From arrays to Data Transfer Objects
The benefits of using DTOs are numerous, there's even a package from Spatie for them. See the package's release post and this awesome DTO explanation for a more in-depth take and how to implement and use them in a more sensible way.
-
Leveraging DTOs for JSON database columns as an alternative to additional tables
I opted to use Spatie's DTO package and a bit of additional custom code for easy casting. I decided to map each JSON column to its own DTO, so I created two classes for land and for army.
-
What are peoples thoughts/feelings regarding PHP attributes?
When possible, I surely will try using the spatie/data-transfer-object with attributes to see if I like it.
-
Workflow to keep CHANGELOG up-to-date with Release Notes
Open Source projects using this Action. Mostly my own projects, as I just released the Action. However, Spatie, a huge contributor to open source PHP packages recently added the workflow to their PHP package template; which makes me super proud ♥️
-
Restricting ORM objects to repository classes and DTOs
This spatie lib looks neat too, though it might not be all that static analysis friendly. I guess this doesn't save you from having two classes with the same properties. Seems like it could be worth a shot. Short of inventing a code generation tool I don't know how much better I can do.
- Autoload callback when certain class is called first time
What are some alternatives?
get-changed-files - Get all of the files changed/modified in a pull request or push's commits.
php-dto - A data transfer object inspired by Rust's serde
Logseq-Git-Sync-101 - This repo aims to help Logseq users to sync their data with Git and GitHub.
Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)
ansible-lint-action - ❗️Replaced by https://github.com/marketplace/actions/run-ansible-lint
package-skeleton-laravel - A skeleton repository for Spatie's Laravel Packages
rss-php - Small and easy-to-use library for consuming RSS and Atom feeds
fram - Fram is a view framework for PHP
countries-states-cities-database - 🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities
Doctrine - Doctrine Object Relational Mapper (ORM)
bats-support - Supporting library for Bats test helpers
serializer - Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.