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 1mo 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 37% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

536d 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

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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