Download the PHP package php-resta/skeleton without Composer

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

Build Status Total Downloads License

Resta Api Structure

Developing restfull(presentational) api with php has never been so enjoyable.. We are claiming.You will so love this structure. Slogan : If the machine can make itself the code that you write, do not write it. You can contact me if you want to be contributor in the core of the resta.We need you for a better stable core. Resta api offers the ideal structure for your application and gives you great pleasure in writing code.

Developments are still in progress. The documentation section of the code will be available in beta soon. https://github.com/php-resta/skeleton

What are the features of the Resta?

Resta Quick Start

If you want to have a quick start to resta. Just take a look at this short document. You will need to install it first, as with any framework or package. We need a composer installer to install the resta api. If you don't have a composer installer, please composer Check out this link.

How to install the resta?

company_name: The directory to which you will install the resta api is generally a group name that is valid for your company name or projects.Thus, your api projects will be in this general directory.

Your resta skeleton structure is now ready.

You can pass to the home directory of your project using the terminal command.

Create your first project.

Now it's time to create our project.Your project will be created in the src/app directory.Let's create a project named demo with the command below.

If you get a response similar to the following, Oh! Excellent. You now have a new project called demo.

Your project is located in the directory called src/app/Demo. Below you can see the structure of your project.

This project structure is created by default with each project command.You can find out how to customize this structure in documents. Since this section is a quick start, we won't write here what these directory structures do. We'll just show you how to quickly reach your endpoints.

Access your endpoints with the browser.

Now open your browser and enter the above address via localhost or ip. As mentioned earlier, the directory where you create the resta skeleton repository structure will be your company_name name.

Congratulations! You took the first exception output :). Don't worry, you haven't done anything yet.

Create your first controller structure.

Then let's create our first endpoint.Try creating your first controller with the command above.

Great! Your first controller has been successfully created. Now you'll see a controller directory created by looking into the V1 directory. We will not describe the structure in this directory in this section. You will already find detailed information in our documents.

Now open your browser again and change the URL string that you specified with the demo to demo/users and send the request.

This is great! We now have the first http 200 output.By default the system produces you json.You can find in our documentation how to change it. This output is called as endpoint "users" and has a class as UsersController in the "Users" directory.

Did you like it? in that case,continue reading our documents.We want you to have a nice the restfull api. As you read the resta documents, we can say from now that you will say perfect for resta.Because the resta has wonderful amenities.

Security Vulnerabilities

If you discover a security vulnerability within Resta, please send an e-mail to Ali Gürbüz via Ali Gurbuz. All security vulnerabilities will be promptly addressed.

License

The Resta api structure is open-sourced software licensed under the MIT license.


All versions of skeleton with dependencies

PHP Build Version
Package Version
Requires restapix/resta Version dev-master
ext-curl Version *
ext-dom Version *
ext-json Version *
zendframework/zend-crypt Version ^3.3
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 php-resta/skeleton contains the following files

Loading the files please wait ....