PHPackages                             ghoster/module-outofstockatlast - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ghoster/module-outofstockatlast

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

ghoster/module-outofstockatlast
===============================

Magento 2.4.x module Sort Out Of Stock Product At last the product list

v1.1.8(3w ago)62136.7k↓42.2%15[4 issues](https://github.com/tuyennn/magento2-outofstockatlast/issues)OSL-3.0PHPPHP &gt;=7.4CI passing

Since May 19Pushed 2w ago8 watchersCompare

[ Source](https://github.com/tuyennn/magento2-outofstockatlast)[ Packagist](https://packagist.org/packages/ghoster/module-outofstockatlast)[ Fund](https://www.paypal.me/thinghost)[ GitHub Sponsors](https://github.com/tuyennn)[ RSS](/packages/ghoster-module-outofstockatlast/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (3)Versions (19)Used By (0)

Magento 2.4.x module Sort Out Of Stock Product At last the product list
=======================================================================

[](#magento-24x-module-sort-out-of-stock-product-at-last-the-product-list)

```
composer require ghoster/module-outofstockatlast

```

[![Latest Stable Version](https://camo.githubusercontent.com/0f24d6ff98ee95fdf31e5e856894d64eceea117ac50ae70f6cab730594376706/68747470733a2f2f706f7365722e707567782e6f72672f67686f737465722f6d6f64756c652d6f75746f6673746f636b61746c6173742f76)](https://packagist.org/packages/ghoster/module-outofstockatlast)[![Total Downloads](https://camo.githubusercontent.com/6e45f467d9605a72a00a06109ac29961ccc47733dc76dd7d441fdb27e013354b/68747470733a2f2f706f7365722e707567782e6f72672f67686f737465722f6d6f64756c652d6f75746f6673746f636b61746c6173742f646f776e6c6f616473)](https://packagist.org/packages/ghoster/module-outofstockatlast)[![Latest Unstable Version](https://camo.githubusercontent.com/9d3f559de62c77c809de27708c55cedddcc8ea1893514c33596153053414227c/68747470733a2f2f706f7365722e707567782e6f72672f67686f737465722f6d6f64756c652d6f75746f6673746f636b61746c6173742f762f756e737461626c65)](https://packagist.org/packages/ghoster/module-outofstockatlast)[![License](https://camo.githubusercontent.com/16b5c9da050a5341143d669b3ec101bff432ab44b7c1fa09199f0a666e471388/68747470733a2f2f706f7365722e707567782e6f72672f67686f737465722f6d6f64756c652d6f75746f6673746f636b61746c6173742f6c6963656e7365)](https://packagist.org/packages/ghoster/module-outofstockatlast)[![PHP Version Require](https://camo.githubusercontent.com/5b7606a6a5cc0c8846a3dc2c60bd45e8953a333af896f98971a51fa8bdf0284d/68747470733a2f2f706f7365722e707567782e6f72672f67686f737465722f6d6f64756c652d6f75746f6673746f636b61746c6173742f726571756972652f706870)](https://packagist.org/packages/ghoster/module-outofstockatlast)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/thinghost)[![Codacy Badge](https://camo.githubusercontent.com/e54bda7d5eef59f4e1810b5b6438782ab8e51400d2632390aebe39b02345e9f9/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3633626161633133383962333463386438623130303561303837663866326162)](https://www.codacy.com/gh/tuyennn/magento2-outofstockatlast/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tuyennn/magento2-outofstockatlast&utm_campaign=Badge_Grade)[![Build Status](https://github.com/tuyennn/magento2-outofstockatlast/actions/workflows/coding-standard.yml/badge.svg)](https://github.com/tuyennn/magento2-outofstockatlast/actions/workflows/coding-standard.yml)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

- [Extension on GitHub](https://github.com/tuyennn/magento2-outofstockatlast)
- [Direct download link](https://github.com/tuyennn/magento2-outofstockatlast/tarball/master)

Main Functionalities
--------------------

[](#main-functionalities)

- Sort Out Of Stock Product At last the product list
- Compatibility with `smile/elasticsuite^2.11`
- Firstly `Display Out of Stock Products` from `Stores > Configuration > Catalog > Inventory > Stock Options` must be set `Yes`
- Of course, we are talking about ElasticSearch or OpenSearch. We don't support **old search engine**
- Support GraphQl
- From time to time we remind you **Reindexing after you enable the module**

Compatibility
-------------

[](#compatibility)

Magento Version (Open Source/Commerce)ElasticsearchOpenSearchElasticSuiteSupported**2.0.x**2.x-2.1.xNo ❌**2.1.x**2.x &amp; 5.x-2.3.xNo ❌**2.2.x**5.x &amp; 6.x-2.6.xNo ❌**&lt;2.3.2**5.x &amp; 6.x-2.8.4No ❌**&lt;2.3.5**5.x &amp; 6.x-2.8.xNo ❌**&gt;=2.3.5**6.x &amp; 7.x-2.9.xNo ❌**2.4.0**6.x &amp; 7.x-2.10.1Yes ✔️**&gt;=2.4.1 &amp;&amp; &lt; 2.4.6**6.x &amp; 7.x-2.10.xYes ✔️\*\*&gt;=2.4.6 &amp;&amp; &lt; 2.4.87.x &amp; 8.x1.x &amp; 2.x&gt;=2.11.xYes ✔️**&gt;=2.4.8**-3.x&gt;=2.11.13Yes ✔️Installation
------------

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Zip file

[](#type-1-zip-file)

- Unzip the zip file in `app/code/GhoSter`
- Enable the module by running `php bin/magento module:enable GhoSter_OutOfStockAtLast`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

[](#type-2-composer)

- Make the module available in a composer repository for example:
    - private repository `repo.magento.com`
    - public repository `packagist.org`
    - public GitHub repository as vcs
- Add the composer repository to the configuration by running `composer config repositories.repo.magento.com composer https://repo.magento.com/`
- Install the module composer by running `composer require ghoster/module-outofstockatlast`
- enable the module by running `php bin/magento module:enable GhoSter_OutOfStockAtLast`
- apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

Configuration
-------------

[](#configuration)

- Reindexing after you enable the module

Donation
--------

[](#donation)

If this project help you reduce time to develop, you can give me a cup of beer :)

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.me/thinghost)

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance95

Actively maintained with recent releases

Popularity47

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 97.7% 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 ~135 days

Recently: every ~179 days

Total

15

Last Release

21d ago

PHP version history (8 changes)1.0.0PHP ~7.2.0|~7.3.0|~7.4.0

1.0.1PHP ~7.3.0||~7.4.0

1.0.5PHP ~7.3.0||~7.4.0||~8.0.0||~8.1.0

1.0.6PHP ~7.4.0||~8.0.0||~8.1.0||~8.2.0

1.1.2PHP ~7.4.0||~8.0.0||~8.1.0||~8.2.0||~8.3.0

1.1.4PHP ~7.4.0||~8.0.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0

v1.1.6PHP &gt;=8.1.0

v1.1.7PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/837f2210abfea9f55b4e3400a687b1d2c82477609fad2e7f61c663f25e5337db?d=identicon)[tuyennn](/maintainers/tuyennn)

---

Top Contributors

[![tuyennn](https://avatars.githubusercontent.com/u/4010395?v=4)](https://github.com/tuyennn "tuyennn (84 commits)")[![ryanisn](https://avatars.githubusercontent.com/u/53449841?v=4)](https://github.com/ryanisn "ryanisn (1 commits)")[![TuyenNN5](https://avatars.githubusercontent.com/u/153062427?v=4)](https://github.com/TuyenNN5 "TuyenNN5 (1 commits)")

---

Tags

adobecommerceecommercemagentomagento2magento2-extensionmagento2-moduleoutofstockoutofstockatlast

### Embed Badge

![Health badge](/badges/ghoster-module-outofstockatlast/health.svg)

```
[![Health](https://phpackages.com/badges/ghoster-module-outofstockatlast/health.svg)](https://phpackages.com/packages/ghoster-module-outofstockatlast)
```

###  Alternatives

[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27714.5k4](/packages/nosto-module-nostotagging)[fishpig/magento2-wordpress-integration

Securely integrate WordPress and Magento 2.

83374.7k7](/packages/fishpig-magento2-wordpress-integration)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69362.0k](/packages/run-as-root-magento2-prometheus-exporter)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1861.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1015.1k29](/packages/loki-magento2-components)[mage-os/module-rma

Return Merchandise Authorization

229.1k](/packages/mage-os-module-rma)

PHPackages © 2026

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