framework
framework copied to clipboard
High-Performance PHP Framework
Usage: ```html ``` Inside of the `ns:tag`: ```php @if(injected('one) && (inject('one') == inject('two')) {...} ```
If I put something like ``` ``` in my stempler templates, it will fail with `Directive not parsed` exception. The solution would be suppressing it like `@@^` which seems to...
instead of ```json { "filter": { "reviewed": true, "status": "active" }, "sort": { "newest": 1, "countReviews": -1 }, "paginate": { "page": 3 } } ``` read from ```json { "reviewed":...
For convenience, we can add several most common filters as `ILike` for PostgreSQL (and many others). This will also require a new query writer
### Description In case when you need using default `search` filter in DataGrid by nullable field I've detected that Filter uses INNER JOIN on building Select Query. If values are...
Currenly, GET requests with `Content-Type: application/json` will throw exception because `JsonPayloadMiddleware` tries to decode its empty body. I think, middleware should fall back to empty arrays in such cases. Correction:...
### Demo code: ```php public function index(Validation\ValidationInterface $validation) { $validator = $validation->validate( $this->request->data->all(), [ 'name' => 'string', 'age' => 'int', 'birthday' => 'datetime::valid', 'subscribe' => 'bool', "balance" => 'double' ]...
### Description In case when you need sorting in DataGrid by nullable field I've detected that Sorter uses INNER JOIN on building Select Query. If values are nullable this moment...
Filters support `GETTERS` and `SETTERS`, but both are practically same because they are called before the validation. A useful feature for filters would be actually _filtering_ or probably _casting_ data...