Download the PHP package jmrg/chip-modules without Composer
On this page you can find all versions of the php package jmrg/chip-modules. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jmrg/chip-modules
More information about jmrg/chip-modules
Files in jmrg/chip-modules
Package chip-modules
Short Description Components to build a PHP Micro-Framework.
License MIT
Informations about the package chip-modules
Chip-modules
Chip-modules is a set libraries that encapsulate their implementations to way easy and faster and provides the methods to access in an only step.
Components
This includes handlers for:
- Klein - Router, controllers, and endpoints.
- Symfony Config - Configuration from environment file.
- Eloquent - Database and models.
- Hoa Session - Session handler.
- Blade - Template manager and views.
- PHPMailer - Full manager to send emails.
Installing Chip-modules Composer
You can install Chip-modules into your project using Composer. For existing applications you can run the following:
Usage Instructions
Environment Config
To configure the params of the environment to create a file YAML like this with the database connection and parameters of SMTP:
After that, we shoulder load the file.
Router Config
To configure the router we make the following:
Example using router:
Databases and Model Config
To configure databases we make the following:
Session Config
To configure session we make the following:
Views and Blade Config
To configure the blade manager template we make the following:
Email Config
To configure the first that we make is fill the environment file with the params require:
To get a instance the handler email we make follow:
Test
This project use PHPUnit to make test. To execute the test run the follow command:
All versions of chip-modules with dependencies
klein/klein Version 2.1.*
illuminate/database Version 5.4.*
symfony/config Version 3.4.*
philo/laravel-blade Version 3.*
hoa/session Version ~0.0
phpmailer/phpmailer Version ~6.0