Download the PHP package sonypradana/php-library without Composer
On this page you can find all versions of the php package sonypradana/php-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sonypradana/php-library
More information about sonypradana/php-library
Files in sonypradana/php-library
Informations about the package php-library
PHP MVC
Php mvc with minum mvc framework. is simple and easy to use
Note: This repository contains the core code of the php-mvc. If you want to build an application, visit the main php-mvc.
Note: This repository high inspire with
laravel\framework
andsymfony\symfony
.
Feature
- MVC base
- Container (dependency injection)
- Route
- Model (database class relation)
- View and Controller
- MyQuery (database query builder)
- Collection (array collection)
- Console (assembling beutifull console app)
- Template (create class using class generator)
- Cron
- Now (time managing)
- Http request and responese
- Str (string manipulation)
Built in Query Builder
of cource we are support CRUD data base, this a sample
Select data
the result will show data from query, its same with SQL query
🔝 Back to contents
Update data
the result is boolen true if sql success excute quert, its same with SQL query
🔝 Back to contents
Insert and Delete
its supported cancel transation if you needed
Create Database Table
create database table
🔝 Back to contents
Collection
Array collection, handel functional array as chain method
Create New Collection
🔝 Back to contents
Available Methods
add()
remove()
set()
clear()
replace()
each()
map
filter()
sort()
sortDesc()
sortKey()
sortKeyDesc()
sortBy()
sortByDecs()
all()
🔝 Back to contents
Console
Assembling beautifull console app make easy
- naming parameter
- coloring console (text and background)
Build simple console app
Run your app
-
create bootstrapper
- on your console
🔝 Back to contents
Str
Make string manipulation.
chartAt
concat
indexOf
lastIndexOf
match
slice
split
replace
toUpperCase
toLowerCase
firstUpper
firstUpperAll
toSnackCase
toKebabCase
toPascalCase
toCamelCase
contains
startsWith
endsWith
slug
template
length
repeat
isString
isEmpty
fill
fillEnd
limit
Costume macro
costume macro string;
String class
use chain string class.
String Regex
avlilable regex
email
user
plain_text
slug
html_tag
js_inline
password_complex
password_moderate
date_yyyymmdd
date_ddmmyyyy
date_ddmmmyyyy
ip4
ip6
ip4_6
url
🔝 Back to contents
All versions of php-library with dependencies
ext-mbstring Version *
php-di/php-di Version ^7.0
sonypradana/validator Version ^0.8