Laravel

Laravel is a free, open-source PHP web application framework for the development of web applications following the model–view–controller (MVC) architectural pattern. Some of the features of Laravel are a modular packaging system with a dedicated dependency manager, different ways for accessing relational databases, utilities that aid in application deployment and maintenance, and its orientation toward syntactic sugar. Laravel is regarded as one of the most popular PHP frameworks.

Share tech news, updates, or what's on your mind.

Sign up to Post

How to get attendance per day of a student in jquery? I have combo box where there are 2 options "full day", "subject wise". On click of subject wise entire teacher data, date time is shown but if its full day then how to write in jquery to get student attendance for the entire day?
0
Cloud Class® Course: MCSA MCSE Windows Server 2012
LVL 12
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Hi Experts

Could you point what is needed in terms of Apache2.x  configurations to runs Laravel apps ?

The examples I had run uses Laravel's internal server
 http://localhost:8000/

Open in new window


And I want to run from Apache.

Thanks in advance!
0
Laravel Development Trends
0
I've been asked to submit a code sample using JQuery and Laravel. It's done and I'm getting ready to zip things up to hand to the administrator but I've got a question.

When I go to zip up the entire Laravel project, the "vendor" and the "node_modules" folders are enormous.

The exercise itself is pretty simple. I think I could get the point across with a couple of blades and the controller. Still, I want them to see the entire site, so here's my question:

Do those who work in Laravel typically expect those two directories? Is there a more streamlined approach to sharing the code to a Laravel site or do you have to box up the whole thing?

Basic question, I know, but it's worth asking if there's a more expeditious way to do things.
0
using laravel 5.6 only( latest version)Creating a webpage with a form that has the following text input fields: Product name, Quantity in stock, Price per item. The submitted data of the form should be saved in an XML / JSON file with valid XML / JSON syntax. Underneath of the form, the web page should display all of the data which has been submitted in rows ordered by date time submitted, the order of the data columns should be: Product name, Quantity in stock, Price per item, Datetime submitted, Total value number. The "Total value number" should be calculated as (Quantity in stock * Price per item). The last row should how a sum total of all of the Total Value numbers. Solution requirements: Use Php / Html / Javascript / Css. Use Twitter Bootstrap. The form should be submitting the data and updating the data being displayed on the page using Ajax. Thanks in advance.
0
can I deploy laravel project without need to install composer into godaddy ?!!
I can't access through SSH , is their another way to work with that .

I start to learn laravel, and in my local machine work fine, I try to deploy at godaddy, most of tutorial need ssh to remotely access and install composer as far as my understanding, and type command line codes to sort things out .

Found a tutorial at youtube allowed me to work laravel without composer, which worked but I couldn't make 404 page work , neither other viewer pages.


working link : http://stchrisapp.com/youtube/
not working 404 page as should be : http://stchrisapp.com/youtube/404   ' it keep show standard godaddy 404 page :( , even if i create other page do same .

I am deploy from windows to Linux server
0
Here are the codes I have written to submit my shopping cart details to paypal.


        private $_api_context;

	public function __construct(){
             $paypal_conf = Config::get('paypal');		
             $this->_api_context = new ApiContext(new OAuthTokenCredential($paypal_conf['client_id'], $paypal_conf['secret']));
             $this->_api_context->setConfig($paypal_conf['settings']); //the problem is here
        }


       //PayPal
        $payer = new Payer();
        $payer->setPaymentMethod('paypal');


        //PayPal
       $items = new ItemList();
       $items->setItems(array(
	     'name'=>$v['name'],
	     'currency'=>'USD',
	     'quantity'=>$v['quantity'],
	     'price'=>$v['price'] * $v['quantity']
       ));


       //PayPal
      $amount = new Amount();
      $amount->setCurrency('USD')
	->setTotal($ship[0]['total_grand']);
				
      $transaction = new Transaction();
      $transaction->setAmount(2.55)
	->setItemList($items)
	->setDescription('Your transaction description');
										
      $redirect_urls = new RedirectUrls();
										
      $payment = new Payment();
      $payment->setIntent('Sale')
			->setPayer($payer)
			->setTransactions(array($transaction));
								
       Log::info($payment);
							
	try {
		$payment->create($this->_api_context);
	}catch (\PayPal\Exception\PPConnectionException $ex){
		Log::info($e->getMessage());
		Log::info($e->getData());
	}catch (Exception $ex) {
		die($ex);
	}
							
	$approvalUrl = 

Open in new window

0
I want to display message with ajax  :
but i have this error in the console :
Cannot use 'in' operator to search for 'length' in L'email ou le mot de passe est incorrect.

Function Ajax
<script type="text/javascript">
   $(document).ready(function() {
        $(".login-btn").click(function(e){
             e.preventDefault();


            var _token = $("input[name='_token']").val();
            var email = $("input[name='email']").val();
            var password = $("input[name='password']").val();


            $.ajax({
                url: "/login",
                type:'POST',
                cache: false,
                data: {_token:_token,email:email, password:password},
                dataType: "json",
                success: function(data) {
                    if($.isEmptyObject(data.error)){
                        window.location = 'home';
                    }else{
                        // $(".print-error-msg").find("ul").html('');
                        // $(".print-error-msg").css('display','block');
                        // $.each( data, function( key, value ) {
                        //     $(".print-error-msg").find("ul").append('<li>'+data.error+'</li>+');
                        // });
                        printErrorMsg (data.error);

                    }
                },
                error: function(response){
                    $(".print-error-msg").find("ul").html('');
                    

Open in new window

0
We are currently running a laravel 5.3 site using php 5.6 and would like to use caffeine for those users who insist on leaving forms open  on their devices for extended periods of time.
Unfortunately, it seems that the only version of caffeine I can find to install requires php 7.0, which we will not be prepared to upgrade to for some time.
Does anyone have a workaround?
Thanks!
0
We need a website for offering jobs and recruitment just like this one https://www.bayt.com
there are different ways to do that. we can develop our own frame work for it or we can use open source for the backend and maybe tamplates for the front end.
I want you to analyse this project requirements .
Please help me to find the requirements for this project.
0
ErrorException in Macroable.php line 74:
Method appends does not exist. (View: C:\xampp\htdocs\elasticsearch\resources\views\presult.blade.php) (View: C:\xampp\htdocs\elasticsearch\resources\views\presult.blade.php)

foreach($books as $key => $value)

            <article class="one-third">
              <figure><a href="#" title=""><img src="{{ $value['photo_url'] }}" alt="" style="height: 215px!important;" /></a></figure>

              <div class="details">
           
                <h3>{{ $value['name'] }}
                  <span class="stars">{{ $value['class'] }} 
                    <i class="material-icons">&#xE838;</i>
                    <i class="material-icons">&#xE838;</i>
                    <i class="material-icons">&#xE838;</i>
                    <i class="material-icons">&#xE838;</i>
                  </span>
                </h3>
                <span class="address">{{ $value['city_hotel'] }},{{ $value['address'] }}  <a href="hotel?query={{ $value['name'] }}">Show on map</a></span>
                <span class="rating">{{ $value['preferred'] }}</span>
                <span class="price">Max rate  <em>$ {{ $value['maxrate'] }}</em> </span>
                <span class="price">Min rate  <em>$ {{ $value['minrate'] }}</em> </span>
                <div class="description">
                  <p>{{ $value['desc_en'] }}<a href="hotel.html">More info</a></p>
                </div>   
                <a href="{{ $value['hotel_url'] }}" 

Open in new window

0

Laravel

Laravel is a free, open-source PHP web application framework for the development of web applications following the model–view–controller (MVC) architectural pattern. Some of the features of Laravel are a modular packaging system with a dedicated dependency manager, different ways for accessing relational databases, utilities that aid in application deployment and maintenance, and its orientation toward syntactic sugar. Laravel is regarded as one of the most popular PHP frameworks.

Top Experts In
Laravel
<
Monthly
>