{"id":20772233,"url":"https://github.com/ericneves/uploadavatar","last_synced_at":"2025-08-03T12:10:51.806Z","repository":{"id":183833743,"uuid":"670833543","full_name":"EricNeves/uploadAvatar","owner":"EricNeves","description":":rocket: Application MVC developed with PHP, OOP, GD, Routes, Mysql (BLOB), Axios (Progress Upload), Fetch and more...","archived":false,"fork":false,"pushed_at":"2023-11-06T19:54:14.000Z","size":433,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T07:26:58.939Z","etag":null,"topics":["async","axios","fetch","gd","mvc","oop","php","upload","upload-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/EricNeves.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}},"created_at":"2023-07-26T00:26:39.000Z","updated_at":"2024-08-02T14:42:22.000Z","dependencies_parsed_at":"2023-11-07T02:43:25.299Z","dependency_job_id":"f6c4f61a-143d-4b2e-aaf2-819cadc63847","html_url":"https://github.com/EricNeves/uploadAvatar","commit_stats":null,"previous_names":["ericneves/uploadavatar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FuploadAvatar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FuploadAvatar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FuploadAvatar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricNeves%2FuploadAvatar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EricNeves","download_url":"https://codeload.github.com/EricNeves/uploadAvatar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243108807,"owners_count":20237754,"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":["async","axios","fetch","gd","mvc","oop","php","upload","upload-php"],"created_at":"2024-11-17T12:19:50.664Z","updated_at":"2025-03-11T20:33:38.422Z","avatar_url":"https://github.com/EricNeves.png","language":"PHP","readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\".github/icon.png\"\u003e\n  \u003cbr\u003e\n    Upload Avatar\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  Upload com redimensionamento de imagens em PHP, arquitetura MVC, progresso de upload, Axios, Fetch API, Mysql, OOP e muito mais.\n\u003c/h4\u003e\n\n\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003eData de criação: Jul 25, 2023\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/last-commit/ericneves/uploadAvatar?style=flat-square\u0026logo=github\u0026logoColor=white\u0026color=green\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/languages/top/ericneves/uploadAvatar?style=flat-square\u0026logo=php\u0026logoColor=white\u0026labelColor=blue\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/ericneves/simpleCRUDMVC?style=flat-square\u0026logo=github\u0026color=yellow\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow to User ?\u003c/a\u003e\n\u003c/p\u003e\n\n![Screenshot1](.github/screenshotA.png)\n![Screenshot2](.github/screenshotB.png)\n\nWebsite: [Upload Avatar](https://resizeimage-ericneves.000webhostapp.com/)\n\n### Features\n\nA aplicação explora vários recursos da linguagem \u003cb\u003ePHP\u003c/b\u003e, como a funcionalidade \u003cb\u003eGD\u003c/b\u003e para redimensionar as imagens. \n\nO sistema utiliza a arquitetura \u003cb\u003eMVC\u003c/b\u003e, juntamente com recursos de funcionalidades assíncronas do \u003cb\u003eJavascript\u003c/b\u003e, como a biblioteca \u003cb\u003eAxios\u003c/b\u003e e \u003cb\u003eFetch API\u003c/b\u003e.\n\nAlém do mais, o upload das imagens são feitos no formato \u003cb\u003eBLOB (Binary Large Object)\u003c/b\u003e, sem a necessidade de armazenar arquivos no \u003cb\u003eservidor\u003c/b\u003e ou em uma \u003cb\u003eCDN\u003c/b\u003e, diminuindo a necessidade do uso de recursos.\n\nAs imagens são expostas através do \u003cb\u003eheader\u003c/b\u003e, tendo o conteúdo definido como \u003cb\u003eimage/jpeg\u003c/b\u003e a partir de uma \u003cb\u003eURL\u003c/b\u003e com o \u003cb\u003eID\u003c/b\u003e na imagem.\n\n* PHP\n  - \u003cb\u003eVersion: \u003e= 8\u003c/b\u003e\n  - \u003cb\u003ePDO (SQL)\u003c/b\u003e\n  - \u003cb\u003eOOP\u003c/b\u003e\n  - \u003cb\u003eSPL - Autoload\u003c/b\u003e\n  - \u003cb\u003eGB\u003c/b\u003e\n* SQL\n  - \u003cb\u003eDDL / DML (BLOB)\u003c/b\u003e\n* Javascript\n  - \u003cb\u003eFetch API (Async)\u003c/b\u003e\n  - \u003cb\u003eAxios (Async)\u003c/b\u003e\n  - \u003cb\u003eDropdown\u003c/b\u003e\n* HTML/CSS\n\n### How to use\n\nSegue-se alguns passos para a execução da aplicação:\n\n- Iniciar o servidor \u003cb\u003eApache\u003c/b\u003e e o \u003cb\u003eMysql\u003c/b\u003e.\n\n- Copie a pasta do projeto para dentro do servidor \u003cb\u003eApache\u003c/b\u003e.\n\n- Configure o arquivo \u003cb\u003econfig.php\u003c/b\u003e com suas credenciais de banco de dados e edite o \u003cb\u003eBASE_URL\u003c/b\u003e conforme a o local do projeto, inclua a pasta \u003cb\u003e/app\u003c/b\u003e.\n\n- Ativar o ModRewrite: \u003cb\u003ecomando via terminal\u003c/b\u003e: ```a2enmod rewrite``` ou habilitar nas configurações do \u003cb\u003eApache\u003c/b\u003e.\n\n- Executar os comandos \u003cb\u003eDDL\u003c/b\u003e e \u003cb\u003eDML\u003c/b\u003e do arquivo \u003cb\u003edatabase.sql\u003c/b\u003e, o arquivo se encontra na raiz do projeto.\n\n\n### License 📃\n\n\u003cimg src=\"https://img.shields.io/github/license/ericneves/simpleCRUDMVC?style=flat-square\u0026logo=github\u0026color=yellow\" alt=\"License\"\u003e\n\n---\n\n### Author 🧑‍💻\n\u003e\u003ca href=\"https://www.instagram.com/ericneves_dev/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge\u0026logo=instagram\u0026logoColor=white\"\u003e\u003c/a\u003e \u003ca href=\"https://linkedin.com/in/ericnevesrr\"\u003e \u003cimg src=\"https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\"\u003e\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericneves%2Fuploadavatar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericneves%2Fuploadavatar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericneves%2Fuploadavatar/lists"}