Download the PHP package nicollassilva/simplephp without Composer

On this page you can find all versions of the php package nicollassilva/simplephp. 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 simplephp

# [DESCONTINUED] Simple PHP - Simple and easy CRUD for PHP projects

OBS: This package was replaced by the MinasORM package.

Maintainer Scrutinizer Code Quality PHP from Packagist Latest Version Build Status Code Intelligence Status Total Downloads

Um pequeno projeto CRUD desenvolvido para auxiliar as rotinas diárias e acelerar o processo de comunicação com o banco de dados com segurança e transparência.

A small CRUD project developed to assist daily routines and speed up the process of communicating with the database with security and transparency.

Getting Started

Some precautions and step-by-step instructions for you to download and install the package.

Prerequisites

To be able to use SimplePHP you will need to have:

Installing

SimplePHP can be installed via composer.json or via the command terminal:

or composer.json:

Connection

To configure the connection to the database, you must access: Source\Root\Config.php. Example of the file to be found:

Example of your model

After completing the database configuration, create a folder at the root of the project where your Models will be and create the class.

First use

After all the previous steps, create an index.php at the root of the project giving a require in the composer autoload and in your model class, after that, instantiate your model and you can start using SimplePHP. Below is an example:

Installation Errors

Some mistakes and how to fix them

Fatal error: Uncaught Error: Class 'SimplePHP\Model\SimplePHP' not found

To fix it, execute the following command in the project's root folder:

Documentation

Methods

find

destroy

save (update)

create (insert)

It is also possible by passing a direct array:

Others methods

Errors during Execution

When an error is generated by SimplePHP, it will appear in the directory configured in the folder configuration, the report is generated by the monolog package.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details


All versions of simplephp with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5
ext-pdo Version *
monolog/monolog Version ^2.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 nicollassilva/simplephp contains the following files

Loading the files please wait ....