Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framework V2 #102

Merged
merged 90 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
e817592
adapters and refactor request and response
lohanidamodar Jul 6, 2023
ee75d8a
Merge remote-tracking branch 'origin/feat-routing-v2' into feat-v2
lohanidamodar Jul 11, 2023
02006b2
update test and fix
lohanidamodar Jul 11, 2023
151434c
fix lint
lohanidamodar Jul 11, 2023
af83713
fix tests
lohanidamodar Jul 11, 2023
4260458
fixes
lohanidamodar Jul 11, 2023
4355dfa
fix param reference
lohanidamodar Jul 11, 2023
29909da
downgrade symfony console
lohanidamodar Jul 11, 2023
63121c8
downgrade phpbench
lohanidamodar Jul 11, 2023
b6d83d5
remove leftover code
lohanidamodar Jul 11, 2023
9fbb075
move namespace
lohanidamodar Jul 11, 2023
f23bbe8
fix formatting
lohanidamodar Jul 11, 2023
45beee6
update constructor
lohanidamodar Jul 11, 2023
d8350d1
Update src/Adapter/Swoole/Server.php
lohanidamodar Jul 11, 2023
415a236
Merge branch 'feat-v2' of https://github.com/utopia-php/framework int…
lohanidamodar Jul 11, 2023
146ae35
fix test
lohanidamodar Jul 11, 2023
4eeddf7
update readme
lohanidamodar Jul 11, 2023
803dddc
file loading support in servers
lohanidamodar Jul 11, 2023
1876af8
fix and update test for both server adapters
lohanidamodar Jul 11, 2023
cbe0901
fix test flow
lohanidamodar Jul 12, 2023
c2e70ab
fix parameter name
lohanidamodar Jul 12, 2023
136c318
Update src/Adapter.php
lohanidamodar Jul 12, 2023
a3bdb49
Update src/Adapter.php
lohanidamodar Jul 12, 2023
ab04d15
update dockerfile name
lohanidamodar Jul 12, 2023
8b448f6
update readme
lohanidamodar Jul 12, 2023
eaf63bd
abstract away app start
lohanidamodar Jul 12, 2023
bd9ff87
rename dockerfile
lohanidamodar Jul 12, 2023
c8de4cc
rename App -> Http
lohanidamodar Jul 12, 2023
644687b
fix formatting
lohanidamodar Jul 12, 2023
4bcf458
update namespace
lohanidamodar Jul 12, 2023
31bd350
static file handling
lohanidamodar Jul 12, 2023
97f9320
fix formatting
lohanidamodar Jul 12, 2023
dc96765
upate php version for test - dev dependencies now require 8.1
lohanidamodar Jul 13, 2023
73d8f0b
more server related callbacks
lohanidamodar Jul 13, 2023
a912fab
start hook
lohanidamodar Jul 13, 2023
ab4544a
worker start hooks
lohanidamodar Jul 13, 2023
db4ae13
fix setting resource
lohanidamodar Jul 13, 2023
4eb0583
fix reset
lohanidamodar Jul 16, 2023
5a6d171
swoole beforeShutdown callback
lohanidamodar Jul 18, 2023
22bd6d6
support request hooks
lohanidamodar Jul 18, 2023
f5a483a
add getter for swoole internal request
lohanidamodar Jul 18, 2023
0e67327
getter for swoole response
lohanidamodar Jul 18, 2023
c2cc0f2
Merge remote-tracking branch 'origin/feat-routing-v2' into feat-v2
lohanidamodar Jul 20, 2023
552bccd
get fresh resource each time by default
lohanidamodar Jul 20, 2023
50d4cd5
enable context
lohanidamodar Aug 6, 2023
c0b5d73
fresh is now false by default
lohanidamodar Aug 6, 2023
33698fc
fix resource for context null
lohanidamodar Aug 6, 2023
cd3c30a
unused code
lohanidamodar Aug 6, 2023
0e4281d
add swoole test
lohanidamodar Aug 6, 2023
0f69480
update tests
lohanidamodar Aug 6, 2023
6dcef9a
fix test with resource reset
lohanidamodar Aug 6, 2023
242a20f
fix lint
lohanidamodar Aug 6, 2023
be16910
Merge remote-tracking branch 'origin' into feat-v2
lohanidamodar Aug 6, 2023
54074b9
set a default context and make context string
lohanidamodar Aug 6, 2023
11488b1
make utopia default context
lohanidamodar Aug 8, 2023
d2909e7
upgrade callback
lohanidamodar Aug 8, 2023
52c1a06
fix callback reset type
lohanidamodar Aug 8, 2023
7466616
Merge branch 'master' of https://github.com/utopia-php/framework into…
lohanidamodar Aug 9, 2023
b7ff4de
fix check and lint
lohanidamodar Aug 9, 2023
1105527
fixes after merge
lohanidamodar Aug 9, 2023
f3cb041
update missing resource
lohanidamodar Aug 10, 2023
daba6a7
Merge remote-tracking branch 'origin/master' into feat-v2
lohanidamodar Sep 7, 2023
d714fcb
remove view from framework
lohanidamodar Sep 10, 2023
6c8ffb0
Fix Swoole coroutine http server
Meldiron Oct 2, 2023
a4916b4
Disable forced type on onRequest
Meldiron Oct 2, 2023
69b83a3
Add route resource
Meldiron Oct 2, 2023
2213a3c
Fix tests
Meldiron Oct 3, 2023
96e1f58
Tests fix
Meldiron Oct 3, 2023
c9ea90e
Add swoole resources
Meldiron Oct 3, 2023
e34ed9c
Add default context to getResources
Meldiron Oct 4, 2023
c68f74e
Fix memory leak
Meldiron Oct 11, 2023
a73f0a0
Linter fix
Meldiron Oct 16, 2023
7405c1f
Improve Assoc validator with length param
Meldiron Oct 17, 2023
55792e0
Add multiple validator
vermakhushboo Dec 27, 2023
d81dd2a
Merge pull request #109 from utopia-php/fix-v2-swoole-coroutines
Meldiron Jan 3, 2024
399c89e
Merge remote-tracking branch 'origin/master' into feat-v2
Meldiron Jan 3, 2024
dff85bd
CI/CD fixes
Meldiron Jan 3, 2024
e44076b
Update README
Meldiron Jan 3, 2024
8dfe731
Auto-add context to swoole
Meldiron Jan 3, 2024
6cd3232
Update swoole README
Meldiron Jan 3, 2024
ceae30f
Improve readme, add example
Meldiron Jan 3, 2024
3ba0cd1
Grammar fixes
Meldiron Jan 3, 2024
ecf9791
Update README.md
Meldiron Jan 3, 2024
569428c
Update README.md
Meldiron Jan 3, 2024
f5e2ac0
Add fpm resources
Meldiron Jan 3, 2024
8ef5482
Fix formatting
Meldiron Jan 3, 2024
23dedb9
Merge pull request #113 from utopia-php/feat-add-multiple-validator-t…
eldadfux Jan 3, 2024
d8ef76a
PR review changes
Meldiron Jan 4, 2024
d5e2929
Improve swoole constructor
Meldiron Jan 4, 2024
ee4fc6d
Remove worker concept
Meldiron Jan 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
php-version: '8.0'

- name: Install dependencies
run: composer install --prefer-dist
run: composer install --prefer-dist --ignore-platform-reqs

- name: Run Benchmarks
run: composer bench -- --progress=plain
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
php-version: '8.0'

- name: Install dependencies
run: composer install --prefer-dist
run: composer install --prefer-dist --ignore-platform-reqs

- name: Run Linter
run: composer lint
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
"bench": "vendor/bin/phpbench run --report=benchmark"
},
"require": {
"php": ">=8.0"
"php": ">=8.0",
"ext-swoole": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5.25",
"laravel/pint": "^1.2",
"swoole/ide-helper": "4.8.3",
"phpstan/phpstan": "^1.10",
"phpbench/phpbench": "^1.2"
}
Expand Down
Loading