PHPackages                             angus-dv/pars-news - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. angus-dv/pars-news

ActiveLibrary[API Development](/categories/api)

angus-dv/pars-news
==================

This project provides a restful API for managing articles on a news site. It allows users to create, read, update, and delete articles efficiently.

1.1.8(1y ago)013MITPHP

Since Nov 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/AngusDV/pars-news)[ Packagist](https://packagist.org/packages/angus-dv/pars-news)[ RSS](/packages/angus-dv-pars-news/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

Pars News API
=============

[](#pars-news-api)

Installation
------------

[](#installation)

### Step 1: Install via Composer

[](#step-1-install-via-composer)

Run the following command to install the package from Packagist:

```
composer require angus-dv/pars-news

```

Docker Setup
------------

[](#docker-setup)

### Step 2: Add Docker File

[](#step-2-add-docker-file)

Run the installation command for Docker:

```
php artisan pars-news:install-docker

```

### Step 3: Start Docker Compose

[](#step-3-start-docker-compose)

Use the following command to start the Docker containers:

```
docker compose up -d

```

Publish Vendor Assets
---------------------

[](#publish-vendor-assets)

To publish the vendor assets, execute:

```
docker exec -it pars_php  php artisan vendor:publish

```

Migrations and Seeders
----------------------

[](#migrations-and-seeders)

To run migrations, seeders, and install Sanctum, use:

```
docker exec -it pars_php  php artisan robot:install

```

Queue Management
----------------

[](#queue-management)

### Step 4: Install Supervisor

[](#step-4-install-supervisor)

To manage queues, install Supervisor with:

```
sudo apt-get install supervisor

```

### Step 5: Configure Supervisor

[](#step-5-configure-supervisor)

Create a Supervisor configuration file at /etc/supervisor/conf.d/laravel-worker.conf with the following content:

```
[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command= docker exec  pars_php  php  artisan queue:work
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=root
numprocs=4
redirect_stderr=true
stdout_logfile=/var/log/laravel-worker.log
stopwaitsecs=3600

```

### Step 6: Start Supervisor

[](#step-6-start-supervisor)

Run the following commands to update and start Supervisor:

```
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start all

```

Testing
-------

[](#testing)

To run tests for the Pars News package, execute:

```
sudo docker exec -it pars_php  php  artisan test vendor/angus-dv/pars-news/src/Test/Feature

```

Postman Collection
------------------

[](#postman-collection)

A Postman collection for testing the API is available here. \[ parse-news.postman\_collection.json \]

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

8

Last Release

636d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40d6f1d20980036a861daddcf3eea18ac7b2a2bde4f81a4d05c07af410df195b?d=identicon)[marooj](/maintainers/marooj)

---

Top Contributors

[![AngusDV](https://avatars.githubusercontent.com/u/5556823?v=4)](https://github.com/AngusDV "AngusDV (24 commits)")

### Embed Badge

![Health badge](/badges/angus-dv-pars-news/health.svg)

```
[![Health](https://phpackages.com/badges/angus-dv-pars-news/health.svg)](https://phpackages.com/packages/angus-dv-pars-news)
```

###  Alternatives

[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1826.5M238](/packages/filament-spatie-laravel-media-library-plugin)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[statikbe/laravel-filament-flexible-content-blocks

The Laravel Filament Flexible Content Blocks package helps you to easily create content in Filament for any model, with predefined or custom blocks, and foreach block an extendable Blade view component.

17927.9k6](/packages/statikbe-laravel-filament-flexible-content-blocks)[slimani/filament-media-manager

A media manager plugin for Filament.

179.7k1](/packages/slimani-filament-media-manager)[tapp/filament-form-builder

User facing form builder using Filament components

133.5k6](/packages/tapp-filament-form-builder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
