Download the PHP package pbaszak/skeleton without Composer
On this page you can find all versions of the php package pbaszak/skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package skeleton
Skeleton
A minimal project that allows you to quickly create a new project based on Symfony
using useful tools: standard-version
, php-cs-fixer
, phpstan
, phpunit
, docker
, xdebug
and my own starting script
. It is ready to support debugging with Visual Studio Code - just look into .env.local ;).
WHY?
Because personally, every time I start a new project, or a library for it, I have to do all this manually. For this, I made application skeletons for different uses: cli
, api
, library
, and bundle
, to speed up and standardize my own work. These skeletons uses this project.
How to start
Create directory for your project, get in (cd {Your directory}
) and run command:
(Everytime) Start local environment using this command:
and remove CHANGELOG.md
(because it's owned by skeleton project. Your project will be have generated CHANGELOG.md
after first release):
and voila! Your local environment is ready to development basic php app with useful tools.
How to use Standard Version
If You don't have node_modules directory run:
First release:
Major
, Minor
, Patch
version update:
Push tags:
Check package.json
for understand what commands do.
How to use PHPStan
Main command:
but, if You need to add errors to ignored:
How to use PHP CS Fixer
How to use XDebug in Visual Studio Code
Create new file in Your project: .vscode/launch.json
Uncomment environments in .env.local
:
Type Ctrl + Shift + D
and run Listen for xDebug
.