Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yesworld/starter-phalcon5-php8-docker
Simple starter Web-project for PHP Phalcon. Docker: php8.2.4 + xdebug3 + phalcon5.2.1
https://github.com/yesworld/starter-phalcon5-php8-docker
composer docker framework mysql phalcon php php-cs-fixer php8 xdebug
Last synced: 8 days ago
JSON representation
Simple starter Web-project for PHP Phalcon. Docker: php8.2.4 + xdebug3 + phalcon5.2.1
- Host: GitHub
- URL: https://github.com/yesworld/starter-phalcon5-php8-docker
- Owner: yesworld
- License: mit
- Created: 2023-02-15T09:55:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T11:37:22.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T14:38:32.049Z (13 days ago)
- Topics: composer, docker, framework, mysql, phalcon, php, php-cs-fixer, php8, xdebug
- Language: PHP
- Homepage:
- Size: 557 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple starter Web-project for PHP Phalcon
## Description
- 🦅 Phalcon [5.2.1](https://docs.phalcon.io/5.0/en/introduction)
- 🐘 PHP 8.2.4
- 🐛 Xdebug 3
- 🗄 MySql 8
- 🚧 PHPUnit 10### Configuration
⚠️ You need at least 2GB of memory for Docker.to build:
```shell
docker-compose build
```to start:
```shell
docker-compose up
```and go to web 🕸:
```
http://localhost:80
```## PHP Fixer
```
docker exec -it phalcon-php bash -c "vendor/bin/php-cs-fixer fix"
```## Phalcon 5 Autocomplete
⚙️ **Settings > Plugins > Marketplace**Search: _Phalcon 5 Autocomplete_
## Xdebug
> [How to install and configure PHPStorm for Xdebug.](docs/xdebug/INSTALL.md)## PHPUnit - PHPStorm settings
> [Setting PHPStorm](docs/phpunity/SETTING.md)```shell
docker exec -it phalcon-php bash -c "vendor/bin/phpunit tests/Functional"
``````shell
docker exec -it phalcon-php bash -c "vendor/bin/phpunit tests/Units"
```## Troubleshooting with Windows
If you get an error like this when starting Docker.
> [phalcon-php | exec /usr/local/bin/entrypoint.sh: no such file or directory](docs/issues/INDEX.md)