{"id":21569342,"url":"https://github.com/torfs-ict/lando-symfony","last_synced_at":"2025-04-10T14:06:30.807Z","repository":{"id":57071957,"uuid":"149436252","full_name":"torfs-ict/lando-symfony","owner":"torfs-ict","description":"Lando development environment for Symfony","archived":false,"fork":false,"pushed_at":"2018-10-26T06:54:12.000Z","size":69,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T12:47:51.803Z","etag":null,"topics":["blackfire","development","devops","lando","local","php","symfony"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/torfs-ict.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-19T10:52:57.000Z","updated_at":"2024-11-07T19:01:36.000Z","dependencies_parsed_at":"2022-08-24T14:54:33.047Z","dependency_job_id":null,"html_url":"https://github.com/torfs-ict/lando-symfony","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfs-ict%2Flando-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfs-ict%2Flando-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfs-ict%2Flando-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torfs-ict%2Flando-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torfs-ict","download_url":"https://codeload.github.com/torfs-ict/lando-symfony/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248231891,"owners_count":21069422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blackfire","development","devops","lando","local","php","symfony"],"created_at":"2024-11-24T11:09:12.999Z","updated_at":"2025-04-10T14:06:30.760Z","avatar_url":"https://github.com/torfs-ict.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lando environment builder\n\nThis [composer](https://getcomposer.org) package allows you to easily configure\na [Lando](https://docs.devwithlando.io) development environment for\n[Symfony](https://symfony.com) projects.\n\nInstead of having to copy `.lando.yml` for every project, you can start with a\nclean `lando.yml` file with only a few required settings. Using the builder you\ncan then generate the full `.lando.yml` file which will actually be used to spin\nup your development environment.\n\n## Development environment info\n\n### Included services\n\n1. Nginx webserver\n2. PHP 7.1 (Xdebug ready)\n3. MySQL database\n4. Node.js container\n5. Blackfire profiler\n6. phpMyAdmin\n7. ELK stack\n8. Mailhog\n9. Memcached\n10. Headless chrome\n11. Unoconv\n12. PDFtk\n\n### Included Lando tooling\n\n- `sf`: Run Symfony console commands\n  - target: PHP\n  - alias for: `$ php bin/console`\n  - example: `$ lando sf about`\n- `diff`: Generate a database migration by comparing your current database to your mapping information\n  - target: PHP\n  - alias for: `$ php bin/console doctrine:migrations:diff`\n  - example: `$ lando diff`\n- `migrate`: Execute a database migration to a specified version or the latest available version\n  - target: PHP\n  - alias for: `$ php bin/console doctrine:migrations:migrate`\n  - example: `$ lando migrate prev`\n- `cache`: Clears the Symfony cache\n  - target: PHP\n  - alias for: `$ php bin/console cache:clear`\n  - example: `$ lando cache`\n- `warmup`: Warms up an empty cache\n  - target: PHP\n  - alias for: `$ php bin/console cache:warmup`\n  - example: `$ lando warmup`\n- `blackfire`: Profile a **Symfony console command** using blackfire\n  - target: PHP\n  - alias for: `$ blackfire run php bin/console`\n  - example: `$ lando blackfire about`\n- `yarn`: Run the Yarn package manager\n  - target: Node.js\n  - alias for: `$ yarn`\n  - example: `$ lando yarn add bootstrap`\n- `encore`: Runs Webpack Encore\n  - target: Node.js\n  - alias for: `$ node_modules/.bin/encore`\n  - example: `$ lando encore dev --watch`\n\n## Usage\n\n### Installing\n\nInstall the package with composer, and make sure to have a `.env` file in\nyour project root containing all variables defined in [.env.dist](samples/.env.dist).\n\n```bash\n$ composer require --dev torfs-ict/lando-symfony\n```\n\n### Setting up\n\nA sample `lando.yml` file can be found in [lando.yml.dist](samples/lando.yml.dist).\nIf this file doesn't exist, you can have the builder create one for you.\n\n```yaml\nname: my-project\n\nproxy:\n  nginx:\n    - \"my-project.dev.local.torfs.org\"\n  mailhog:\n    - \"my-project.mhg.local.torfs.org\"\n  phpmyadmin:\n    - \"my-project.pma.local.torfs.org\"\n  elk:\n    - 'my-project.elk.local.torfs.org:5601'\n\ntooling:\n  worker:\n    service: appserver\n    description: Runs the background worker broker\n    cmd: php bin/console app:worker --no-debug -vvv\n```\n\n### Required settings\n\nThe only mandatory settings are the project `name` and `proxy` domains. Should your\nproject have removed a pre-defined service, you should omit this from the `proxy`\nconfiguration as well.\n\n### Customizing the environment\n\nWhen building the environment, your `lando.yml` file will be merged with the\ndefault configuration file, so you can customize as you see fit.\n\n### Removing services\n\nShould you want to remove a service, you can simple set it to `null` in your\n`lando.yml` file. The example below illustrates how to remove the `elk` service.\n\nDo note that if you remove a service which requires a proxy domain, you need to\nremote the service from the `proxy` settings as well.\n\n```yaml\nname: my-project\n\nproxy:\n  nginx:\n    - \"my-project.dev.local.torfs.org\"\n  mailhog:\n    - \"my-project.mhg.local.torfs.org\"\n  phpmyadmin:\n    - \"my-project.pma.local.torfs.org\"\n\nservices:\n  elk: ~\n```\n\n### Building the environment\n\nOnce your `lando.yml` and `.env` files are in place (or at least the `.env` file)\nyou can generate the actual `.lando.yml` file by running the build script.\n\n```bash\n$ vendor/bin/lando\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorfs-ict%2Flando-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorfs-ict%2Flando-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorfs-ict%2Flando-symfony/lists"}