Download the PHP package cekurte/twitter-like without Composer

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

TwitterLike

Build Status Code Climate Coverage Status Latest Stable Version License SensioLabsInsight

Installation

Now, you must create a MySQL database named twitter_like (this name can be changed in your .env file). After, you must type the command on your terminal:

This command will create the entities on your MySQL database.

Running a Web Server

After the steps that you followed to install this application, you must run a web server. So, type the following command on your terminal to create a web server.

Note that this command must be executed on root directory of this web application.

Now you can open your browser and access the application http://localhost:8080/ that looks like with the following screenshot:

TwitterLike

API Documentation

Well, you can see below the HTTP routes where this application will handle your requests.

GET / will load the web application.

GET /api/post will load the posts from database in two format and return the results in two different formats (json or xml).

Or in XML if you send a request with the Accept header with the value text/xml:

POST /api/post will receive a content type as application/json with the following content:

This request will create a resource on your entity Post and will return a response where the content type will be application/json with the following content:

If you liked of this project, give me a star =).

Contributing

  1. Give me a star =)
  2. Fork it
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Make your changes
  5. Run the tests, adding new ones for your own code if necessary (vendor/bin/phpunit)
  6. Commit your changes (git commit -am 'Added some feature')
  7. Push to the branch (git push origin my-new-feature)
  8. Create new Pull Request

All versions of twitter-like with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
silex/silex Version ^1.3
twig/twig Version ^1.20
symfony/twig-bridge Version ^3.0
symfony/validator Version ^3.0
symfony/console Version ^2.8
vlucas/phpdotenv Version ^2.2
jdesrosiers/silex-cors-provider Version ^0.1
jdesrosiers/silex-jms-serializer-provider Version ^0.1
dflydev/doctrine-orm-service-provider Version ~1.0
gedmo/doctrine-extensions Version ^2.4
saxulum/saxulum-validator-provider Version ^1.1
cekurte/environment Version ^0.2
cekurte/resource-manager Version ^0.0
cekurte/silex-manager-provider Version ^0.0
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 cekurte/twitter-like contains the following files

Loading the files please wait ....