{"id":30431290,"url":"https://github.com/cloudkoonly/lite-slim","last_synced_at":"2025-08-22T19:33:47.772Z","repository":{"id":307095229,"uuid":"951295458","full_name":"cloudkoonly/lite-slim","owner":"cloudkoonly","description":"A minimalist version of the slim skeleton","archived":false,"fork":false,"pushed_at":"2025-07-29T10:48:23.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-29T12:53:24.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cloudkoonly.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,"zenodo":null}},"created_at":"2025-03-19T13:09:30.000Z","updated_at":"2025-07-29T10:48:26.000Z","dependencies_parsed_at":"2025-07-29T12:53:32.375Z","dependency_job_id":null,"html_url":"https://github.com/cloudkoonly/lite-slim","commit_stats":null,"previous_names":["cloudkoonly/lite-slim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/cloudkoonly/lite-slim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkoonly%2Flite-slim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkoonly%2Flite-slim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkoonly%2Flite-slim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkoonly%2Flite-slim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudkoonly","download_url":"https://codeload.github.com/cloudkoonly/lite-slim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkoonly%2Flite-slim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271688750,"owners_count":24803508,"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-22T02:00:08.480Z","response_time":65,"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-22T19:33:46.386Z","updated_at":"2025-08-22T19:33:47.735Z","avatar_url":"https://github.com/cloudkoonly.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lite-Slim\n\nA lightweight, fast, and flexible web development framework based on PHP Slim.\n\n## Features\n\n*   **Slim Framework:** Built on the powerful and minimalist Slim micro-framework.\n*   **Dependency Injection:** Uses PHP-DI for managing dependencies, promoting clean and testable code.\n*   **Environment-based Configuration:** Manages configuration using `.env` files for different environments.\n*   **Logging:** Integrated with Monolog for robust logging.\n*   **Templating:** Supports server-side rendering with `slim/php-view`.\n*   **Session Management:** Includes session support via `bryanjhv/slim-session`.\n*   **JWT Authentication:** Ready for token-based authentication with `firebase/php-jwt`.\n\n## Requirements\n\n*   PHP \u003e= 8.1\n*   Composer\n\n## Installation\n\n1.  **Clone the repository:**\n    ```bash\n    git clone \u003cyour-repository-url\u003e lite-slim\n    cd lite-slim\n    ```\n\n2.  **Install dependencies:**\n    ```bash\n    composer install\n    ```\n\n3.  **Set up environment variables:**\n    ```bash\n    cp .env.example .env\n    ```\n    Then, edit the `.env` file with your specific settings (e.g., database credentials, app keys).\n\n4.  **Configure your web server** (e.g., Nginx or Apache) to point to the `public` directory as the document root.\n\n## Project Structure\n\n```\nlite-slim/\n├── config/          # Configuration files\n├── logs/            # Log files\n├── public/          # Publicly accessible files (index.php)\n├── src/             # Application source code\n├── templates/       # View templates\n├── vendor/          # Composer dependencies\n├── .env             # Environment variables\n├── composer.json    # Project dependencies\n└── README.md        # This file\n```\n\n## Getting Started\n\nDefine your routes and application logic in the `src` directory. The main application entry point is `public/index.php`.\n\n**Example Route:**\n\n```php\n// In your routes file\n\nuse Psr\\Http\\Message\\ResponseInterface as Response;\nuse Psr\\Http\\Message\\ServerRequestInterface as Request;\n\n$app-\u003eget('/hello/{name}', function (Request $request, Response $response, array $args) {\n    $name = $args['name'];\n    $response-\u003egetBody()-\u003ewrite(\"Hello, $name\");\n    return $response;\n});\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request.\n\n1.  Fork the repository.\n2.  Create your feature branch (`git checkout -b feature/your-feature`).\n3.  Commit your changes (`git commit -m 'Add some feature'`).\n4.  Push to the branch (`git push origin feature/your-feature`).\n5.  Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudkoonly%2Flite-slim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudkoonly%2Flite-slim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudkoonly%2Flite-slim/lists"}