{"id":14987220,"url":"https://github.com/nguyenanhung/codeigniter3-vercel-skeleton","last_synced_at":"2025-04-11T23:23:22.223Z","repository":{"id":218528828,"uuid":"746701499","full_name":"nguyenanhung/codeigniter3-vercel-skeleton","owner":"nguyenanhung","description":"CodeIgniter v3 Vercel Skeleton Application","archived":false,"fork":false,"pushed_at":"2024-12-31T22:30:50.000Z","size":1118,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T06:48:41.984Z","etag":null,"topics":["codeigniter","codeigniter-helper","codeigniter-library","codeigniter-skeleton","codeigniter-startapp","codeigniter3","codeigniter3-skeleton","docker-php","helper","library","php","skeleton","startapp","vercel-codeigniter","vercel-codeigniter-skeleton","vercel-php"],"latest_commit_sha":null,"homepage":"https://codeigniter3-vercel-skeleton.vercel.app/","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/nguyenanhung.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":"2024-01-22T14:00:56.000Z","updated_at":"2025-03-09T12:44:52.000Z","dependencies_parsed_at":"2024-01-24T18:29:17.419Z","dependency_job_id":"dd190b6f-1451-4859-959a-6d80ff5d68e6","html_url":"https://github.com/nguyenanhung/codeigniter3-vercel-skeleton","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":"0.23684210526315785","last_synced_commit":"cfd769ba06c16c8c9e7ea57013b626e299db395a"},"previous_names":["nguyenanhung/codeigniter3-vercel-skeleton"],"tags_count":13,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenanhung%2Fcodeigniter3-vercel-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenanhung%2Fcodeigniter3-vercel-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenanhung%2Fcodeigniter3-vercel-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenanhung%2Fcodeigniter3-vercel-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nguyenanhung","download_url":"https://codeload.github.com/nguyenanhung/codeigniter3-vercel-skeleton/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248493512,"owners_count":21113273,"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":["codeigniter","codeigniter-helper","codeigniter-library","codeigniter-skeleton","codeigniter-startapp","codeigniter3","codeigniter3-skeleton","docker-php","helper","library","php","skeleton","startapp","vercel-codeigniter","vercel-codeigniter-skeleton","vercel-php"],"created_at":"2024-09-24T14:14:16.393Z","updated_at":"2025-04-11T23:23:22.204Z","avatar_url":"https://github.com/nguyenanhung.png","language":"PHP","readme":"[![Latest Stable Version](https://img.shields.io/packagist/v/nguyenanhung/codeigniter3-vercel-skeleton.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/codeigniter3-vercel-skeleton)\n[![Total Downloads](https://img.shields.io/packagist/dt/nguyenanhung/codeigniter3-vercel-skeleton.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/codeigniter3-vercel-skeleton)\n[![License](https://img.shields.io/packagist/l/nguyenanhung/codeigniter3-vercel-skeleton.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/codeigniter3-vercel-skeleton)\n[![PHP Version Require](https://img.shields.io/packagist/dependency-v/nguyenanhung/codeigniter3-vercel-skeleton/php)](https://packagist.org/packages/nguyenanhung/codeigniter3-vercel-skeleton)\n\n# CodeIgniter v3 Framework - Skeleton Vercel Application\n\nThis is the package `nguyenanhung/codeigniter3-skeleton`, customized, packaged, and configured to be suitable for\ndeployment on the Serverless Vercel application.\n\nIn this package, the main modifications are related to configuration to make it suitable for deployment. There isn't\nmuch difference compared to the `codeigniter3-skeleton` package.\n\n## Vercel Configure\n\n```json\n{\n    \"version\": 2,\n    \"framework\": null,\n    \"functions\": {\n        \"api/**/*.php\": {\n            \"runtime\": \"vercel-php@0.7.3\"\n        }\n    },\n    \"outputDirectory\": \"public\",\n    \"routes\": [\n        {\n            \"src\": \"/assets/(css|favicon|images|js)/(.*)\",\n            \"dest\": \"assets/$1/$2\"\n        },\n        {\n            \"src\": \"/(.*)\",\n            \"dest\": \"/api/index.php?/$1\"\n        }\n    ]\n}\n```\n\n## Vercel Node.js Version\n\n- `vercel-node.js` version `18.x`\n  ![https://i.imgur.com/EL7UAh8.png](https://i.imgur.com/EL7UAh8.png)\n\n## 💯 Vercel PHP Runtime Versions\n\n- `vercel-php@0.7.3` - Node autodetect / PHP 8.3.x (https://example-php-8-3.vercel.app)\n- `vercel-php@0.6.2` - Node autodetect / PHP 8.2.x (https://example-php-8-2.vercel.app)\n- `vercel-php@0.5.5` - Node autodetect / PHP 8.1.x (https://example-php-8-1.vercel.app)\n- `vercel-php@0.4.4` - Node autodetect / PHP 8.0.x (https://example-php-8-0.vercel.app)\n- `vercel-php@0.3.6` - Node autodetect / PHP 7.4.x (https://example-php-7-4.vercel.app)\n\n## Install\n\nRun the following command to install the `nguyenanhung/codeigniter3-vercel-skeleton` application and deploy a new\nproject:\n\n```shell\ncomposer create-project nguyenanhung/codeigniter3-vercel-skeleton [my-app-name]\n```\n\nReplace `[my-app-name]` with the name of your new project directory, for example, `my-website`:\n\n```shell\ncomposer create-project nguyenanhung/codeigniter3-vercel-skeleton my-website\n```\n\n## Start Application with Native PHP\n\nStart PHP Server:\n\n```shell\ncomposer start\n```\n\nOpen Service in URL\n\n```shell\nhttp://localhost:8080/\n```\n\n## Start Application on Docker\n\nQuickly deploy the application with a pre-built Docker container:\n\nBuild the Docker container:\n\n```shell\ndocker-compose build\n```\n\nStart the application on Docker:\n\n```shell\ndocker-compose up -d\n```\n\nAdd url to hosts file\n\n```shell\nsudo vi /etc/hosts\n```\n\nAdd the following line:\n\n```shell\n127.0.0.1 app.codeigniter3.io\n```\n\nOpen Service in URL\n\n```shell\nhttp://app.codeigniter3.io/\n```\n\n## Deploying this package on Vercel with full compatibility\n\nFirst, make sure you have the Vercel CLI installed. If you haven't already, you can install it using npm (Node.js\npackage manager):\n\n```shell\nnpm install -g vercel\n```\n\n1. Navigate to your project directory containing the `nguyenanhung/codeigniter3-vercel-skeleton` application.\n2. Now, you need to log in to your Vercel account if you haven't already. Run the following command and follow the\n   prompts:\n\n```shell\nvercel login\n```\n\nOnce logged in, you can deploy your project using the Vercel CLI. Run the following command:\n\n```shell\nvercel --prod\n```\n\nThis command will deploy your project to Vercel with production settings. Vercel will provide you with a unique URL for\nyour deployed application.\n\nVisit the provided URL in your web browser to access your deployed CodeIgniter v3 application on Vercel.\n\nThat's it! Your application should now be deployed on Vercel with full compatibility. If you encounter any issues or\nneed further assistance, feel free to ask.\n\n## Screenshot Page\n\n![https://i.imgur.com/KIZHe8J.png](https://i.imgur.com/KIZHe8J.png)\n\n## Original Standard Version\n\nI have released a packaged distribution ready for deployment on On-Premise Servers or Cloud servers like AWS, GCP\nhere: https://github.com/nguyenanhung/codeigniter3-skeleton\n\n## Terms \u0026 Disclaimer\n\nThis skeleton is publicly available as open source, and anyone can use it for their own purposes under\nthe `GNU GENERAL PUBLIC LICENSE v3 or later`.\n\nI am not responsible for any specific use of this source code.\n\n## Contact\n\nIf you have any questions related to the use of this source code, please contact me through the following information:\n\n| Name        | Email                | GitHub        | Facebook      |\n|-------------|----------------------|---------------|---------------|\n| Hung Nguyen | dev@nguyenanhung.com | @nguyenanhung | @nguyenanhung |\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnguyenanhung%2Fcodeigniter3-vercel-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnguyenanhung%2Fcodeigniter3-vercel-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnguyenanhung%2Fcodeigniter3-vercel-skeleton/lists"}