About
About Pckg
Pckg framework is perfect for building everything. Really. You can build simple website, api webservice, shop or anything that needs to be accessable from internet.
Features
PHP 8.0 Framework with ORM, Migrations, Auth, Queue and I18n modules on the backend - pckg/framework
Webpack with VueJS ecosystem integration on the frontend - pckg-app/frontend and pckg-app/frontend-dev
Plug'n'play Docker images for Dev and Prod environments - pckg/docker-images
CI & CD pipelines (Github Workflows) -
./github/workflows/
PHP Cloc, Stan, CS, Codeception and Mocha -
composer.json
andpackage.json
Installation
The shortest, quickes and easiest way to start with development in pckg enviroment is installation of skeleton
$ composer create-project pckg/skeleton . dev-master --prefer-dist
You should also install frontend dependencies.
npm install
# or
pnpm i
# or
yarn install
All empty directories and symlinks are then created with internal command.
$ php console project:init
You can start with development after app creation.
$ php console app:create
Optionally, you can initialize git repository, remote and commit initial changes.
$ git init .
$ git remote add origin git@github.com:foo/bar.git
$ commit -m “Initial commit”
Directory structure
vendor
,components
andnode_modules
- dependency managers directoriesconfig
- root project configurationwww
- public directorystorage
- directory for framework, cache, uploads, tmp and other filesapp/X/config
- app configurationapp/X/src
- app source files
Concept
Now that you've created your app, continue with the Concept section to learn more about the concepts and request lifecycle.
Versioning
master
- PHP v7.4next-8.0
- PHP v8.0next-8.1
- PHP v8.1next-8.2
- PHP v8.2main- PHP v8.3next- PHP v9.0
Last updated
Was this helpful?