Download the PHP package caffeinated/path without Composer

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

This package has been abandoned and is no longer maintained.

Caffeinated Path

Laravel 5.2 Source License

Note: This was originally part of the Caffeinated/Path package. I've extracted it out into it's own package.

Caffeinated Path allows the means to easily customize the default structure of your Laravel 5 application. This means you can take the default Laravel framework structure:

And configure it into something like:

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.

Quick Installation

Begin by installing the package through Composer.

Once this operation is complete, simply add the service provider class to your project's config/app.php file:

Service Provider


Instantiate Caffeinated Path Application

First off, you'll need to use the Caffeinated Path Application instance in place of Laravel's Illuminate Foundation Application. Simply replace it within the bootstrap/app.php file like so:

The Caffeinated Path Application extends the Illuminate Foundation Application and adds the ability to customize the directories via the provided path config file.

Now you may configure any of the base paths as you like! Though do note, that some paths require a little more setup than others:

Read on to find out how to configure these paths, or use the above links to jump directly to any section.


Setting a Custom Config Path

If you'd like to move your config directory, provide the path as the second parameter when creating a new instance of the Caffeinated Path Application:

Changing The Bootstrap Path

Caffeinated Path does not provide the means to change your bootstrap directory path, because it's a simply edit you need to make within the three following files (don't worry, it's nothing complicated):

Step 1: Updating public/index.php

First off, you'll be wanting to change the following two require paths within your public/index.php file:

Step 2: Updating bootstrap/app.php

Secondly, open your bootstrap/app.php file and update the relevant path to your application base:

Step 3: Updating bootstrap/autoload.php

Lastly, open your bootstrap/autoload.php file and update both the Composer autoload and compiled class paths:

That should be it! Simply fire up your app to verify.


All versions of path with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/support Version 5.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 caffeinated/path contains the following files

Loading the files please wait ....