Download the PHP package khomsiadam/stacksync without Composer

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

Software License Latest Version

Introduction

StackSync is a simple, lightweight and native fullstack PHP mini-framework.

It is not a fully fledged framework and does not have all the complex features and the level of polish of other frameworks that are built by communities of professionals, therefore it is not suitable for big commercial projects or for other compagnies to use.

But it can still create powerful applications, and is more destined to be used by beginners and other developpers for personal projects.

Designed to be easy of use while having a strong foundation of the web stack of PHP, MySQL, HTML, JavaScript and CSS (or SASS/SCSS).

Requires basic knowledge of APIs, JSON, Object Oriented Programming.

The code is heavily commented and provides some examples and explanations, for a more detailed rundown, make sure to read through the documentation that covers every aspect of the mini-framework and get started.

Table of Contents

Setup

Installation

Composer is required.

StackSync is available as a composer package, you can create a new StackSync project by running the command below in your terminal while defining the targeted folder:

Alternatively, you can download or clone the repository, then open the project and run the following command in your terminal:

This installs the dependencies for php-jwt and phpdotenv which are the only required packages.

Back to top

Configuration

After creating your database, in your root directory, you will find a .env.example file. Copy and rename to .env and start filling in your database informations:

Opening your terminal, navigating to your project folder:

Then running this command:

Will run PHP's built in development server on your local machine and browsing to http://localhost:8080 will show a welcome homepage.

Back to top

Directory Structure

For a more detailed view on the directory structure be sure to check it's section in the documentation as it also provides some basic insights.

Back to top

Advanced

This section dives deepers and covers all the important aspects and features.

API: The mini-framework's custom API system and the Middleware.

Controllers & Models: How controllers and models are setup.

Routing: Routing configuration for both Web routes and API endpoints.

Views: Views are managed with a Components Views System.

Migrations: A simple migrations system.

Seeding: Seed pre-defined data to your tables.

Back to top

Commands

With the help of composer, there are a multiple of useful custom commands to execute in your terminal.

*The :8080 is the default port but it can be modified in composer.json.

*Any created seeder can be added in app/seeders/DatabaseSeeder.php and/or have a custom script added for it under the scripts section in composer.json to be run individually.

Back to top

Contributions

Contributions are welcome. To discuss any bugs, problems, fixes or improvements please refer to the discussions section.

Before creating a pull request, make sure to open an issue first.

Committing your changes, fixes or improvements in a new branch with documentation will be appreciated.

Back to top


All versions of stacksync with dependencies

PHP Build Version
Package Version
Requires firebase/php-jwt Version ^5.3
vlucas/phpdotenv Version ^5.3
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 khomsiadam/stacksync contains the following files

Loading the files please wait ....