gfmois/pickles-framework
Composer 安装命令:
composer create-project gfmois/pickles-framework
包简介
Pickles Framework Project
README 文档
README
Pickles is a PHP web application framework designed for rapid development, modularity, and simplicity. It provides a robust structure for building modern web applications with features such as routing, authentication, database migrations, and more.
Features
- Modular service provider architecture
- MVC structure (Controllers, Models, Views)
- Built-in authentication (login, registration, session management)
- Database migrations
- Environment-based configuration
- CLI utilities for development and management
Requirements
- PHP 8.3 or higher
- Composer
- MySQL (default, configurable but for now only MySQL and Postgres can be used)
Installation
Using composer
composer create-project gfmois/pickles-framework <name:optional>
Using git
- Clone the repository:
git clone <your-repo-url> pickles cd pickles
- Install dependencies:
composer install
- Copy the example environment file and configure your settings:
copy .env.example .env # Edit .env as needed - Set up your database (ensure the credentials in
.envare correct).
Usage
- Start the development server:
php -S localhost:8000 -t public
- Run CLI commands:
php pickles.php
This will show available CLI commands for migrations and other utilities.
Project Structure
app/- Application code (Controllers, Models, Providers)config/- Configuration filesdatabase/- Migrationspublic/- Public web rootresources/- Views and templatesroutes/- Route definitionsvendor/- Composer dependencies
License
This project is licensed under the MIT License. See LICENSE.md for details.
Author
Moisés (daw.moisesguerola@gmail.com)
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-24