定制 simpletine/codeigniter4-starter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

simpletine/codeigniter4-starter

Composer 安装命令:

composer create-project simpletine/codeigniter4-starter

包简介

CodeIgniter4 Starter

README 文档

README

Official Website
YouTube Channel

Overview

This repository provides a starter template for CodeIgniter 4, configured to get your application up and running quickly. Follow the instructions below to set up and start developing with CodeIgniter 4.

Prerequisites

Ensure you have the following installed before starting:

  • PHP 7.4 or above
  • Composer
  • CodeIgniter 4.4.8

Installation Guide

1. Clone the Project

Choose one of the following methods to clone the project into your desired folder:

Using Composer:

composer create-project simpletine/codeigniter4-starter starter --stability=dev

Or using Git:

git clone https://github.com/Simpletine/CodeIgniter4-Starter.git starter

Navigate to the project folder:

cd starter

2. Update Dependencies

Run the following commands to update dependencies and copy required files:

composer update
cp vendor/codeigniter4/framework/public/index.php public/index.php
cp vendor/codeigniter4/framework/spark spark

3. Set Up Environment File

Copy the .env file to the root directory:

cp env .env

4. Start the Application

Run the app using the built-in server. If you want to use a custom port (e.g., 9000), specify it using the --port option:

php spark serve --port=9000

The application should now be accessible at http://localhost:9000.

Code Standards and Fixing

This project follows PHP coding standards. To automatically fix coding standard issues, run the following command:

composer run fix

Troubleshooting

If you encounter any issues during installation, feel free to open a discussion in the community.

统计信息

  • 总下载量: 620
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固