PHPackages                             imrancse94/grocery - 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. imrancse94/grocery

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

imrancse94/grocery
==================

This is test library

1.1.0(1y ago)016MITVue

Since Jul 4Pushed 1y ago1 watchersCompare

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

READMEChangelog (8)DependenciesVersions (9)Used By (0)

Installation Instructions
=========================

[](#installation-instructions)

1. `composer require imrancse94/grocery`
2. `php artisan vendor:publish --tag=grocery`
3. Need to install vue js `npm i vue@latest vue-router yup clsx pinia sweetalert2 tailwind-merge vee-validate @vitejs/plugin-vue`
4. Need to configure vue js with vite `'resources/js/grocery/app.js', 'resources/js/grocery/grocery.css'`add these line into vite.config.js file then import `@vitejs/plugin-vue` and include `vue()` under `plugins` like below image
5. ```
     import { defineConfig } from 'vite';
     import laravel from 'laravel-vite-plugin';
     import vue from '@vitejs/plugin-vue';
     export default defineConfig({
         plugins: [
             vue(),
             laravel({
                 input: [
                     'resources/css/app.css',
                     'resources/js/app.js',
                     'resources/js/grocery/app.js',
                     'resources/js/grocery/grocery.css'
                 ],
                 refresh: true,
            }),
         ],
     });

    ```
6. Install tailwindcss `npm install -D tailwindcss postcss autoprefixer && npx tailwindcss init -p` and add necessary configuration into `tailwind.config.js` like below

    ```
    export default {
    content: [
    "./resources/**/*.blade.php",
    "./resources/**/*.js",
    "./resources/**/*.vue"

            ],
            theme: {
                darkMode: 'class',
                extend: {
                    strokeWidth: {
                        '3': '3',
                    }
                }
            },
             plugins: [],
        }

    ```
7. Add 4 variables in `.env` file

    ```
       VITE_GOOGLE_RECAPTCHA_KEY=""
       GOOGLE_RECAPTCHA_SECRET=""
       ADMIN_EMAIL="user@admin.com"
       DB_CONNECTION=pgsql

    ```
8. `php artisan config:cache`
9. `php artisan migrate`
10. `php artisan db:seed --class="Imrancse94\Grocery\database\seeders\DatabaseSeeder"`
11. After successfully installation run `php artisan serve` and visit `http:///grocery`

### Note:

[](#note)

You can check the repo [https://github.com/imrancse94/demo-pkg-test.git](https://test.imranwebs.dev/grocery)I have installed the package in a fresh laravel project and added one feature test `php artisan test --filter=PreOrderTest`

**Live url**

**The advantage of this package is that you can customize UI as per as your requirement**

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

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

677d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b73abfa9280ef9912bf1679661af2f33ccf605b447a8be99978d2cd9a68ed9a?d=identicon)[imrancse94](/maintainers/imrancse94)

---

Top Contributors

[![imrancse94](https://avatars.githubusercontent.com/u/27916046?v=4)](https://github.com/imrancse94 "imrancse94 (11 commits)")

### Embed Badge

![Health badge](/badges/imrancse94-grocery/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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