assert
Nextcloud
assert | Nextcloud | |
---|---|---|
7 | 608 | |
7,506 | 25,637 | |
0.2% | 1.1% | |
0.0 | 10.0 | |
4 months ago | 2 days ago | |
PHP | PHP | |
MIT License | GNU Affero General Public License v3.0 |
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.
assert
-
OpenMarketplace v1.1.0 released
This is not Java where everything is nullable by default. Use that in your favor and set dependencies correctly via constructor like this. For this to correctly work, check the empty_data callable and webmozart/assert package:
-
Hi, I've created a PHP library that automagically creates a Builder for any class. Any review / idea is welcome!
I actually do have that case, many of them. For that, I use form_data. This example is a bit old-school, statically analyzed one would be using webmozarts/assert like:
-
Avoiding one-liners in PHP
For APIs relying on array and not something like cuyz/valinor (best deserializer I have ever seen), one-liners are still good with webmozart/assert:
-
GitHub - Clivern/Helium: 🐺 Fast, Secure and Reliable Newsletter System, Set up in Minutes.
// https://github.com/webmozarts/assert Assert::nullOrInteger($price = $data['price'] ?? null); if ($price) { $p->setPrice($price); // we don't care about return value }
-
Anybody interested in `is` and `?as` from Hack?
as will throw exception immediately, similar to assertion package:
-
Is it worth it to use Symfony Form with React?
What I do with the VueJS forms is using a assertion library like https://github.com/webmozarts/assert to handle the validation of the incoming data.
- Type Assumptions & Assertions simplified
Nextcloud
- Ask HN: Online File Repository System?
-
Happy 20th Anniversary, Gmail. I'm Sorry I'm Leaving You
It really is hard to leave Gmail when all of your data has been conveniently stored therein. This is one of Google's retention strategies and it is indeed brilliant.
That said, there's a vast number of self-hosted alternatives like Stalwart Mail (email) [1], Immich (images) [2], NextCloud (Google Docs) [3], etc.
[1] https://stalwa.rt
[2] https://immich.app
[3] https://nextcloud.com/
-
Building a Managed Service Provider Business With Open Source
NextCloud - GitHub
-
Google suspends romance author's account for writing sexually explicit content
Good open source self-hostable alternatives exist! https://nextcloud.com/ (no affiliation, just a longtime happy user) is great for file sharing and even collaborative online document editing.
If you do not want to host your own instance, there are many great providers who will host one for you at a low cost.
- Ask HN: What is your approach for managing personal digital assets?
- Ask HN: What Underrated Open Source Project Deserves More Recognition?
-
OpenBSD Upgrade 7.3 to 7.4
See Configuration and syntax changes and Special packages. The latter this time includes changes around NextCloud 23 and Tor Browser prior to 12.5, both of which should be upgraded beforehand.
-
15 open-source tools to elevate your software design workflow
Link | Demo | Github | License
-
Ask HN: How do I leave Dropbox
1. https://nextcloud.com/ https://proton.me/drive https://github.com/awesome-selfhosted/awesome-selfhosted#fil...
2. Download all data locally then upload elsewhere.
3. https://help.dropbox.com/security/privacy-policy-faq#7.-How-...
-
⟳ 4 apps added, 39 updated at f-droid.org
Nextcloud Dev (version 20231202): Synchronization client
What are some alternatives?
php-builder - A PHP trait to automagically create a Builder for any class - with no dependencies
OpenMediaVault - openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.
CraueFormFlowBundle - Multi-step forms for your Symfony project.
Samba - https://gitlab.com/samba-team/samba is the Official GitLab mirror of https://git.samba.org/samba.git -- Merge requests should be made on GitLab (not on GitHub)
OpenMarketplace - Open-source Multi-Vendor Marketplace platform based on Sylius and Symfony.
Pydio
Theatrical-Players-Refactoring-Kata - Example from first chapter of 'Refactoring' by Martin Fowler, with tests and translations
minio - The Object Store for AI Data Infrastructure
php-cast
NextCloudPi - 📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
BitBagBible - BitBag coding standards that rock!
Piwigo - Manage your photos with Piwigo, a full featured open source photo gallery application for the web. Star us on Github! More than 200 plugins and themes available. Join us and contribute!