Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],| ENVIRONMENT=dev | |
| OTHER_CONFIG=BLAH |
| <?php | |
| namespace App\Filter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
| use ApiPlatform\Core\Exception\InvalidArgumentException; | |
| use Doctrine\ORM\QueryBuilder; |
| <?php | |
| declare(strict_types=1); | |
| namespace App\Filter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
| use ApiPlatform\Core\Exception\InvalidArgumentException; | |
| use App\Entity\Term; |
| FROM php:7.4-cli-alpine | |
| # Install xdebug | |
| RUN apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS \ | |
| && pecl install xdebug \ | |
| && docker-php-ext-enable xdebug \ | |
| && apk del .phpize-deps | |
| WORKDIR /var/www/html |
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"| # Source: https://gist.github.com/a0a7ff04a7e22409cdfd8b466edb4e48 | |
| ################################################# | |
| # Argo Events # | |
| # Event-Based Dependency Manager for Kubernetes # | |
| # https://youtu.be/sUPkGChvD54 # | |
| ################################################# | |
| ######### | |
| # Setup # |
Here's a way that doesn't require any additional code to create translated fixtures via alice.
The example works with the single translation table from Gedmo (ext_translations)
but I assume it also works in a multi tables model.
My entity:
#src/Entity/Article.php| # Source: https://gist.github.com/48f44d3974db698d3127f52b6e7cd0d3 | |
| ########################################################### | |
| # Automation of Everything # | |
| # How To Combine Argo Events, Workflows, CD, and Rollouts # | |
| # https://youtu.be/XNXJtxkUKeY # | |
| ########################################################### | |
| # Requirements: | |
| # - k8s v1.19+ cluster with nginx Ingress |
| version: "3.3" | |
| services: | |
| vault: | |
| image: vault | |
| container_name: vault-dev | |
| ports: | |
| - '8200:8200' | |
| restart: always | |
| volumes: | |
| - ./vault/config:/vault/config |