PHPackages                             irpcpro/testcrud - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. irpcpro/testcrud

ActiveProject[Testing &amp; Quality](/categories/testing)

irpcpro/testcrud
================

A project to management Products and Orders

1.0.1(1y ago)09MITPHPPHP ^8.1

Since Jun 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/irpcpro/testcrud)[ Packagist](https://packagist.org/packages/irpcpro/testcrud)[ RSS](/packages/irpcpro-testcrud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (3)Used By (0)

Test CRUD
=========

[](#test-crud)

**Version:**1.0.1

A project for managing `Products` &amp; `Orders` with `JWT` authentication

[![Latest Stable Version](https://camo.githubusercontent.com/c541481fdda56f531f45734bef6087dd33b531727ddd58a8ac77fec1016735db/687474703a2f2f706f7365722e707567782e6f72672f6972706370726f2f74657374637275642f76)](https://packagist.org/packages/irpcpro/testcrud) [![Total Downloads](https://camo.githubusercontent.com/7854a46228f8915f51a302ac7c1cd5e34dddb1c44e6073a487f27dabce295255/687474703a2f2f706f7365722e707567782e6f72672f6972706370726f2f74657374637275642f646f776e6c6f616473)](https://packagist.org/packages/irpcpro/testcrud) [![Latest Unstable Version](https://camo.githubusercontent.com/d32328d0986db3abef76a373a43078ec11349eec2bcfd92ecd831a047198095d/687474703a2f2f706f7365722e707567782e6f72672f6972706370726f2f74657374637275642f762f756e737461626c65)](https://packagist.org/packages/irpcpro/testcrud) [![License](https://camo.githubusercontent.com/f80bbf49518e1ff2aadcc10797acbbb34f7c30fe3f5b898de03fb3d6be6015ea/687474703a2f2f706f7365722e707567782e6f72672f6972706370726f2f74657374637275642f6c6963656e7365)](https://packagist.org/packages/irpcpro/testcrud) [![PHP Version Require](https://camo.githubusercontent.com/a3b5d47180207e534622a38c10bc96b6baf36244365777e180b8bfe6472d3ea2/687474703a2f2f706f7365722e707567782e6f72672f6972706370726f2f74657374637275642f726571756972652f706870)](https://packagist.org/packages/irpcpro/testcrud)

+ Installation
--------------

[](#-installation)

Install this project via Composer:

```
composer create-project irpcpro/testcrud

```

+ Requirements
--------------

[](#-requirements)

- PHP: `^8.1`
- mongodb/laravel-mongodb: `^4.3`
- tymon/jwt-auth: `^2.1`
- Redis Driver (windows): `v4.2.1`
- MongoDB (windows): `7.2.5`

+ MongoDB Installation &amp; Configuration
------------------------------------------

[](#-mongodb-installation--configuration)

### installing MongoDB

[](#installing-mongodb)

- first you need to install the `MongoDB 7.2.5` for windows.
- after installing, you have to insert your DB connection to the `.env` file. to connect the project to the database.

### Download MongoDB Extension .dll file

[](#download-mongodb-extension-dll-file)

- next step, you have to install the Ext of the MongoDB for PHP and enable it through the `php.ini` file.
- for downloading, go to the packages PHP official website, and base on your windows, download the version of the `.dll` which is compatible with your windows and the PHP version which is installed on your PC.
- [MongoDB PHP Package (https://pecl.php.net/package/mongodb)](https://pecl.php.net/package/mongodb)

### Install the extension

[](#install-the-extension)

- 1- go to your PHP folders where you've installed. (for finding the path of the PHP file, execute this command on CommandPrompt: `where php`)
- go to this path and copy the `php_mongodb.dll`

```
{drive}:\php\php-{version}\ext

```

- next step, you have to add the extension name to `php.ini` file. go to this path and open the `php.ini` file with `notepad`:

```
{drive}:\php\php-{version}\

```

- in the part of the `Dynamic Extensions` (you can search it) add this command and save the file and restart your PHP server

```
..
..
extension=mongodb

```

- you can check in the terminal to see if it is installed. open your CommandPrompt and run this command :

```
> php -m | find "mongo"

```

- the output should be `mongodb`
- or just execute this code via PHP :

```

```

### config Replica Set and run the database

[](#config-replica-set-and-run-the-database)

- first open the `CommandPrompt` as administrator and run this command to start the Replica Set

```
mongod --dbpath "C:\data\db" --logpath "C:\data\log\mongod.log" --replSet "rs0"

```

- now, open another `CommandPrompt` as administrator and run this command to enter to the MongoDB environment

```
mongo

```

- now you can initiate the Replica and see the status of this with these two commands:

```
> rs.initiate()

> rs.status()

```

### Debugging

[](#debugging)

- if you have a problem for running Replica Set and you face a problem like this :

```
> rs.initiate()
{
        "ok" : 0,
        "errmsg" : "This node was not started with the replSet option",
        "code" : 76,
        "codeName" : "NoReplicationEnabled"
}

```

- it's because you're port of the MongoDB is reserved. and you have to stop the process which is run on the port of `27017`

### Killing the port

[](#killing-the-port)

- 1- Open the `CommandPrompt` as administrator.
- 2- run this command: `> netstat -aon | find "27017"`.
- 3- then you see something like this :

```
TCP   127.0.0.1:27017   0.0.0.0:0   LISTENING   13936

```

- 4- the `13936` is the `PID` that you have to kill it.
- 5- next step, run this command to abort this process:

```
taskkill /pid {PID} /f

```

like :

```
taskkill /pid 13936 /f

```

+ Redis Installation &amp; Configuration
----------------------------------------

[](#-redis-installation--configuration)

### Installing Redis

[](#installing-redis)

- installing Redis v4.2.1 for windows. you can download the release version from the Redis Github
- [Redis GitHub (https://github.com/redis-windows/redis-windows)](https://github.com/redis-windows/redis-windows)
- after downloading, you have to run 2 service. first run the `redis-server.exe` and next run the `redis-cli.exe`
- your redis driver is running

### Install Redis PHP Extension

[](#install-redis-php-extension)

- for downloading, go to the packages PHP official website, and base on your windows, download the version of the `.dll` which is compatible with your windows and the PHP version which is installed on your PC.
- [Redis PHP Package (https://pecl.php.net/package/redis)](https://pecl.php.net/package/redis)

### Install the extension

[](#install-the-extension-1)

- 1- go to your PHP folders where you've intsalled. (for finding the path of the PHP file, execute this command on CommandPrompt: `where php`)
- go to this path and copy the `php_redis.dll`

```
{drive}:\php\php-{version}\ext

```

- next step, you have to add the extension name to `php.ini` file. go to this path and open the `php.ini` file with `notepad`:

```
{drive}:\php\php-{version}\

```

- in the part of the `Dynamic Extensions` (you can search it) add this command and save the file and restart your PHP server`

```
..
..
extension=redis

```

- you can check in the terminal to see if it is installed. open your CommandPrompt and run this command :
- `php -m | find "redis"`
- the output should be `redis`
- or just execute this code via PHP :
- ``

### changing the cache driver

[](#changing-the-cache-driver)

- for chaning the `Cache Driver` of the project, if you don't have Redis Driver on your system, open the `.env` file and change the `CACHE_DRIVER` to `file` like this :
- `CACHE_DRIVER=file`
- also you can set it with Redis
- `CACHE_DRIVER=redis`

+ Postman Collection &amp; Environment
--------------------------------------

[](#-postman-collection--environment)

- there are the Postman Collection and Environment for importing.
- collections are available on `DEVELOPMENT` folder
- `Collection => DEVELOPMENT/CRUD.postman_collection.json`
- `Environment => DEVELOPMENT/CRUD.postman_environment.json`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

2

Last Release

715d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e932c40bdc4b3ccccbda72828207fb9f90c588517cd1619db52ee52162c8d2a?d=identicon)[irpcpro](/maintainers/irpcpro)

---

Top Contributors

[![irpcpro](https://avatars.githubusercontent.com/u/35578127?v=4)](https://github.com/irpcpro "irpcpro (44 commits)")

---

Tags

testtestcrud

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/irpcpro-testcrud/health.svg)

```
[![Health](https://phpackages.com/badges/irpcpro-testcrud/health.svg)](https://phpackages.com/packages/irpcpro-testcrud)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[php-coveralls/php-coveralls

PHP client library for Coveralls API

51413.7M3.4k](/packages/php-coveralls-php-coveralls)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)

PHPackages © 2026

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