https://github.com/awaisjuno/colab
Colab CLI is a modern PHP framework with a built-in Command-Line Interface (CLI)
https://github.com/awaisjuno/colab
back cli command command-line php php8 phpframework
Last synced: 2 months ago
JSON representation
Colab CLI is a modern PHP framework with a built-in Command-Line Interface (CLI)
- Host: GitHub
- URL: https://github.com/awaisjuno/colab
- Owner: awaisjuno
- Created: 2025-04-07T19:41:24.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2025-04-08T09:19:03.000Z (2 months ago)
- Last Synced: 2025-04-09T15:16:57.306Z (2 months ago)
- Topics: back, cli, command, command-line, php, php8, phpframework
- Language: PHP
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Colab CLI
Welcome to Colab CLI – a powerful command-line interface (CLI) framework designed to make developing and managing applications easier. Whether you're building a new web app, automating tasks, or working on a large-scale project, Colab CLI gives you the tools you need to streamline your workflow.
Table of ContentsIntroduction
Features
Installation
Usage
Contributing
License
Introduction
Colab CLI is a comprehensive CLI framework for developers that helps in various development tasks such as routing, database migrations, model generation, controller creation, and more. It aims to simplify the process of building applications with an easy-to-use interface while providing extensive flexibility and customization options.
FeaturesCommand-Line Utilities: Automate your workflow with built-in CLI commands for controller generation, migration, and more.
Routing System: Dynamic routing that supports custom middleware and advanced route handling.
Database Migrations: Easily manage your database schema with built-in migration commands.
Modular Architecture: Create custom commands, middleware, and tools to extend the CLI’s functionality.
Easy Setup: Simple installation and setup process to get you started quickly.
Installation
To get started with Colab CLI, follow these steps:
Clone the repository:
git clone https://github.com/awaisjuno/colab.git
Navigate into the project directory:
cd colab
Install dependencies (if applicable):
composer install
Set up your environment by configuring the appropriate settings in config/database.php.
Usage
Here are some basic commands to get you started:
Run the ApplicationTo run the application, simply use the cli tool:
php cli
For example, to run migrations:
php cli migrate
Generate Controllers, Models, and More
You can generate controllers, models, and migrations with the following commands:
php cli createController
php cli createModel
php cli createMigrationRoute Caching
For better performance, Colab CLI allows you to cache your routes:
php cli route:cache
Contributing
We welcome contributions to Colab CLI! If you have an idea, fix, or feature you'd like to contribute, please fork the repository and create a pull request with your changes. Here’s how to get started:
Fork the repository.
Clone your fork locally.
Create a new branch for your feature or fix.
Make your changes.
Test your changes.
Push your changes and open a pull request.
Code Style
Please follow the PHP-FIG PSR-2 coding standards when contributing.