{"id":16350427,"url":"https://github.com/eusonlito/crypto","last_synced_at":"2025-08-22T20:04:09.454Z","repository":{"id":41285016,"uuid":"424367879","full_name":"eusonlito/crypto","owner":"eusonlito","description":"Plataforma multiusuario para gestión de cryptos en PHP 8.3 y Laravel 10","archived":false,"fork":false,"pushed_at":"2025-01-23T15:46:50.000Z","size":7446,"stargazers_count":35,"open_issues_count":0,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-14T01:22:25.728Z","etag":null,"topics":["binance","bitcoin","btc","coinbase-pro","crypto","laravel","php"],"latest_commit_sha":null,"homepage":"","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/eusonlito.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-03T20:17:25.000Z","updated_at":"2025-02-20T06:37:19.000Z","dependencies_parsed_at":"2024-03-04T10:52:58.760Z","dependency_job_id":"a2684a69-8caa-4626-8c69-780caa6f22a1","html_url":"https://github.com/eusonlito/crypto","commit_stats":{"total_commits":454,"total_committers":2,"mean_commits":227.0,"dds":"0.0022026431718061845","last_synced_commit":"44a8d51845f9f8805d565736f3e46587e7719afa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fcrypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fcrypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fcrypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fcrypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eusonlito","download_url":"https://codeload.github.com/eusonlito/crypto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822312,"owners_count":20353496,"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":["binance","bitcoin","btc","coinbase-pro","crypto","laravel","php"],"created_at":"2024-10-11T01:04:56.723Z","updated_at":"2025-03-16T15:31:33.136Z","avatar_url":"https://github.com/eusonlito.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Requisitos\n\n* PHP \u003e= 8.2\n* Apache/nginx\n* MySQL 8.0\n\n# Instalación\n\n```bash\n# Creamos la base de datos\nmysql -e 'CREATE DATABASE `crypto` character set UTF8mb4 collate utf8mb4_bin;'\n\n# Clonamos el repositorio\ngit clone https://github.com/eusonlito/crypto.git\n\ncd crypto\n\n# Duplicamos la configuración genérica como .env\ncp .env.example .env\n\n# Editamos los datos necesarios para la instalación local\nvi .env\n\n# Instalamos las dependencias\n./composer install --no-scripts --no-dev\n./composer install --no-dev\n\n# Generamos la clave de cifrado\nphp artisan key:generate\n\n# Lanzamos las migraciones\nphp artisan migrate\nphp artisan db:seed --class=Database\\\\Seeders\\\\Database\n\n# Desplegamos\n./composer deploy\n````\n\n# Desactivación de plataformas\n\nEl sistema genera unos 18 millones de valores de cambio cada 15 días, con lo cual necesitarás una buena máquina para soportar eso.\n\nSi deseas desactivar cualquier plataforma puedes hacerlo indicando el campo `enabled` a `false` de la tabla `platform`, tu servidor te lo agradecerá.\n\n# Carga de datos inicial\n\n```bash\nphp artisan currency:sync:all\nphp artisan product:sync:all\nphp artisan product:fiat:all\nphp artisan exchange:sync:all\n```\n\n# Procesos en background\n\n```bash\nnohup php artisan schedule:work \u003e storage/logs/schedule-work.log 2\u003e\u00261 \u0026\n\n# Binance\nnohup php artisan exchange:sync:socket --platform_id=1 \u003e storage/logs/exchange-sync-socket-1.log 2\u003e\u00261 \u0026\n\n# Coinbase PRO\nnohup php artisan exchange:ticker:socket --platform_id=2 \u003e storage/logs/exchange-ticker-socket-2.log 2\u003e\u00261 \u0026\n\n# KuCoin\nnohup php artisan exchange:ticker:socket --platform_id=3 \u003e storage/logs/exchange-ticker-socket-3.log 2\u003e\u00261 \u0026\n```\n\n# Actualización\n\n```bash\n./composer deploy\n```\n\n# Capturas\n\n![crypto-04](https://user-images.githubusercontent.com/644551/149986612-6303a6fd-9aec-426e-8499-37a0e7e011fe.png)\n![crypto-03](https://user-images.githubusercontent.com/644551/149986613-61e64584-609b-4d81-afad-9445fabfe28a.png)\n![crypto-02](https://user-images.githubusercontent.com/644551/149986615-5170bac2-4e3b-4ac3-b044-f88eb185f1a3.png)\n![crypto-01](https://user-images.githubusercontent.com/644551/149986618-bd4927bd-ae63-45fd-917e-4e79c3532a5b.png)\n\nListo!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feusonlito%2Fcrypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feusonlito%2Fcrypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feusonlito%2Fcrypto/lists"}