0.3.0 • Published 3 years ago

@dieschittigs/contao-dev-server v0.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

npm.io

Contao Dev Server

About

Contao Dev Server is a local development server for Contao 4.x. If you ever worked with Laravel this project aims to be your php artisan serve.

Why not just php -S?

Contao 4 relies heavily on symlinks, the integrated php webserver doesn't like that and bails on some requests. Contao Dev Server is a thin JS wrapper that utilizes http-server for static resources and http-proxy to serve the meat via PHP.

Screenshots

Contao Dev Server serving the Contao backend

npm.io

Symfony profiler and debugging tools are conveniently activated

npm.io

Prerequisites

Installation

Install by entering sudo npm install -g @dieschittigs/contao-dev-server.

Usage

Enter your Contao project or start a new one by using our Yeoman Generator.
Launch by entering contao-dev-server.

Options

--help        Show help  
--version     Show version number  
--host        "127.0.0.1"  
--port        9000  
--rootDir     "./web"  
--production  false (if true: use app.php)  
--config      Add your own php.ini, if needed  
--phpExec     "php"
--phpWorkers  How many PHP workers should be spawned?, default: 5

Licence

ISC © Die Schittigs

0.3.0

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

5 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago