{"id":21973629,"url":"https://github.com/alash3al/xonsole","last_synced_at":"2025-04-28T14:27:11.817Z","repository":{"id":56943667,"uuid":"109914280","full_name":"alash3al/xonsole","owner":"alash3al","description":"A tiny cli framework based on laravel\\console, so you can use it without full laravel installation","archived":false,"fork":false,"pushed_at":"2017-11-08T02:13:51.000Z","size":193,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T10:33:39.213Z","etag":null,"topics":["cli","command-line","console-framework","laravel","php"],"latest_commit_sha":null,"homepage":null,"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/alash3al.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}},"created_at":"2017-11-08T01:57:27.000Z","updated_at":"2023-10-07T15:56:37.000Z","dependencies_parsed_at":"2022-08-21T07:50:36.634Z","dependency_job_id":null,"html_url":"https://github.com/alash3al/xonsole","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fxonsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fxonsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fxonsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fxonsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alash3al","download_url":"https://codeload.github.com/alash3al/xonsole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251328777,"owners_count":21571976,"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":["cli","command-line","console-framework","laravel","php"],"created_at":"2024-11-29T15:33:43.711Z","updated_at":"2025-04-28T14:27:11.788Z","avatar_url":"https://github.com/alash3al.png","language":"PHP","readme":"# Xonsole\nA tiny PHP framework based on laravel console, just for console based apps, now you can use the power of larave commands without a full laravel installation.\n\n# Usage\nThere is no magic, just goto the `commands` directory, and create your command under the namespace `Xonsole\\Commands`\n\n```php\n\u003c?php\n\n\nnamespace Xonsole\\Commands;\n\nuse Illuminate\\Console\\Command;\n\nclass Hello extends Command\n{\n\tprotected $description = \"a hello world command\";\n\n\tprotected $signature = \"hello\";\n\n\tpublic function handle() {\n\t\t$this-\u003einfo(\"Hello World!\");\n\t}\n}\n```\n\nThen open your `terminal` and `php app.php hello` !\n\n# PHAR\nThere is a tool called [`box`](https://github.com/box-project/box2) included with `Xonsole`, its role is generating a `PHAR` package for your app.\n```bash\nphp box build\n```\nand you will find the `app.phar` file that you can distribute anywhere!\n\n# Author\nI'm [Mohammed Al Ashaal](http://alash3al.github.io), a Backend Ninja!\n\n# Contribution\nJust create a pull request with your changes and I'll review then merge if needed.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falash3al%2Fxonsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falash3al%2Fxonsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falash3al%2Fxonsole/lists"}