Download the PHP package pionia/pionia-app without Composer

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

πŸš€Pionia FrameworkπŸš€

Pionia Framework is a PHP framework for building RESTFUL APIs. It is a lightweight framework that is easy to use and easy to understand.

It runs on top of ✨ Moonlight ✨ architecture.

Creating a project

Please remember to replace project_name with your project name

Directory

  1. πŸ“‚ authentication:- This is where authentication backends should reside. These are the strategies that the app will use to authenticate users to the app context.
  2. πŸ“‚ middlewares:- This is where all request middlewares reside. These are the classes that run on every request and every response.
  3. πŸ“‚ services:- This is where our actual business logic resides.
  4. πŸ“‚ commands:- This is where all our commandline commands reside.
  5. πŸ“‚ environment:- This is where all our environment settings reside.
  6. πŸ“‚ storage:- This is where all our storage files reside.
  7. πŸ“‚ static:- This is where all our static files reside. Default files found here should never be deleted.
  8. πŸ“‚ vendor:- This is where all our composer dependencies reside.
  9. πŸ“„ .gitignore:- This is where we specify files that should not be tracked by git.
  10. πŸ“„ composer.json:- This is where we specify all our composer dependencies.
  11. πŸ“„ composer.lock:- This is where we specify all our composer dependencies.
  12. πŸ“„ pionia:- This is our commandline helper. For every command, we call this file.
  13. πŸ“‚ public:- This is where our public files reside. This is where our entry file resides.
  14. πŸ“„ switches:- This is where our main app switch resides. This is where we register all our services.
  15. πŸ“„ pionia:- This is our commandline helper. For every command, we call this file.
  16. πŸ“„ README.md:- This is our documentation file. This is where we document our project.
  17. πŸ“‚ bootstrap:- This is where our application bootstrapping files reside. This is where we register all our routes.

After installation, just run the following to start the server

By default, the server will run on port 8000, to change that, run the following

Your endpoint is now running on http://localhost:8080/api/v1/

Official Documentation

You can follow along the documentation but its under active development.

Go to documentation here

You can also run to get a list of all available commands.

If you're making any http requests from your frontend, we recommend using the jet-fetch library. However, other framework-specific packages are still okay like the z-fetch for z-js and axios.

In the root of your project, run :-

NPM

YARN

Then use the moonlightRequest method of the package to query any moonlight-powered backend.

For details about jet-fetch, follow the readme guide provided here.

Contributions

All forms of contributions are welcome from documentation, coding, community development and many more.

πŸ”₯πŸ”₯πŸ”₯ Goodluck, and happy coding πŸ”₯πŸ”₯πŸ”₯


All versions of pionia-app with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-pdo Version *
pionia/pionia-core Version ^2.0
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 pionia/pionia-app contains the following files

Loading the files please wait ....