定制 kamsaf/elephantino 二次开发

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

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

kamsaf/elephantino

最新稳定版本:v1.0.0

Composer 安装命令:

composer require kamsaf/elephantino

包简介

PHP micro web framework created for fun.

README 文档

README

ElephantinoLogo

Elephantino

GitHub last commit

Description

Elephantino is a micro PHP web application framework created purely for fun and educational purposes.

Technologies and tools used:

  • PHP 8.1

How to use

To create application using it first you need to install it in your project:

  1. If you haven't created project yet run and go through its configuration:

     composer init
    
  2. Include Elephantino in your project by running:

     composer require kamsaf/elephantino
    

By now you are ready to use it. To start project run script:

    php vendor/kamsaf/elephantino/scripts/setup.php

or set up project manually by creating a new PHP file in your project directory and pasting this code:

    <?php

    use Elephantino\Core\App;
    use Elephantino\Http\Response;

    require_once __DIR__ . '/vendor/autoload.php';

    $app = new App();

    $app->get(
        "/",
        fn() => Response::json(['message' => 'Hello'])
    );

    $app->run(debug: true);

Now run server inside root directory of your project and access the file address in the browser.

Created by Kamil Safaryjski 2024

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固