承接 aldearco/arco 相关项目开发

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

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

aldearco/arco

最新稳定版本:v0.2.0

Composer 安装命令:

composer create-project aldearco/arco

包简介

Arco Framework Project

README 文档

README

Arco Framework Icon

Arco Framework

Total Downloads Latest Stable Version License

This framework is inspired by Laravel and in no way wants to compete against Laravel.

Arco Framework has been created within an educational aim following the Mastermind course below:

Create your own Web Framework with PHP

Warnings

This framework is not suitable for production environments and may have several errors. Currently, its development is only used for educational purposes.

Create project

Composer

composer create-project aldearco/arco

Download source code

Latest release:

Unzip and run composer install.

Deployment

Root folder

If you perform the deployment in the root folder, you don't need to add any additional files to the project, but you will need to specify the default public folder name of your server in the file. By default, the public folder is /public, but if you need to change it to /public_html, you can do so in the file ./config/app.php in the key "public".

Shared Hosting

If you're deploying the project on shared hosting within the public or public_html folders, you may need to create certain files, depending on your server system. It is likely that you will need to modify or add some lines with proposed code.

Apache

.htaccess

<IfModule mod_rewrite.c>
RewriteEngine on

# Serve existing files in the /public folder as if they were in the root of the site.
RewriteCond %{DOCUMENT_ROOT}public%{REQUEST_URI} -f
RewriteRule (.+) /public/$1 [L]

# Route requests for /storage/ to the /storage/ directory using the P(passthrough) flag.
RewriteRule ^storage/(.+) /storage/$1 [PT]

# Route everything else to /public/index.php
RewriteRule ^ /public/index.php [L]
</IfModule>

#Disable index view
options -Indexes

<Files .env>
order allow,deny
Deny from all
</Files>

Nginx

mysite.conf

server {
listen 80;
server_name example.com;
root /var/www/example.com;

location / {
    try_files $uri $uri/ /public/index.php;
}

location /public {
    try_files $uri $uri/ /public/index.php;
}

location /storage {
    internal;
}

location ~ \.env$ {
    deny all;
}

location ~ ^/storage/ {
    internal;
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固