manelgavalda / php-learning
Projecte php learning Manel Gavaldà
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
This package is not auto-updated.
Last update: 2024-11-09 20:56:15 UTC
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.