https://github.com/eazy-english/catoolin
The MicroFramework , which had been created by catz
https://github.com/eazy-english/catoolin
cat micro-framework php php-micro-framework
Last synced: 25 days ago
JSON representation
The MicroFramework , which had been created by catz
- Host: GitHub
- URL: https://github.com/eazy-english/catoolin
- Owner: eazy-english
- Created: 2017-05-27T12:05:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T17:36:58.000Z (almost 8 years ago)
- Last Synced: 2025-12-14T11:53:34.995Z (5 months ago)
- Topics: cat, micro-framework, php, php-micro-framework
- Language: PHP
- Homepage:
- Size: 2.32 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CATOOLIN v.1.0.5 ALPHA :smiley_cat:
## What's New???
* Fixing bugs in [Router class](https://github.com/eazy-english/catoolin/blob/master/lib/router.php)
## CLI Catoolin (Console Interface)
[Here it is](https://github.com/eazy-english/catoo)
## Get started:
`git clone https://github.com/eazy-english/catoolin`
## Or better install with composer
`composer create-project eazy-english/catoolin`
### Take a look to [database.php file](https://github.com/eazy-english/catoolin/blob/master/lib/database.php)
```PHP
# Including connect to DB
$this->connect("YOUR_HOST", "YOUR_USER", "YOUR_PASSWORD", "YOUR_DB", "YOUR_DB_CHARSET");
```
#### First set up databases, *YourHost*, *Username*, *Password*, *Database name* and *charset* we recommend utf8
## How to work with *Connect* class?
**That's pretty simple, there are *JS Libraries* and *CSS Libraries*. With this class you can easily connect libraries without googling it**
*Here we connect JS Library **"JQuery"**.*
```PHP
$connect->connect("jquery");
```
*But why with* `$connect` *var? Check out [index.php file](https://github.com/eazy-english/catoolin/blob/master/index.php) there is such string:*
```PHP
$connect = Fabric::get("Connect");
```
**It means that we successfully did create Object of Connect class, and that we can work with, with** `$connect` **var**
With *connect* method you can only connect **JS Libraries**, and with *link* you can connect **CSS Libraries**.
*Example*:
```PHP
$connect->connect("vuejs"); # This will connect Vue JS, the JS Library
$connect->link("bootstrap"); # This will connect Bootstrap, CSS Library
```
*Here are JS Libraries*:
* `vuejs` -> Vue JS
* `jquery` -> JQuery
* `videojs` -> Video JS
* `bootstrap` -> Bootstrap Library
* `mui` -> Material UI
* `lessjs` -> LESS JS
* `metroui` -> Metro UI
*And here are CSS Libraries*:
* `bootstrap` -> Bootstrap Library
* `videojs` -> Video JS
* `mui` -> Material UI
* `metroui` -> Metro UI
## API?
**With *CATOOLIN* you can also work with such API as *Pinterest*, *Youtube Video Parser*, but we try to add *APIs* of another services**
*But you without problems can use our parsers to work with **API**.*
### EXPECT UPDATES!
### GOOD LUCK WITH *CATOOLIN*