承接 aarkin/archphp 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

aarkin/archphp

Composer 安装命令:

composer create-project aarkin/archphp

包简介

A Lightweight PHP Framework for Seamless Templating & Routing

README 文档

README

root/
│── assets/
│   ├── images/
│   ├── css/
│   │   ├── app.css
│   ├── js/
│   │   ├── app.js
│── components/
│── views/
│── env.example
│── index.php
│── template.php

🛠 Setting Up Environment Variables

To use environment variables, create an env.php file and define your variables like this:

putenv("APPNAME=Squad International");
putenv("STYLESHEETDIR=assets/css/");

You can add multiple variables by calling putenv() for each one.

❓ Why use env.php instead of .env?

Currently, .env files are not loading properly in some cases. Until this issue is resolved, env.php is used as a workaround.

If you prefer .env, you can manually load it using phpdotenv.

📌 View File Format

By default, views use .html files. However, you can use .php or any other format by modifying index.php.

🚀 Stack

Currently this uses just plain html, css and php because it was designed to be very light weight while being helpfull in cases where you dont want redundant html like header and footer. So instead of putting header and footer on each page this helps create a template file which you can design. This also takes care of routing for you. Since having a url like xyz.com/about-us.html dosent give a good look. So this comes with dynamic routing to remove extension names from the url. Also the css files get loaded for each page automatically. If you name the file the same as the filename other than view/index since it by defaults loads home.css orhter than that the view/filename should be the file name for css/filename

🔮 Future

This is currenctly in development and will be managed by me. Features will be added according to real-world senarios that I come accross in projects while using this framework

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固