Download the PHP package aldearco/arco-framework without Composer

On this page you can find all versions of the php package aldearco/arco-framework. 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 arco-framework

Arco Framework Icon

Arco Framework

Total Downloads Latest Stable Version License

This framework is inspired by Laravel and in no way wants to compete against Laravel.

Arco Framework has been created within an educational aim following the Mastermind course below:

Create your own Web Framework with PHP

Warnings

This framework is not suitable for production environments and may have several errors. Currently, its development is only used for educational purposes.

Create project

Composer

composer create-project aldearco/arco

Download source code

Latest release:

Unzip and run composer install.

Deployment

Root folder

If you perform the deployment in the root folder, you don't need to add any additional files to the project, but you will need to specify the default public folder name of your server in the file. By default, the public folder is /public, but if you need to change it to /public_html, you can do so in the file ./config/app.php in the key "public".

Shared Hosting

If you're deploying the project on shared hosting within the public or public_html folders, you may need to create certain files, depending on your server system. It is likely that you will need to modify or add some lines with proposed code.

Apache

.htaccess

<IfModule mod_rewrite.c>
RewriteEngine on

# Serve existing files in the /public folder as if they were in the root of the site.
RewriteCond %{DOCUMENT_ROOT}public%{REQUEST_URI} -f
RewriteRule (.+) /public/$1 [L]

# Route requests for /storage/ to the /storage/ directory using the P(passthrough) flag.
RewriteRule ^storage/(.+) /storage/$1 [PT]

# Route everything else to /public/index.php
RewriteRule ^ /public/index.php [L]
</IfModule>

#Disable index view
options -Indexes

<Files .env>
order allow,deny
Deny from all
</Files>

Nginx

mysite.conf

server {
listen 80;
server_name example.com;
root /var/www/example.com;

location / {
    try_files $uri $uri/ /public/index.php;
}

location /public {
    try_files $uri $uri/ /public/index.php;
}

location /storage {
    internal;
}

location ~ \.env$ {
    deny all;
}

location ~ ^/storage/ {
    internal;
}

All versions of arco-framework with dependencies

PHP Build Version
Package Version
Requires vlucas/phpdotenv Version ^5.5
symfony/console Version ^6.2
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 aldearco/arco-framework contains the following files

Loading the files please wait ...