sikessem / organizer
Organizer facilitates the import/export of PHP modules from a root directory.
dev-main
2022-02-16 18:02 UTC
Requires
- php: >=8.0
This package is auto-updated.
Last update: 2024-10-13 21:54:09 UTC
README
Organizer facilitates the import/export of PHP modules from a root directory.
Installation
Use Composer to install the library with this command:
composer require organizer/organizer
Or click here to download it directly in ZIP format
Usage
<?php $root = __DIR__; $organizer_root = "$root/vendor/organizer/organizer"; $organizer = require_once "$organizer_root/bootstrap.php"; $organizer->organize($root); // You can use the function organize() if it not exist in your project // Search and require my.module or my.module.php or my/module or my/module.php from $root and $organizer_root $organizer->import('my.module'); // You can use the function import() if it not exist in your project
Requirements
PHP 8 or above (at least 8.0 recommended to avoid potential bugs)
Author
Website | E-mail | LinkedIn | GitLab | GitHub | npm | Composer - Packagist | Twitter
Security Reports
Please send any sensitive issue to report@sikessem.com. Thanks!
License
Organizer is licensed under the Apache 2.0 License - see the LICENSE file for details.
Contribution
For any contribution, please follow these steps:
- Clone the repository with
git clone https://github.com/SIKessEm/Organizer
orgit remote add origin https://github.com/SIKessEm/Organizer
thengit branch -M main
- Create a new branch. Example:
git checkout -b my_contribution
- Make your changes and send them with
git push -u origin main
You will be informed of the rest.