Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 96 | All time: 9,858 This week: 50 |
Version | License | PHP version | Categories | |||
alo 1.0.0 | MIT/X Consortium ... | 7 | Tools, Files and Folders, PHP 7 |
Description | Author | |
This package can combine multiple files in single output file. |
#!/bin/php |
Project goal is to combine multiple PHP files into a single file ?, to increase performance ? and ease of use ???.
Projenin amac?, performans? ? ve kullan?m kolayl???n? art?rmak ??? için birden çok PHP dosyas?n? tek bir dosyada ? birle?tirmektir.
Tested on Windows 10 with PHP 8.0.1 - Composer - PHP ^8.0
Firstly clone this repo,
git clone https://github.com/isaeken/alo.git && cd alo
And install dependencies.
composer install
Example command:
php bin/alo.php your/project/directory your_index_file.php output_file.php
The command structure:
/bin/php bin/alo.php <Directory of your project> <The main file of your project. Example: index.php> <Output file path> [--watch=true|false] [--help]
--help : Display help message.
--watch=true : Automatically compile enable project on file changes.
`
|- template
| `- header.php
| `- footer.php
|- index.php
`
|- output.php
The MIT License (MIT)
Copyright 2021 ?sa Eken
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Files (26) |
File | Role | Description | ||
---|---|---|---|---|
bin (2 files) | ||||
src (5 files, 1 directory) | ||||
tests (2 files, 2 directories) | ||||
composer.json | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (26) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Exceptions (2 files) | ||||
Alo.php | Class | Class source | ||
Cli.php | Class | Class source | ||
Helpers.php | Class | Class source | ||
Merger.php | Class | Class source | ||
Watcher.php | Class | Class source |
Files (26) | / | src | / | Exceptions |
File | Role | Description |
---|---|---|
DirectoryNotFoundException.php | Class | Class source |
FileNotFoundException.php | Class | Class source |
Files (26) | / | tests |
File | Role | Description | ||
---|---|---|---|---|
example_project (2 files, 2 directories) | ||||
tests (6 files) | ||||
CliTest.php | Class | Class source | ||
CompileTest.php | Class | Class source |
Files (26) | / | tests | / | example_project |
File | Role | Description | ||
---|---|---|---|---|
assets (1 file) | ||||
template (3 files) | ||||
compiled.php | Aux. | Auxiliary script | ||
index.php | Aux. | Auxiliary script |
Files (26) | / | tests | / | example_project | / | template |
File | Role | Description |
---|---|---|
footer.php | Aux. | Auxiliary script |
header.php | Aux. | Auxiliary script |
home.php | Aux. | Auxiliary script |
Files (26) | / | tests | / | tests |
File | Role | Description |
---|---|---|
custom.php | Aux. | Auxiliary script |
include.php | Aux. | Auxiliary script |
include_once.php | Aux. | Auxiliary script |
lorem.txt | Doc. | Documentation |
require.php | Aux. | Auxiliary script |
require_once.php | Aux. | Auxiliary script |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.