Download the PHP package catpaw/web-starter without Composer
On this page you can find all versions of the php package catpaw/web-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download catpaw/web-starter
More information about catpaw/web-starter
Files in catpaw/web-starter
Package web-starter
Short Description A php CatPaw starter template
License MIT
Homepage https://github.com/tncrazvan/catpaw-web-starter
Informations about the package web-starter
Catpaw Starter
First off, configure your project.
[!NOTE] If you don't have Bun installed in your path, this step will install it for you.
Then load your dependencies.
[!NOTE] You can run
make clean
at any time in order to clean created directories, downloaded dependencies and so on.\ Runningmake clean
will not uninstall Bun.
Watch Mode
Enter Watch Mode with
This mode will run the Vite server and your server with XDebug enabled.\ Each time your make any change to your server source code, the server will restart automatically.
[!NOTE] By default "server source code" means the "src/server" directory.\ You can change this configuration in your make file.
[!NOTE] See section Debugging with VSCode
Development Mode
Enter Development Mode with
This mode will build the Svelte application and run your server with XDebug enabled.\ Unlike Watch Mode, your server will not restart when you make changes to your code.\ This mode is useful for quick debugging.
Production Mode
Enter Production Mode with
This will build your client bundle and run your server without any debuggers or any other extra overhead.
Build
It is possible, but no required, to bundle your program into a single .phar
file with
The building process can be configured inside the build.ini
file.
After building your application, you can simply run it using
The resulting .phar
will include the following directories
src/server
vendor
statics
.build-cache
(created at build time)
It's a portable bundle, you just need to make sure php is installed on whatever machine you're trying to run it on.
Debugging with VSCode
Install xdebug
Configure your .vscode/launch.json
Start debugging.
All versions of web-starter with dependencies
ext-mbstring Version *
ext-pcntl Version *
ext-openssl Version *
ext-zlib Version *
catpaw/catpaw Version ^4.3
smarty/smarty Version ^5.4