manelgavalda/php-learning

There is no license information available for the latest version (1.3) of this package.

Projecte php learning Manel Gavaldà

1.3 2016-10-28 11:59 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:42:18 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.