{"id":34689483,"url":"https://github.com/mooxphp/news","last_synced_at":"2026-03-13T23:02:37.541Z","repository":{"id":281479888,"uuid":"944687298","full_name":"mooxphp/news","owner":"mooxphp","description":"[READ-ONLY] News Entity for Laravel and Filament","archived":false,"fork":false,"pushed_at":"2025-09-10T11:34:58.000Z","size":25,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T02:03:56.720Z","etag":null,"topics":["filament","laravel","news","package"],"latest_commit_sha":null,"homepage":"https://www.moox.org","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mooxphp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["mooxphp"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2025-03-07T19:39:58.000Z","updated_at":"2025-09-10T11:35:01.000Z","dependencies_parsed_at":"2025-07-10T15:27:55.378Z","dependency_job_id":"c3eee202-91d7-40ce-bc90-f3382d19c9ba","html_url":"https://github.com/mooxphp/news","commit_stats":null,"previous_names":["mooxphp/news"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/mooxphp/news","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fnews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fnews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fnews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fnews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mooxphp","download_url":"https://codeload.github.com/mooxphp/news/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fnews/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30478929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T20:45:58.186Z","status":"ssl_error","status_checked_at":"2026-03-13T20:45:20.133Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["filament","laravel","news","package"],"created_at":"2025-12-24T21:57:20.261Z","updated_at":"2026-03-13T23:02:37.530Z","avatar_url":"https://github.com/mooxphp.png","language":"PHP","readme":"![Moox News](https://github.com/mooxphp/moox/raw/main/art/banner/news.jpg)\n\n# Moox News\n\nNews is a publishable Moox Entity that can be used to create and manage Pages, Posts, etc.\n\n## Features\n\n\u003c!--features--\u003e\n\n-   Publish (or schedule)\n-   Unpublish (or schedule)\n-   Soft Delete\n-   Supports Taxonomies\n-   Supports Relations\n-   Supports Modules\n-   Title with Slug fields\n-   Active field (Toggle)\n-   Description field (Editor)\n-   Content field (Markdown)\n-   Data field (Key-Value)\n-   Image field (Media)\n-   Author field (User)\n-   Type field (Select)\n-   Due field (DateTime)\n-   Color field (Color)\n-   UUID field (UUID)\n-   ULID field (ULID)\n\n\u003c!--/features--\u003e\n\n## Requirements\n\nSee [Requirements](https://github.com/mooxphp/moox/blob/main/docs/Requirements.md).\n\n## Installation\n\n```bash\ncomposer require moox/news\nphp artisan moox:install\n```\n\nCurious what the install command does? See [Installation](https://github.com/mooxphp/moox/blob/main/docs/Installation.md).\n\n## Screenshot\n\n![Moox News](https://github.com/mooxphp/moox/raw/main/art/screenshots/news.jpg)\n\n## Get Started\n\nSee [Get Started](docs/GetStarted.md).\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Roadmap\n\nPlease see [ROADMAP](ROADMAP.md) for more information on what is planned for this package.\n\n## Security\n\nPlease review [our security policy](https://github.com/mooxphp/moox/security/policy) on how to report security vulnerabilities.\n\n## Credits\n\nThanks to so many [people for their contributions](https://github.com/mooxphp/moox#contributors) to this package.\n\n## License\n\nThe MIT License (MIT). Please see [our license and copyright information](https://github.com/mooxphp/moox/blob/main/LICENSE.md) for more information.\n\n## The News Model\n\nThe News model comes with several powerful features and capabilities:\n\n### Attributes\n\n#### Base Fields\n\n-   `is_active` (boolean) - Activation status\n-   `data` (json) - Flexible JSON data storage\n-   `type` - Content type (Post/Page)\n-   `status` - Publication status (news/waiting/private/scheduled/published)\n-   `color` - Custom color coding\n-   `due_at` (datetime) - Due date\n-   `uuid` - Universally Unique Identifier\n-   `ulid` - Universally Unique Lexicographically Sortable Identifier\n\n#### Translated Fields\n\n-   `title` - Content title\n-   `slug` - URL-friendly identifier\n-   `description` - Brief description\n-   `content` - Main content\n-   `author_id` - Content author reference\n-   `to_publish_at` - Scheduled publish date\n-   `published_at` - Actual publish date\n-   `to_unpublish_at` - Scheduled unpublish date\n-   `unpublished_at` - Actual unpublish date\n\n### Media Handling\n\n-   Supports media attachments via Spatie Media Library\n-   Automatic image conversions for previews\n-   Media relationship through usables\n\n### Publishing Workflow\n\n-   Scheduled publishing support\n-   Publication status tracking\n-   Unpublishing capability\n-   Audit trail for publishing actions\n\n### Methods\n\n#### Publishing Related\n\n-   `isScheduledForPublishing()` - Check if content is scheduled\n-   `isPublished()` - Check publication status\n-   `isScheduledForUnpublishing()` - Check unpublishing schedule\n-   `isUnpublished()` - Check if unpublished\n-   `handleSchedulingDates()` - Manage scheduling dates\n-   `handlePublishingDates()` - Handle publication dates\n\n#### Query Scopes\n\n-   `scopeScheduledForPublishing()`\n-   `scopePublished()`\n-   `scopeScheduledForUnpublishing()`\n-   `scopeUnpublished()`\n-   `scopeRestored()`\n\n#### Relationships\n\n-   `author()` - Author relationship\n-   `publishedBy()` - Publishing actor\n-   `updatedBy()` - Update actor\n-   `createdBy()` - Creation actor\n-   `unpublishedBy()` - Unpublishing actor\n-   `deletedBy()` - Deletion actor\n-   `restoredBy()` - Restoration actor\n\n### Features\n\n-   Soft deletes support\n-   Multi-language support\n-   Taxonomy integration\n-   Automatic UUID/ULID generation\n-   Media library integration\n-   Publishing workflow management\n-   Audit trail for all major actions\n","funding_links":["https://github.com/sponsors/mooxphp"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooxphp%2Fnews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmooxphp%2Fnews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooxphp%2Fnews/lists"}