{"id":20381256,"url":"https://github.com/drago-ex/project","last_synced_at":"2025-08-19T04:37:44.600Z","repository":{"id":56971796,"uuid":"44431939","full_name":"drago-ex/project","owner":"drago-ex","description":":bulb: Basis for new modules projects on Drago Extension (@drago-ex)","archived":false,"fork":false,"pushed_at":"2024-08-31T09:47:13.000Z","size":306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-13T14:34:27.044Z","etag":null,"topics":["nette","project"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drago-ex.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-17T09:54:48.000Z","updated_at":"2024-08-31T09:47:16.000Z","dependencies_parsed_at":"2024-11-13T14:45:39.745Z","dependency_job_id":null,"html_url":"https://github.com/drago-ex/project","commit_stats":{"total_commits":283,"total_committers":2,"mean_commits":141.5,"dds":"0.017667844522968212","last_synced_commit":"c255876e4446428455d053361087e6ac54d80768"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drago-ex%2Fproject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drago-ex%2Fproject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drago-ex%2Fproject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drago-ex%2Fproject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drago-ex","download_url":"https://codeload.github.com/drago-ex/project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224717666,"owners_count":17357917,"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":["nette","project"],"created_at":"2024-11-15T02:12:41.039Z","updated_at":"2025-08-19T04:37:44.581Z","avatar_url":"https://github.com/drago-ex.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Drago Project\r\nBasis for new modules projects on Drago Extension\r\n\r\n[![PHP version](https://badge.fury.io/ph/drago-ex%2Fproject.svg)](https://badge.fury.io/ph/drago-ex%2Fproject)\r\n[![Coding Style](https://github.com/drago-ex/project/actions/workflows/coding-style.yml/badge.svg)](https://github.com/drago-ex/project/actions/workflows/coding-style.yml)\r\n[![CodeFactor](https://www.codefactor.io/repository/github/drago-ex/project/badge)](https://www.codefactor.io/repository/github/drago-ex/project)\r\n\r\n## Technology\r\n- PHP 8.3 or higher\r\n- composer\r\n- docker\r\n- node.js\r\n\r\n## Installation\r\n```bash\r\ncomposer create-project drago-ex/project\r\n```\r\n\r\n## Basic information\r\nBasic package for applications where the basis for Bootstrap, Vite, Docker, Naja is already prepared.\r\nYou can find all commands in `package.json` like running Docker or Vite.\r\n\r\nFirst, run `npm install`\r\n\r\n## Docker\r\nDocker is set to the minimum configuration for running the project.\r\n\r\nIf we want to add, for example, MySQL, we add these lines to the dockerfile:\r\n```dockerfile\r\n# php extensions\r\nRUN docker-php-ext-install mysqli\r\nRUN docker-php-ext-enable mysqli\r\n```\r\n\r\nAnd add these lines to  `docker-compose.yml ` to configure the MySQL server as needed:\r\n```yml\r\n# database\r\ndb:\r\n  image: library/mariadb:latest\r\n  command: --character-set-server=utf8 --collation-server=utf8_unicode_ci\r\n  restart: always\r\n  environment:\r\n    MYSQL_ROOT_PASSWORD: root\r\n    MYSQL_DATABASE: app\r\n    MYSQL_USER: super\r\n    MYSQL_PASSWORD: pass\r\n    volumes:\r\n      - ./docker/mysql/:/var/lib/mysql\r\n    ports:\r\n      - '6033:3306'\r\n```\r\nAs for further configuration on Docker, you can find it in the documentation.\r\n\r\n## If we use database, we can use Entity generation\r\n```\r\ncomposer require drago-ex/generator --dev\r\n```\r\n\r\nUse the command to copy the necessary files: `copy .\\vendor\\drago-ex\\generator\\bin\\* bin`\r\n\r\nThen edit the configuration including the database in `bin/config.neon`\r\n\r\nAnd run the command: `php .\\bin\\generator app:entity`\r\n\r\n## Info\r\nThe project with the database set up in this way is available in the `database-project` branch.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrago-ex%2Fproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrago-ex%2Fproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrago-ex%2Fproject/lists"}