openlittermap-web
data-transfer-object
openlittermap-web | data-transfer-object | |
---|---|---|
77 | 16 | |
109 | 2,177 | |
1.8% | - | |
8.7 | 6.4 | |
about 1 month ago | over 1 year ago | |
PHP | PHP | |
GNU General Public License v3.0 only | 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.
openlittermap-web
-
Pothole accident
Upload to https://openlittermap.com tag cork:pothole and send the data to the council
- Where do we report this?
-
Here a new Challenge to Make the world Clean
Recording data while collecting requires the suggested equipment: •Refillable Water Bottle •Safety Equipment (Reflective Vest/Jacket, Gloves, Hand Sanitizer, Mask..) •PowerBank for Phone w/Cables •Carry Bag for Aforementioned Belongings •Disposal / Transportation Bags for Orphaned Objects •Hands-Free Bag Rings •Picking Device •App to Record (many out there: OLM (Nice Open Data)| Epicollect5 (Homebrew Custom Option) | Litterati
- Every location on OpenLitterMap now has its own timestamped daily, monthly, and yearly leaderboard.
-
Need project ideas
There's OpenLitterMap. You could start a project about identifying local littering problem areas.
-
Disposable vapes and littering in general
Join us and share data at https://openlittermap.com
-
Cork city councils plan for the SDGs. First: destroy urban biodiversity habitats (27th Feb), then: open a non-digital public consultation (28th March)
Fantastic question! I am developing https://openlittermap.com which is open source and I’m about to launch a new app soon about buildings. There is also r/OpenStreetMap. Would love to hear about any more
-
No future in Ireland
What? https://openlittermap.com
- We need your help to review the Littercoin source code before launching on mainnet
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?
laravel-queueable-action - Queueable actions in Laravel
php-dto - A data transfer object inspired by Rust's serde
laravel-actions - ⚡️ Laravel components that take care of one specific task
Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)
Equal - Equal UI is a Vue 3 UI library empowered by Tailwindcss
package-skeleton-laravel - A skeleton repository for Spatie's Laravel Packages
lol-pick-ban-ui - Web-Based UI to display the league of legends champ select in esports tournaments.
git-auto-commit-action - Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.
slippilab - Watch Slippi replays in the browser
fram - Fram is a view framework for PHP
Valinor - PHP library that helps to map any input into a strongly-typed value object structure.
Doctrine - Doctrine Object Relational Mapper (ORM)