nfouka / lightframework
A Light Framework Builder
Installs: 514 126
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 8
Open Issues: 2
Type:project
Requires
- symfony/dependency-injection: ^5.1
- symfony/dotenv: ^5.1
- symfony/event-dispatcher: ^5.1
- symfony/http-foundation: ^5.1
- symfony/http-kernel: ^5.1
- symfony/routing: ^5.1
Requires (Dev)
- filp/whoops: ^2.7
- phpunit/phpunit: ^7
- symfony/var-dumper: ^5.1
This package is auto-updated.
Last update: 2021-04-20 15:54:53 UTC
README
PHP Version > 7.2 Light Framework based on Symfony 5 component
RUN Server
php -S localhost:8000
or
symfony server:start --port=4321 --passthru=front.php
disable/enable xdebug
php -dxdebug.remote_enable=1 -S 127.0.0.1:8888 -t web/ -c /etc/php/7.4/cli/php.ini
Step 1: Authenticate
$ cat ~/GH_TOKEN.txt | docker login docker.pkg.github.com -u nfouka --password-stdin
Step 2: Tag
$ docker tag IMAGE_ID docker.pkg.github.com/nfouka/php_light_fmk/IMAGE_NAME:VERSION
Step 3: Publish
$ docker push docker.pkg.github.com/nfouka/php_light_fmk/IMAGE_NAME:VERSION
## DEMO
URL : https://127.0.0.1:4322/is_leap_year/2020
REFERENCE DOCUMENTATION
Create framework with symfony component
# Travis Build