PHPackages                             amohamed/autoportserve - 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. amohamed/autoportserve

ActiveLibrary

amohamed/autoportserve
======================

A Laravel package that provides an enhanced serve command.

v1.0.1(3y ago)031MITPHPPHP &gt;=5.6

Since May 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Abdallah-Tah/autoportserve)[ Packagist](https://packagist.org/packages/amohamed/autoportserve)[ RSS](/packages/amohamed-autoportserve/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

AutoPortServe
=============

[](#autoportserve)

About
-----

[](#about)

AutoPortServe is a Laravel package that helps you start your Laravel development server and npm development server on available ports dynamically. This package will automatically scan and find a free port, starting from 8000, for the Laravel server and run the npm development server in parallel. It's a handy tool for full-stack developers who work with multiple Laravel applications and require running npm tasks simultaneously.

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

[](#installation)

You can install the package via composer:

```
composer require amohamed/autoportserve
```

Register the service provider in your `config/app.php` file:

```
'providers' => [
    // ...
    Amohamed\AutoPortServe\AutoPortServeServiceProvider::class,
];
```

Usage
-----

[](#usage)

Once you have installed the package, you can use the `serve:dynamic` artisan command to start your Laravel server on an available port:

```
php artisan serve:dynamic
```

The command will print out a message with the URL where your application is being served, such as:

```
Laravel development server started:

```

Features
--------

[](#features)

###### 1. Dynamic port selection for Laravel server starting from 8000

[](#1-dynamic-port-selection-for-laravel-server-starting-from-8000)

###### 2. Runs npm development server in parallel

[](#2-runs-npm-development-server-in-parallel)

###### 3. Easy to use, integrates seamlessly with the native php artisan serve command

[](#3-easy-to-use-integrates-seamlessly-with-the-native-php-artisan-serve-command)

###### 4. Perfect for full-stack developers working on multiple Laravel projects

[](#4-perfect-for-full-stack-developers-working-on-multiple-laravel-projects)

Testing
-------

[](#testing)

You can run the tests with:

```
vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a pull request.

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

---

**Note:** Be sure to replace any placeholder information with the actual details about your package. For example, you might have a different command to run tests, or you might want to include more detailed information about how to contribute to your package.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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

1096d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a61545d3e749019b5ae58160977437da6b0037203955060fb9829807e22c1b4?d=identicon)[abdallah-tah](/maintainers/abdallah-tah)

---

Top Contributors

[![AbdallahMohamedKAVX](https://avatars.githubusercontent.com/u/173705695?v=4)](https://github.com/AbdallahMohamedKAVX "AbdallahMohamedKAVX (5 commits)")[![Abdallah-Tah](https://avatars.githubusercontent.com/u/96321216?v=4)](https://github.com/Abdallah-Tah "Abdallah-Tah (2 commits)")

### Embed Badge

![Health badge](/badges/amohamed-autoportserve/health.svg)

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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