Download the PHP package mardira/mardira-framework without Composer
On this page you can find all versions of the php package mardira/mardira-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package mardira-framework
Mardira Framework is a PHP framework Model Controller Based for building web applications and APIs. It is designed to be simple, and fast.
Table of Contents
- Requirements
- Structure Folders
- Installation
- Usage
- Start Server
- Create .env
- Create Controller
- Create Model
- Create Route
- Create Migration
- Run Migration
- Refresh Migration
- Refresh Migration With Seed
- Create Seeder
- Run Seeder
- Run Seeder Specific
- Create Authetication
- Refresh Authetication
- Update Framework Version
- Controller
- Model
- Migration
- Seeder
- Middleware
- Route
- Route Group
- Query Builder
- Select
- Where
- Or Where
- Where In
- Where Not In
- Where Null
- Where Not Null
- Order By
- Group By
- Join
- Insert
- Update
- Delete
- Count
Requirements
- PHP = 7.4
- MySQL >= 5.7.8
- Apache >= 2.4.41
- Composer >= 2.0.9
Structure Folders
Installation
Setup
You can create a new project using composer
or you can clone this project
Clone
- Clone this repo to your local machine using `git clone
Then, install the dependencies using composer
or
Usage
Start Server
or
Create .env
You can create .env file using command
Create Controller
Create Model
Create Route
Create Migration
Run Migration
If database not exist, will automatically create database from .env
Refresh Migration
Refresh Migration With Seed
Create Seeder
Run Seeder
Run Seeder Specific
Create Authetication
Refresh Authetication
Update Framework Version
Controller
Create controller use
php mardira make:controller ControllerName
, here is example controllerto use controller, you can add route in
App/Routes/Api.php
Response
You can use response in controller
return json expected
another response example 409
Model
Create model use
php mardira make:model ModelName
, here is example modelto use model, you can add model in
App/Controllers/ControllerName.php
Migration
Create migration use
php mardira make:migration create_table_table_name
, here is example migration
Seeder
Create seeder use
php mardira make:seeder SeederName
, here is example seeder
Middleware
Create middleware use
php mardira make:middleware MiddlewareName
, here is example middlewareto use middleware, you can add middleware in route
Routing
You can add route in
App/Routes/Api.php
Route Group
You can add route group in
App/Routes/Api.php
Query Builder
Select
Where
Or Where
Where In
Where Not In
Where Null
Where Not Null
Order By
Join Table
Group By
Insert
Update
Delete
Count
Support
Reach out to me at one of the following places!
- Website at
demostmikmi.com
All versions of mardira-framework with dependencies
vlucas/phpdotenv Version ^5.5
firebase/php-jwt Version ^6.3
symfony/console Version 2.6.7
doctrine/inflector Version ^2.0