Download the PHP package vimac/myspot without Composer

On this page you can find all versions of the php package vimac/myspot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package myspot

MySpot

中文版读我 / Readme in Chinese

PHP from Packagist

| About Me |

A PHP persistence framework based on PDO with sql map support.

Think this as a PHP lightweight alternative implementation of MyBatis.

It should be helpful when you write business database access code in PHP project.

Why?

PHP is my first choice when I decide to build something fast.

But data access code bothers me every time, so I decided to open this project.

Inspired by a simple data access library which is a part of a framework named "IRON", a proprietary library be used by a company named Youzan I worked for once. It's a great company, salute to the engineers in there.

(Sure, no code in this project comes from that "IRON" framework.)

Features

Requirements

Demo Project

See MySpot action in a project:

MySpot-Demo-Application

Installation

Usage

GUI Utility

iCopyPaste Snapshot

You can use iCopyPaste to generate variants of basic queries, configuration template, DAO code template.

Downloads: iCopyPaste Release Page

Initialize

Configuration

Configuration file should be similar to this:

Special Syntax

MySpot implements a syntax parser to compile its special syntax to real PDO prepared statement

SELECT...IN Statement

:variable:

The variable will be consider as a array and compile to (:variableItem0, :variableItem1, :variableItem2, ...)

Conditional Sub Statement

:variable?{ substatement }

The substatment part will only available when variable equals TRUE

SELECT

Normal SELECT query
SELECT..IN query
UPDATE
INSERT
DELETE
Conditional Sub Statement
Fetch result

Tests

License

MIT License

About Me

vifix.cn


All versions of myspot with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-json Version *
ext-pdo Version *
psr/log Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vimac/myspot contains the following files

Loading the files please wait ....