A complete platform for building web applications.
Compress and prepare the application to upload to ErtikazOS store.
This command require a my-app-name.json
file to be existed in application/packages/
to prepare the package.
php creator pack
This is a real example how package json file look like
{
"name": "AddressBook",
"description": "Create and manage groups and contact.",
"version": "1.0.0",
"keywords": "address, contact, group",
"authors": [
{
"name": "Daif Alotaibi",
"email": "daif@daif.net",
"homepage": "http://daif.net",
"role": "Developer"
}
],
"require" : {
"ertikazos": "1.0.0",
"php": "7.0"
},
"price": 0.00,
"currency": "SAR",
"license": "GPL-3.0+",
"files": [
"application/controllers/AddressBook/routes.php",
"application/controllers/AddressBook/Contact.php",
"application/controllers/AddressBook/Group.php",
"application/views/addressbook/contact/create.php",
"application/views/addressbook/contact/edit.php",
"application/views/addressbook/contact/list.php",
"application/views/addressbook/contact/show.php",
"application/views/addressbook/group/create.php",
"application/views/addressbook/group/edit.php",
"application/views/addressbook/group/list.php",
"application/views/addressbook/group/show.php",
"application/models/AddressBook/Contact_model.php",
"application/models/AddressBook/Group_model.php",
"application/migrations/20160901000001_addressbook.php",
"application/migrations/seeds/20160901000001_addressbook.php",
"application/language/english/addressbook_lang.php",
"application/language/english/global_addressbook_lang.php",
"application/language/arabic/addressbook_lang.php",
"application/language/arabic/global_addressbook_lang.php"
]
}
pack command look for any image in application/packages/
with the same name of application name.
for example if we try to pack AddressBook
application it look for application/packages/AddressBook.png
image .
php creator pack my-app-name
it will generate new compress file inside application/packages/
directory.