Download the PHP package shahajahan/approval-flow without Composer

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

Approval Flow

Packagist Version [PHP Version]() [Build Status]()

A dynamic approval access control system for any PHP framework (Laravel, CodeIgniter, CakePHP, Symfony, or plain PHP). Define and manage multi-level approval roles, with forward/backward flow and permission checks β€” all framework-agnostic.


πŸš€ Features

βœ… Framework-agnostic core βœ… Works with Laravel, CodeIgniter, Symfony, CakePHP, or raw PHP βœ… Dynamic approval hierarchy (forward/backward flow) βœ… Dynamic approval (forward/backward flow) with multiple approval flow on same project βœ… Simple adapter pattern for DB access (PDO, Query Builder, or ORM) βœ… PSR-4 and PSR-12 compliant βœ… Extensible and testable


🧩 Installation

Via Composer

If you’re developing locally, clone the repo and link:


πŸ—ƒοΈ Database Schema

The recommended database schema is defined in database/migrations/2025_10_13_000000_create_approval_tables.php.


βš™οΈ Usage Examples

πŸ”Ή Laravel


πŸ”Ή CodeIgniter (v3 or v4)


πŸ”Ή Symfony


πŸ”Ή CakePHP


πŸ”Ή Plain PHP (PDO)


🧠 Architecture


🧰 Helper Functions


πŸ§ͺ Running Tests

Sample test (tests/ApprovalFlowTest.php) is already included.


🧱 Folder Structure


πŸͺͺ License

This package is open-sourced software licensed under the MIT license.


πŸ‘¨β€πŸ’» Author

Md Shahajahan Ali πŸ“§ [email protected] 🌐 GitHub: @shahajahan


🌟 Contributing

Pull requests are welcome! To contribute:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/your-feature)
  3. Commit changes and push
  4. Submit a Pull Request 🎯

πŸ’‘ Future Enhancements


All versions of approval-flow with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 shahajahan/approval-flow contains the following files

Loading the files please wait ...