{"id":36387252,"url":"https://github.com/shaltoook/salamcms","last_synced_at":"2026-01-11T15:03:50.312Z","repository":{"id":315478354,"uuid":"1059367193","full_name":"shaltoook/salamcms","owner":"shaltoook","description":"A headless CMS built with PHP and MySQL","archived":false,"fork":false,"pushed_at":"2025-09-18T20:46:19.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-18T22:09:15.780Z","etag":null,"topics":["ai","cms","headless","php-framework"],"latest_commit_sha":null,"homepage":"https://salamcms.ir","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/shaltoook.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T10:55:19.000Z","updated_at":"2025-09-18T20:46:23.000Z","dependencies_parsed_at":"2025-09-18T22:09:57.748Z","dependency_job_id":"4afd5118-693d-4495-bb6d-83338eb9026b","html_url":"https://github.com/shaltoook/salamcms","commit_stats":null,"previous_names":["shaltoook/salamcms"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shaltoook/salamcms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaltoook%2Fsalamcms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaltoook%2Fsalamcms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaltoook%2Fsalamcms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaltoook%2Fsalamcms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaltoook","download_url":"https://codeload.github.com/shaltoook/salamcms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaltoook%2Fsalamcms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28309729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","cms","headless","php-framework"],"created_at":"2026-01-11T15:03:49.613Z","updated_at":"2026-01-11T15:03:50.300Z","avatar_url":"https://github.com/shaltoook.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SalamCMS\n\nSalamCMS is a lightweight **Headless CMS** built with **PHP** and **MySQL**.  \nIt provides a simple yet flexible backend to manage content and expose it through RESTful APIs, so developers can build websites, apps, or services with any frontend framework.\n\n---\n\n## ✨ Features\n- 🗂️ **Headless architecture** – decouple backend from frontend  \n- 🔑 **Authentication system** (JWT/session-based)  \n- 📦 **Content management** – define content types, create \u0026 manage entries  \n- 🌐 **REST API** to deliver content anywhere  \n- ⚡ Lightweight and easy to deploy (pure PHP + MySQL)  \n- 🔧 Extensible – can be customized or integrated with any PHP project  \n\n---\n\n## 🚀 Installation\n\n### Requirements\n- PHP \u003e= 8.0  \n- MySQL \u003e= 5.7  \n- Web server (Apache/Nginx)  \n- Composer (recommended)  \n\n### Steps\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/shaltoook/salamcms.git\n   cd salamcms\n   ```\n2. Install dependencies (if using Composer):\n   ```bash\n   composer install\n   ```\n3. Create a database in MySQL:\n   ```sql\n   CREATE DATABASE salamcms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\n   ```\n4. Copy the example environment file:\n   ```bash\n   cp .env.example .env\n   ```\n   And update your DB credentials.\n\n5. Run migrations (if available) or import `database.sql`:\n   ```bash\n   mysql -u username -p salamcms \u003c database.sql\n   ```\n\n6. Start your PHP server (for development):\n   ```bash\n   php -S localhost:8000 -t public\n   ```\n\n7. Visit `http://localhost:8000` 🎉\n\n---\n\n## 📚 Usage\n\n- Access the **Admin Panel** at: `/admin`  \n- Content is exposed via RESTful endpoints under: `/api/...`  \n- Example:\n  ```\n  GET /api/posts\n  GET /api/posts/{id}\n  ```\n\n---\n\n## 🛠️ Roadmap\n- [ ] GraphQL support  \n- [ ] Role-based access control  \n- [ ] File \u0026 media management  \n- [ ] Plugin system  \n\n---\n\n## 🤝 Contributing\nContributions are welcome!  \n1. Fork the repository  \n2. Create a feature branch (`git checkout -b feature/my-feature`)  \n3. Commit your changes  \n4. Push to your fork and open a Pull Request  \n\n---\n\n## 📄 License\nThis project is licensed under the **MIT License** – see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 👤 Author\nDeveloped by **[shaltoook](https://github.com/shaltoook)**  \n\n---\n\n# SalamCMS (فارسی)\n\n**SalamCMS** یک **سیستم مدیریت محتوای بدون واسط (Headless CMS)** سبک و ساده است که با **PHP** و **MySQL** ساخته شده.  \nاین پروژه یک بک‌اند انعطاف‌پذیر برای مدیریت محتوا فراهم می‌کند و از طریق APIهای REST محتوا را در اختیار فرانت‌اند یا اپلیکیشن‌ها قرار می‌دهد.  \n\n---\n\n## ✨ امکانات\n- 🗂️ معماری Headless — جداسازی بک‌اند از فرانت‌اند  \n- 🔑 سیستم احراز هویت (JWT یا Session)  \n- 📦 مدیریت محتوا — تعریف انواع محتوا و ساخت و مدیریت داده‌ها  \n- 🌐 APIهای REST برای ارائه محتوا در هر محیطی  \n- ⚡ سبک و قابل استقرار سریع (فقط PHP + MySQL)  \n- 🔧 قابل توسعه و قابل ادغام با هر پروژه‌ی PHP  \n\n---\n\n## 🚀 نصب\n\n### نیازمندی‌ها\n- PHP نسخه 8 به بالا  \n- MySQL نسخه 5.7 به بالا  \n- وب‌سرور (Apache یا Nginx)  \n- Composer (پیشنهادی)  \n\n### مراحل نصب\n1. کلون کردن مخزن:\n   ```bash\n   git clone https://github.com/shaltoook/salamcms.git\n   cd salamcms\n   ```\n2. نصب وابستگی‌ها (در صورت استفاده از Composer):\n   ```bash\n   composer install\n   ```\n3. ایجاد دیتابیس در MySQL:\n   ```sql\n   CREATE DATABASE salamcms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\n   ```\n4. کپی فایل تنظیمات نمونه:\n   ```bash\n   cp .env.example .env\n   ```\n   و سپس مشخصات دیتابیس خود را ویرایش کنید.\n\n5. اجرای migrationها (اگر وجود دارد) یا وارد کردن فایل `database.sql`:\n   ```bash\n   mysql -u username -p salamcms \u003c database.sql\n   ```\n\n6. اجرای سرور PHP (برای توسعه):\n   ```bash\n   php -S localhost:8000 -t public\n   ```\n\n7. بازدید از `http://localhost:8000` 🎉\n\n---\n\n## 📚 استفاده\n\n- پنل مدیریت: `/admin`  \n- API برای محتوا: `/api/...`  \n- نمونه:\n  ```\n  GET /api/posts\n  GET /api/posts/{id}\n  ```\n\n---\n\n## 🛠️ نقشه راه\n- [ ] پشتیبانی از GraphQL  \n- [ ] مدیریت دسترسی مبتنی بر نقش (Role-based)  \n- [ ] مدیریت فایل‌ها و رسانه‌ها  \n- [ ] سیستم افزونه‌ها  \n\n---\n\n## 🤝 مشارکت\nاز مشارکت شما استقبال می‌کنیم!  \n1. ریپازیتوری را Fork کنید  \n2. یک شاخه جدید بسازید (`git checkout -b feature/my-feature`)  \n3. تغییرات خود را commit کنید  \n4. روی Fork خود Push کرده و Pull Request باز کنید  \n\n---\n\n## 📄 مجوز\nاین پروژه تحت مجوز **MIT** منتشر شده است — برای جزئیات بیشتر فایل [LICENSE](LICENSE) را ببینید.  \n\n---\n\n## 👤 توسعه‌دهنده\nتوسعه داده شده توسط **[shaltoook](https://github.com/shaltoook)**  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaltoook%2Fsalamcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaltoook%2Fsalamcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaltoook%2Fsalamcms/lists"}