manelgavalda/php-learning
Composer 安装命令:
composer create-project manelgavalda/php-learning
包简介
Projecte php learning Manel Gavaldà
README 文档
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Install
Via Composer
$ composer require manelgavalda/php-learning
Usage
Create "tests" folder with "index.php" and "database.php" on it.
tests/index.php
<?php use Manelgavalda\Myframework\core\Request; use Manelgavalda\Myframework\core\Router; require __DIR__ .'/../vendor/manelgavalda/php-learning/src/core/bootstrap.php'; require Router::load(__DIR__ .'/../vendor/manelgavalda/php-learning/src/controllers/routes.php')->direct(Request::uri());
tests/database.php
<?php //Modificar indicant les teves variables d'entorn. return [ 'dbtype' => 'mysql', 'dbname' => 'prova', 'username' => '', 'password' => '', 'dbhost' => '127.0.0.1' ];
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email manelgavalda@iesebre.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-10-26