Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sikessem/module
📦️ PHP Module Manager. Allows you to organize PHP scripts into modules that can be used from import/export statements.
https://github.com/sikessem/module
import-export library-manager module module-manager organizer package package-manager php sikessem
Last synced: about 1 month ago
JSON representation
📦️ PHP Module Manager. Allows you to organize PHP scripts into modules that can be used from import/export statements.
- Host: GitHub
- URL: https://github.com/sikessem/module
- Owner: sikessem
- License: apache-2.0
- Created: 2021-06-27T06:57:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T18:03:34.000Z (almost 3 years ago)
- Last Synced: 2024-04-22T16:28:59.428Z (8 months ago)
- Topics: import-export, library-manager, module, module-manager, organizer, package, package-manager, php, sikessem
- Language: PHP
- Homepage: https://packagist.org/packages/sikessem/module
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Library Manager for PHP
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 ](https://github.com/SIKessEm/Organizer/archive/refs/heads/main.zip)## Usage
```php
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](https://about.sikessem.com) | [E-mail](mailto:[email protected]) | [LinkedIn](https://linkedin.com/in/SIKessEm) | [GitLab](https://gitlab.com/SIKessEm) | [GitHub](https://github.com/SIKessEm) | [npm](https://npmjs.org/~sikessem) | [Composer - Packagist](https://packagist.org/users/SIKessEm) | [Twitter](https://twitter.com/Ske_SIKessEm)## Security Reports
Please send any sensitive issue to [[email protected]](mailto:[email protected]). Thanks!## License
Organizer is licensed under the Apache 2.0 License - see the [LICENSE](./LICENSE) file for details.## Contribution
For any contribution, please follow these steps:
1. Clone the repository with `git clone https://github.com/SIKessEm/Organizer` or `git remote add origin https://github.com/SIKessEm/Organizer` then `git branch -M main`
2. Create a new branch. Example: `git checkout -b my_contribution`
3. Make your changes and send them with `git push -u origin main`
You will be informed of the rest.