twistersfury / phalcon-template
Basic Phalcon Template (For Use With Phalcon Dev Tools)
v1.1.0
2018-12-05 03:46 UTC
Requires
- php: ^7.1
- ext-json: *
- ext-pdo: *
- ext-pdo_mysql: *
- ext-phalcon: ^3.3.0
- monolog/monolog: ~1.6
- swiftmailer/swiftmailer: ^5.2
- twistersfury/phalcon-shared: ^2.0.1
Requires (Dev)
- codeception/c3: 2.*
- codeception/codeception: ^2.4.2
- friendsofphp/php-cs-fixer: v2.12.0
- infection/infection: ^0.11
- phalcon/ide-stubs: ^3.2
- phalcon/incubator: ^3.3.0
- phpmd/phpmd: ~2.0
- phpstan/phpstan: ^0.10.6
- vlucas/phpdotenv: ^2.4
This package is auto-updated.
Last update: 2024-04-05 18:29:30 UTC
README
A basic bootstrap template to get started with Phalcon.
Installation
composer create-project twistersfury/phalcon-template myproject
Template includes
- Docker Image
- Composer
- Codeception
- Infection
- PHPStan
- PHP-CS-Fixer
- Phalcon Shared
- GitLab CI
- Phalcon Dev Tools Compatible Template
- Loader
- Bootstrap
- Multi-Module Application
- Locale
- Themes
Usage Notes
This template is shipped with a pre-built Makefile to use the GNUMake system. For example, make will automatically boot up your docker environment when you run make test
. The common commands are as follows:
make test
- Run Codeception Testingmake clean
- Clean Up Extrasmake wipe
- Full Clean Of Extrasmake analyze
- Run tests and qa checksmake cs-fix
- Run PHP CS Fixermake cs-check
- Run Fixer without fixing.make stop
- Stop Dockermake start
- Start Docker
Docker/X-Debug - OSX
For xdebug to properly connect, either boot docker-compose using the -f ./docker/php/docker-compose.osx.yml
file, or copy the file to docker-compose.override.yml