Download the PHP package amohamed/autoportserve without Composer
On this page you can find all versions of the php package amohamed/autoportserve. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amohamed/autoportserve
More information about amohamed/autoportserve
Files in amohamed/autoportserve
Package autoportserve
Short Description A Laravel package that provides an enhanced serve command.
License MIT
Informations about the package autoportserve
AutoPortServe
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
You can install the package via composer:
Register the service provider in your config/app.php
file:
Usage
Once you have installed the package, you can use the serve:dynamic
artisan command to start your Laravel server on an available port:
The command will print out a message with the URL where your application is being served, such as:
Features
1. Dynamic port selection for Laravel server starting from 8000
2. Runs npm development server in parallel
3. Easy to use, integrates seamlessly with the native php artisan serve command
4. Perfect for full-stack developers working on multiple Laravel projects
Testing
You can run the tests with:
Contributing
Contributions are welcome! Please feel free to submit a pull request.
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.