n0nag0n/fatfree-devtools 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

n0nag0n/fatfree-devtools

Composer 安装命令:

composer require n0nag0n/fatfree-devtools

包简介

A set of tools for help in creating models, controllers, routes, etc.

README 文档

README

This is a package that can aid the creation and management of your Fat-Free projects.

Note: This is not tested against Windows environments for the time being.

Security

Fat-Free DevTools is a local development tool only. The web admin UI can create PHP files, modify routes, run Composer commands, and includes bundled Adminer for database access.

  • Only run fatfree serve admin on localhost or 127.0.0.1
  • Never deploy the DevTools public/ directory to a production server
  • Never expose the admin console to untrusted networks

Usage Video

I created a basic guide to help those that want to get started with this DevTools package.

Fat-Free DevTools

https://youtu.be/2kU5S-byTwI

Installation

Installation is through Composer. If you don't have Composer, run the following command.

curl -sS https://getcomposer.org/installer | php

Globally (recommended)

composer global require n0nag0n/fatfree-devtools

# or sudo if you run into permissions issues because it's configured for restricted directories
sudo composer global require n0nag0n/fatfree-devtools

Locally

composer require n0nag0n/fatfree-devtools --dev

Usage

Basic usage is provided via the bin that is installed with Composer. Most of the default installations of Composer will use vendor/bin/ and the root directory for bin files if you've installed this locally.

Otherwise, globally installations can just type fatfree. Make sure to place the ~/.composer/vendor/bin directory in your PATH so the fatfree executable can be located by your system. As such, the remainder of this readme will only use fatfree instead of vendor/bin/fatfree.

Web interface

There is a web interface that can be used instead of usage through CLI. It is recommended to use the web interface for beginners. To start up the web interface run the following command.

fatfree serve admin [--help [--port-8081 [--host=localhost]]]

Then follow the instructions output in your console for where to navigate to in your browser for the DevTools to display.

Commands

This is a list of commands currently being used in the devtools helper.

Serve

This will serve your project using the PHP built-in web server.

fatfree serve [--help [--port-8080 [--host=localhost]]]

Clear Cache

This will clear your temp cache for you.

fatfree cache clear

Help

Provides a simple help dialog.

fatfree help

Version

Outputs the version.

fatfree version

统计信息

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

GitHub 信息

  • Stars: 33
  • Watchers: 6
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固