{"id":29925376,"url":"https://github.com/devajayantha/scs-tmd-laravel","last_synced_at":"2025-08-02T11:38:52.082Z","repository":{"id":304509829,"uuid":"1018616526","full_name":"Devajayantha/scs-tmd-laravel","owner":"Devajayantha","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-13T14:14:18.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-13T16:10:12.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Blade","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/Devajayantha.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-07-12T16:43:53.000Z","updated_at":"2025-07-13T14:14:21.000Z","dependencies_parsed_at":"2025-07-13T16:10:20.152Z","dependency_job_id":"9f2054a0-2f79-4163-a5dc-0362aff4ca62","html_url":"https://github.com/Devajayantha/scs-tmd-laravel","commit_stats":null,"previous_names":["devajayantha/scs-tmd-laravel"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Devajayantha/scs-tmd-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devajayantha%2Fscs-tmd-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devajayantha%2Fscs-tmd-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devajayantha%2Fscs-tmd-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devajayantha%2Fscs-tmd-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devajayantha","download_url":"https://codeload.github.com/Devajayantha/scs-tmd-laravel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devajayantha%2Fscs-tmd-laravel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268379948,"owners_count":24241149,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-02T11:36:54.993Z","updated_at":"2025-08-02T11:38:52.068Z","avatar_url":"https://github.com/Devajayantha.png","language":"Blade","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Laravel 12 Project\n\nA modern web application built using [Laravel 12](https://laravel.com). This project includes authentication, validation, secure file handling, and best practices for scalable development.\n\n---\n\n## 📚 Requirements\n\n- PHP \u003e= 8.2\n- Composer\n- MySQL / PostgreSQL\n- Node.js \u0026 NPM\n\n---\n\n## 🔧 Installation\n\n```bash\n# Clone the project\ngit clone https://github.com/Devajayantha/scs-tmd-laravel.git\ncd scs-tmd-laravel\n\n# Install PHP dependencies\ncomposer install\n\n# Install JS dependencies\nnpm install \u0026\u0026 npm run build\n\n# Copy .env and generate key\ncp .env.example .env\nphp artisan key:generate\n```\n\n---\n\n## 🗄️ Database Setup\n\n### 1. Create Database\n\n```sql\nCREATE DATABASE laravel_project CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\n```\n\nOr via terminal:\n\n```bash\nmysql -u root -p -e \"CREATE DATABASE laravel_project CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\"\n```\n\n### 2. Update `.env` file\n\n```env\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=laravel_project\nDB_USERNAME=root\nDB_PASSWORD=your_password\n```\n\n### 3. Run Migrations \u0026 Seeders\n\n```bash\nphp artisan migrate\n```\n\n---\n\n## 🔐 Authentication \u0026 Authorization\n\n- Authentication using Laravel built-in system\n- Authorization via Policies\n\nExample usage:\n```php\n$this-\u003eauthorize('update', $note);\n```\n\n---\n\n## 🛠️ Useful Artisan Commands\n\n```bash\nphp artisan serve               # Start development server\nphp artisan migrate             # Run migrations\nphp artisan make:model Post -mcr  # Generate model, migration, controller, resource\n```\n\n---\n\n## 🛡️ Security Best Practices\n\n- ✅ CSRF Protection enabled\n- ✅ Environment variables managed via `.env`\n- ✅ Form Request validation\n- ✅ Passwords hashed\n- ✅ Content privacy with `bcrypt`\n- ✅ Authorization via Policies Middleware\n- ✅ Avoid Mass Assignment using `$fillable`\n- ✅ SQL Injection\n\n---\n\n## 🗂️ Project Structure\n\n```\napp/\n├── Http/\n│   ├── Controllers/\n│   ├── Middleware/\n│   └── Requests/\n├── Models/\n├── Policies/\nroutes/\n├── web.php\nresources/\n├── views/\n│   └── layouts/\n```\n\n---\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## 👨‍💻 Author\n\n**Deva Jayantha** \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevajayantha%2Fscs-tmd-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevajayantha%2Fscs-tmd-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevajayantha%2Fscs-tmd-laravel/lists"}